Template:Div col: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Edokter
Prevent unwanted   injection via unnamed parameters
meta>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 13:54, 22 December 2014