Template:Main

From DominionStrategy Wiki
(Difference between revisions)
Jump to: navigation, search
(Creating a "Main article" template for use on articles where sections have corresponding articles)
 
(Trying a different version)
Line 1: Line 1:
<div style="font-style:italic;">
+
''Main article{{qif
:Main article<span class="hiddenStructure{{{2|}}}">s</span>: [[{{{1}}}]]<span class="hiddenStructure{{{3|}}}">, </span><span class="hiddenStructure{{{2{{{3|}}}|}}}">and</span><span class="hiddenStructure{{{2|}}}"> [[{{{2}}}]]</span><span class="hiddenStructure{{{3|}}}">, </span><span class="hiddenStructure{{{3{{{4|}}}|}}}">and</span><span class="hiddenStructure{{{3|}}}"> [[{{{3}}}]]</span><span class="hiddenStructure{{{4|}}}">, </span><span class="hiddenStructure{{{4{{{5|}}}|}}}">and</span><span class="hiddenStructure{{{4|}}}"> [[{{{4}}}]]</span><span class="hiddenStructure{{{5|}}}">, and [[{{{5}}}]]</span></div>
+
|test={{{2|}}}|then=s}}: {{qif
 +
  |test={{{1|}}}
 +
  |then=[[{{{1}}}]]
 +
}}{{qif
 +
  |test={{{2|}}}
 +
  |then={{qif|test={{{3|}}}|then=,&nbsp;|else=&nbsp;&amp;&nbsp;}}[[{{{2}}}]]
 +
}}{{qif
 +
  |test={{{3|}}}
 +
  |then={{qif|test={{{4|}}}|then=,&nbsp;|else=&nbsp;&amp;&nbsp;}}[[{{{3}}}]]
 +
}}{{qif
 +
  |test={{{4|}}}
 +
  |then={{qif|test={{{5|}}}|then=,&nbsp;|else=&nbsp;&amp;&nbsp;}}[[{{{4}}}]]
 +
}}{{qif
 +
  |test={{{5|}}}
 +
  |then=&nbsp;&amp;&nbsp;[[{{{5}}}]]
 +
}}''

Revision as of 20:29, 6 July 2016

Main articleTemplate:Qif: Template:QifTemplate:QifTemplate:QifTemplate:QifTemplate:Qif

Personal tools
Namespaces

Variants
Views
Actions
Navigation
Toolbox