Template:Div col: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Waldyrious
allow both column-with and column-count to be set simultaneously (In this case, column-count works as the maximum number of columns)
meta>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