Template:Div col: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(Results in colcount taking presedence in Chrome, while colwidth taking presedence in Firefox. Not safe.)
(Add class. Add support for rules.)
Line 1: Line 1:
<includeonly><div style="{{#if:{{{colwidth|}}}|{{column-width|{{{colwidth}}}}}|{{column-count|{{{1|{{{cols|2}}}}}}}}}} {{#ifeq:{{lc:{{{small|}}}}}|yes|font-size:90%;}}"></includeonly><noinclude>
<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%;}}"></includeonly><noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>