Template:Div col: Difference between revisions

From Random Island Wiki
Jump to navigation Jump to search
>Edokter
(Results in colcount taking presedence in Chrome, while colwidth taking presedence in Firefox. Not safe.)
>Edokter
(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>

Revision as of 10:55, 10 April 2011