Template:Div col: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>TheDJ
remove the default value for colwidth, because it breaks current assumptions. make it possible to specify both colwidth and cols
meta>TheDJ
add mutual exclusive defaults.
Line 1: Line 1:
<includeonly><div style="{{#if:{{{2|{{{colwidth|}}}}}}|{{column-width|{{{2|{{{colwidth}}}}}}}}}} {{column-count|{{{1|{{{cols|2}}}}}}}} {{#ifeq:{{lc:{{{small|}}}}}|yes|font-size:90%;}}"></includeonly><noinclude>
<includeonly><div style="{{#if:{{{2|{{{colwidth|}}}}}}|{{column-width|{{{2|{{{colwidth|{{#if:{{{1|{{{cols|}}}}}}||10em}}}}}}}}}}}} {{column-count|{{{1|{{{cols|{{#if:{{{2|{{{colwidth|}}}}}}||2}}}}}}}}}} {{#ifeq:{{lc:{{{small|}}}}}|yes|font-size:90%;}}"></includeonly><noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Revision as of 13:02, 1 January 2011