Template:Reflist: Difference between revisions

    From Nonbinary Wiki
    m>TheDJ
    (finish deprecation of fixed number of columns. Add automatic responsive columns)
    m>TheDJ
    (ensure whitespace stripping)
    Line 5: Line 5:
      -->{{#if: {{{1|}}}
      -->{{#if: {{{1|}}}
         | {{#iferror: {{#ifexpr: {{{1|1}}} > 1 }}
         | {{#iferror: {{#ifexpr: {{{1|1}}} > 1 }}
           | {{column-width|{{{1}}}}}
           | {{column-width|1={{{1}}}}}
           | {{#switch:{{{1|}}}|1=|2={{column-width|30em}}|#default={{column-width|25em}}}} }}
           | {{#switch:{{{1|}}}|1=|2={{column-width|1=30em}}|#default={{column-width|1=25em}}}} }}
         | {{#if: {{{colwidth|}}}
         | {{#if: {{{colwidth|}}}
           | {{column-width|{{{colwidth}}}}} }} }} list-style-type: <!--
           | {{column-width|1={{{colwidth}}}}} }} }} list-style-type: <!--
      -->{{{liststyle|{{#switch: {{{group|}}}
      -->{{{liststyle|{{#switch: {{{group|}}}
         | upper-alpha
         | upper-alpha

    Revision as of 13:25, 9 July 2017

    Template documentation[create]