Template:Div col: Difference between revisions

From Frontierpedia, the Microsoft Agent encyclopedia
en>Waldyrious
(allow both column-with and column-count to be set simultaneously (In this case, column-count works as the maximum number of columns))
en>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 22:24, 29 December 2010