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:
<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}}
</noinclude>

Revision as of 15:55, April 10, 2011