Template:Div col: Difference between revisions

From Random Island Wiki
Jump to navigation Jump to search
>Edokter
(format + fix)
>Waldyrious
(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 08:24, 1 October 2011