Template:Div col: Difference between revisions

From Frontierpedia, the Microsoft Agent encyclopedia
en>Edokter
(Add style parameter)
en>Waldyrious
(Now both Chrome and Firefox give precedence to colcount: when both are set, colwidth acts as min-col-width. Updating to reflect this. Detailed changes will be posted to talk page.)
Line 1: Line 1:
<includeonly><div class="{{#if:{{{colwidth|}}}|column-width|column-count column-count-{{{1|{{{cols|2}}}}}}}}" style="{{#if:{{{colwidth|}}}|{{column-width|{{{colwidth}}}}}|{{column-count|{{{1|{{{cols|2}}}}}}}}}} {{#if:{{{rules|}}}|{{#ifeq:{{{rules}}}|yes|{{column-rule}}|{{column-rule|{{{rules}}}}}}}}} {{#ifeq:{{lc:{{{small|}}}}}|yes|font-size:90%;}} {{if||{{{style|}}}| {{{style}}}}}"></includeonly><noinclude>
<includeonly><div class="{{#if:{{{cols|{{{1|}}}}}}|column-count column-count-{{{cols|{{{1}}}}}}}} {{#if:{{{colwidth|{{{2|}}}}}}|column-width}}" style="{{#if:{{{colwidth|{{{2|}}}}}}|{{column-width|{{{colwidth|{{{2|{{#if:{{{cols|{{{1|}}}}}}||10em}}}}}}}}}}}} {{#if:{{{cols|{{{1|}}}}}}|{{column-count|{{{cols|{{{1|{{#if:{{{colwidth|{{{2|}}}}}}||2}}}}}}}}}}}} {{#ifeq:{{lc:{{{small|}}}}}|yes|font-size:90%;}}"></includeonly><noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Revision as of 02:06, 1 October 2011