Template:Div col: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(format + fix)
(add unnamed {{{2}}} parameter for colwidth, for shorthand use ({{div col||10em}} rather than {{div col|colwidth=10em}}) / move unnamed parameters to inside the named ones, to make reading easier)
Line 1: Line 1:
<includeonly><div class="<!--
<includeonly><div class="<!--
-->{{#if: {{{colwidth|}}}
-->{{#if: {{{colwidth|{{{2|}}}}}}
| column-width
| column-width
| column-count column-count-{{{1|{{{cols|2}}}}}} }}" style="<!--
| column-count column-count-{{{cols|{{{1|2}}}}}} }}" style="<!--
-->{{#if: {{{colwidth|}}}
-->{{#if: {{{colwidth|{{{2|}}}}}}
| {{column-width|{{{colwidth}}}}}
| {{column-width|{{{colwidth|{{{2}}}}}}}}
| {{column-count|{{{1|{{{cols|2}}}}}}}} }} <!--
| {{column-count|{{{cols|{{{1|2}}}}}}}} }} <!--
-->{{#if: {{{rules|}}}
-->{{#if: {{{rules|}}}
| {{#ifeq:{{{rules}}}|yes
| {{#ifeq:{{{rules}}}|yes

Revision as of 13:24, October 1, 2011