Permanently protected template

Difference between revisions of "Template:Card info links"

From Yugipedia
Jump to: navigation, search
(nothing uses the display overriding, and at this point I don't think anything should, so just axe it all)
(aah wait, Skill Cards are already covered under the OCG/TCG stuff; this is for DL Skills specifically)
 
(3 intermediate revisions by 2 users not shown)
Line 15: Line 15:
 
     | token | counter                                            = Gallery, Rulings, Errata, Artworks, Tips, Trivia, Appearances
 
     | token | counter                                            = Gallery, Rulings, Errata, Artworks, Tips, Trivia, Appearances
 
     | tip | strategy | faq | character | illustration | non-game = Gallery, Trivia
 
     | tip | strategy | faq | character | illustration | non-game = Gallery, Trivia
     | skill                                                      = Errata, Trivia, Appearances
+
     | skill                                                      = Errata, Tips, Trivia, Appearances
 
     | #default                                                  = {{ #arrayprint: @cil-pages }}
 
     | #default                                                  = {{ #arrayprint: @cil-pages }}
 
   }}
 
   }}
Line 36: Line 36:
 
}}{{ #arrayintersect: @cil-display | @cil-pages | @cil-display <!-- ensure that @cil-display keeps the canonical link order -->
 
}}{{ #arrayintersect: @cil-display | @cil-pages | @cil-display <!-- ensure that @cil-display keeps the canonical link order -->
 
}}{{ #ifexpr: {{ #arraysize: @cil-display }} > 0 <!-- output nothing if no links are to be displayed -->
 
}}{{ #ifexpr: {{ #arraysize: @cil-display }} > 0 <!-- output nothing if no links are to be displayed -->
   | {{ #if: {{{wrapper|}}} || <div class="hlist" style="text-align: center;"> }}{{ #arrayprint: @cil-display || $link | &#32;
+
   | <div class="hlist" style="text-align: center;">{{ #arrayprint: @cil-display || $link | &#32;
 
* {{Related page link| {{ #var: $cil-ns-$link }} | {{ #var: $cil-link }} | label = $link }}
 
* {{Related page link| {{ #var: $cil-ns-$link }} | {{ #var: $cil-link }} | label = $link }}
 
}}
 
}}
{{ #if: {{{wrapper|}}} || </div> }}
+
</div>
 
}}<noinclude>
 
}}<noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 00:39, 7 August 2023