Template:Counterparts: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
didn't work, trying to fix
(making it so that, by default, the first counterpart uses the same link as {{{name}}} and the display text "The Doctor's universe" as, more often than not, this is what will be desired.)
(didn't work, trying to fix)
Line 3: Line 3:
         <navigation><center style="font-weight:500"><!--loops through all numbered arguments: {{{1}}}, {{{2}}}, etc-->{{#fornumargs: num <!--the number of the argument for the current iteration-->
         <navigation><center style="font-weight:500"><!--loops through all numbered arguments: {{{1}}}, {{{2}}}, etc-->{{#fornumargs: num <!--the number of the argument for the current iteration-->
  | value <!--the value of the argument-->
  | value <!--the value of the argument-->
  |{{#ifeq:{{#var:num}}|1|[[{{{1|{{{name|}}}}}}|{{{d{{#var:num}}|The Doctor's universe}}}]]|<nowiki/> • [[{{#var:value}}|{{{d{{#var:num}}|{{gd|{{#var:value}}}}}}}]]}}
  |{{#ifeq:{{#var:num}}|1|[[{{#var:value|{{{name|}}}}}}|{{{d{{#var:num}}|The Doctor's universe}}}]]|<nowiki/> • [[{{#var:value}}|{{{d{{#var:num}}|{{gd|{{#var:value}}}}}}}]]}}
}}</center></navigation></infobox><noinclude>{{Documentation}}[[Category:Parallel counterpart infoboxes| ]]</noinclude>
}}</center></navigation></infobox><noinclude>{{Documentation}}[[Category:Parallel counterpart infoboxes| ]]</noinclude>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.