Template:Div col: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(Add style parameter)
(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, October 1, 2011