Permanently protected template

Difference between revisions of "Template:Navigation"

From Yugipedia
Jump to: navigation, search
(Simplify. Hopefully, this works.)
(the Other(2) tracking categories weren't applying correctly; also track lowercase variants of the parameters)
Line 87: Line 87:
 
     }}
 
     }}
 
   }}}}{{ #if: {{{name|¬}}} || [[Category:Navigation transclusions to be checked|P]]<!-- {{{name}}} used but empty -->
 
   }}}}{{ #if: {{{name|¬}}} || [[Category:Navigation transclusions to be checked|P]]<!-- {{{name}}} used but empty -->
 +
  }}{{ #if: {{{Other|}}}{{{other|}}} | [[Category:((Navigation)) transclusions with "other" parameter]]
 +
  }}{{ #if: {{{Other2|}}}{{{other2|}}} | [[Category:((Navigation)) transclusions with "Other2" parameter]]
 
   }}
 
   }}
 
   | #default<!-- everything else -->    = {{ #switch: {{FULLPAGENAME}}
 
   | #default<!-- everything else -->    = {{ #switch: {{FULLPAGENAME}}
 
     | Template:Navigation          | Template:Navigation/doc  | Template:Navigation/sandbox
 
     | Template:Navigation          | Template:Navigation/doc  | Template:Navigation/sandbox
 
     | Template:Navigation/testcases | Template:Navigation2      | Template:Navigation3 = <!-- no maintenance cats for Template:Navigation et al -->
 
     | Template:Navigation/testcases | Template:Navigation2      | Template:Navigation3 = <!-- no maintenance cats for Template:Navigation et al -->
     | #default                      = [[Category:Navigation transclusions to be checked|S{{FULLPAGENAME}}]]{{ #if: {{{Other|}}}
+
     | #default                      = [[Category:Navigation transclusions to be checked|S{{FULLPAGENAME}}]]
      | [[Category:((Navigation)) transclusions with "other" parameter]] }}{{ #if: {{{Other2|}}}
 
      | [[Category:((Navigation)) transclusions with "Other2" parameter]]
 
    }}
 
 
   }}
 
   }}
 
}}{{ #if: {{{demo|}}}{{{demo_ns|}}} | [[Category:Navigation demonstrations]]<!-- demo cat -->
 
}}{{ #if: {{{demo|}}}{{{demo_ns|}}} | [[Category:Navigation demonstrations]]<!-- demo cat -->

Revision as of 16:35, 12 April 2017