Template:Div col: Difference between revisions

From Random Island Wiki
Jump to navigation Jump to search
>Waldyrious
(allow both column-with and column-count to be set simultaneously (In this case, column-count works as the maximum number of columns))
>Waldyrious
(simplify/add default colwidth)
Line 1: Line 1:
<includeonly><div style="{{#if:{{{colwidth|}}}|{{column-width|{{{colwidth}}}}}}}{{#if:{{{cols|{{{1|}}}}}}|{{column-count|{{{1|{{{cols|2}}}}}}}}}} {{#ifeq:{{lc:{{{small|}}}}}|yes|font-size:90%;}}"></includeonly><noinclude>
<includeonly><div style="{{column-width| {{{colwidth|10em}}} }} {{column-count| {{{1| {{{cols|2}}} }}} }} {{#ifeq:{{lc:{{{small|}}}}}|yes|font-size:90%;}}"></includeonly><noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Revision as of 17:24, 29 December 2010