Permanently protected template

Difference between revisions of "Template:Navigation"

From Yugipedia
Jump to: navigation, search
(disable empty {{{name}}} check - it's catching everything for some reason)
(found the problem (first {{PAGENAME}} had an extra opening bracket), but this method is more foolproof anyways; add check for nothing but {{Navigation}} used on page (hope it works!))
Line 49: Line 49:
 
     | <!-- card page exists -->
 
     | <!-- card page exists -->
 
     | [[Category:Navigation transclusions to be checked|N]]<!-- card page doesn't exist -->
 
     | [[Category:Navigation transclusions to be checked|N]]<!-- card page doesn't exist -->
   }}<!--{{
+
   }}{{
     #ifeq: {{{name|{{{PAGENAME}}}}} | {{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }}
+
     #ifeq: {{{name|¬}}} | ¬
    | < !-- {{{name}}} not used or not empty -- >
+
    | <!-- {{{name}}} not used -->
    | [[Category:Navigation transclusions to be checked|P]]< !-- {{{name}}} used but empty -- >
+
    | {{
   }}-->
+
      #if: {{{name|}}}
 +
      | <!-- {{{name}}} not empty -->
 +
      | [[Category:Navigation transclusions to be checked|P]]<!-- {{{name}}} used but empty -->
 +
    }}
 +
   }}{{
 +
    #ifeq: {{{{FULLPAGENAME}} | {{Navigation}}<!-- naive check for a card info page with nothing but {{Navigation}} -->
 +
    | [[Category:Navigation transclusions to be checked|E]]
 +
  }}
 
   | #default<!-- everything else -->    = [[Category:Navigation transclusions to be checked|S]]
 
   | #default<!-- everything else -->    = [[Category:Navigation transclusions to be checked|S]]
 
}}
 
}}

Revision as of 04:06, 7 May 2010

Navigation

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


Template A-Z