Permanently protected template

Difference between revisions of "Template:Forum/header"

From Yugipedia
Jump to: navigation, search
(try it without the <nowiki/> then)
({{{index}}} should not be used on non-forum index pages, so check for it)
Line 59: Line 59:
 
   }}{{
 
   }}{{
 
     #if: {{{index|}}}{{{demo|}}}
 
     #if: {{{index|}}}{{{demo|}}}
     | <!-- forum index or demo; no further parameter checking necessary -->
+
     | {{<!-- forum index or demo; a little more parameter checking for indexes -->
 +
      #if: {{{index|}}}
 +
      | {{
 +
        #switch: {{PAGENAME}}
 +
        | Help desk                          | General Yu-Gi-Oh! Discussion
 +
        | Yu-Gi-Oh! Wiki Community Discussion | Yu-Gi-Oh! Deck Help
 +
        | Yu-Gi-Oh! Ruling Queries            | Yu-Gi-Oh! Lists Discussion
 +
        | Duel Terminal                      | Weekly Deck Competition
 +
        | Yu-Gi-Oh! Wiki Discussion          = <!-- valid value -->
 +
        | #default                            = [[Category:Forumheader transclusions to be checked|X]]<!-- "index" used on a non-index page -->
 +
      }}
 +
    }}
 
     | {{
 
     | {{
 
       #switch: {{{1|¬}}}
 
       #switch: {{{1|¬}}}

Revision as of 03:41, 28 March 2011