Permanently protected template

Difference between revisions of "Template:Navigation"

From Yugipedia
Jump to: navigation, search
m (Protected "Template:Navigation": High risk template ([edit=autoconfirmed] (indefinite) [move=sysop] (indefinite)))
(tweak categorization, check for more issues)
Line 32: Line 32:
 
}}
 
}}
 
|}<includeonly>{{
 
|}<includeonly>{{
   #if: {{{nocat|}}}
+
   #switch: {{NAMESPACE}}
  | <!-- nothing --> | {{
+
  | {{NS:100}}<!-- Card Gallery    -->
    #switch: {{NAMESPACE}}
+
  | {{NS:102}}<!-- Card Rulings    -->
    | {{NS:100}}<!-- Card Gallery    -->
+
  | {{NS:104}}<!-- Card Errata      -->
    | {{NS:102}}<!-- Card Rulings    -->
+
  | {{NS:106}}<!-- Card Tips        -->
    | {{NS:104}}<!-- Card Errata      -->
+
  | {{NS:108}}<!-- Card Trivia      -->
    | {{NS:106}}<!-- Card Tips        -->
+
  | {{NS:112}}<!-- Card Appearances -->
    | {{NS:108}}<!-- Card Trivia      -->
+
  | {{NS:116}}<!-- Card Lores      -->
    | {{NS:112}}<!-- Card Appearances -->
+
  | {{NS:118}}<!-- Card Artworks    -->
    | {{NS:116}}<!-- Card Lores      -->
+
  | {{NS:120}}<!-- Card Names      --> = {{
    | {{NS:118}}<!-- Card Artworks    -->
+
    #if: {{{nocat|}}}
    | {{NS:120}}<!-- Card Names      --> = [[Category:{{NAMESPACE}}|{{PAGENAME}}]]
+
    | <!-- suppress content categories -->
     | #default                            = [[Category:Navigation transclusions to be checked]]<!-- everything else -->
+
    | [[Category:{{NAMESPACE}}|{{PAGENAME}}]]
 +
  }}<!-- maintenance cats - these should not be suppressed -->{{
 +
    #ifexist: {{PAGENAME}}
 +
    | <!-- card page exists -->
 +
    | [[Category:Navigation transclusions to be checked]]<!-- card page doesn't exist -->
 +
  }}{{
 +
     #ifeq: {{{name|{{{PAGENAME}}}}} | {{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }}
 +
    | <!-- {{{name}}} not used or not empty -->
 +
    | [[Category:Navigation transclusions to be checked]]<!-- {{{name}}} used but empty -->
 
   }}
 
   }}
}}</includeonly><noinclude>
+
  | #default<!-- everything else -->    = [[Category:Navigation transclusions to be checked]]
 +
}}
 +
</includeonly><noinclude>
  
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 16:50, 2 May 2010

Navigation

Gallery - Rulings - Errata - Tips - Appearances - Trivia
Names - Lores - Artworks


Template A-Z