Template:Div col: Difference between revisions

From Random Island Wiki
Jump to navigation Jump to search
>Edokter
(Prevent unwanted   injection via unnamed parameters)
>Edokter
(Improve rules logic)
Line 6: Line 6:
     | {{column-width|{{{colwidth|{{#if:1|{{{2}}}}}}}}}}
     | {{column-width|{{{colwidth|{{#if:1|{{{2}}}}}}}}}}
     | {{column-count|{{{cols|{{#if:1|{{{1|2}}}}}}}}}} }} <!--
     | {{column-count|{{{cols|{{#if:1|{{{1|2}}}}}}}}}} }} <!--
  -->{{#if: {{{rules|}}}
  -->{{#switch: {{{rules|}}}
     | {{#ifeq:{{{rules}}}|yes
     | = <!--empty-->
      | {{column-rule}}
    | yes = {{column-rule}}
      | {{column-rule|{{{rules}}}}} }} }} <!--
    | {{Column-rule|{{{rules}}}}} }} <!--
  -->{{#ifeq: {{{small|}}}|yes
  -->{{#ifeq: {{{small|}}}|yes
     | font-size:90%; }} <!--
     | font-size:90%; }} <!--

Revision as of 08:54, 22 December 2014