Template:Div col: Difference between revisions

From Video Credit Archive

Content deleted Content added
imported>Waldyrious
allow both column-with and column-count to be set simultaneously (In this case, column-count works as the maximum number of columns)
imported>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>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.