Difference between revisions of "Template:Forum/header"

From Yugipedia
Jump to: navigation, search
(add support for {{Forum}} and {{{index}}} - separating forum index designation from {{{1}}} will allow for cleaner logic once the forum indices are switched over to {{Forum}})
(fix)
Line 15: Line 15:
 
   #if: {{{sticky|}}} | [[Category:Sticky threads|{{PAGENAME}}]]
 
   #if: {{{sticky|}}} | [[Category:Sticky threads|{{PAGENAME}}]]
 
}}</includeonly>{{
 
}}</includeonly>{{
   #switch: {{#titleparts:{{FULLPAGENAME}}|1|1}} | Template:Forumheader | Template:Forum
+
   #switch: {{#titleparts:{{FULLPAGENAME}}|1|1}}
  | <!-- no maintenance cats for Template:Forumheader or any subtemplates, though we are going to do a bit else here -->{{
+
  | Template:Forumheader
 +
  | Template:Forum = <!-- no maintenance cats for Template:Forumheader, Template:Forum, or any subtemplates, though we are going to do a bit else here -->{{
 
     #switch: {{PAGENAME}}
 
     #switch: {{PAGENAME}}
 
     | Forumheader  | Forumheader/doc  | Forumheader/sandbox  | Forumheader/testcases | Forum =  
 
     | Forumheader  | Forumheader/doc  | Forumheader/sandbox  | Forumheader/testcases | Forum =  

Revision as of 07:19, 13 August 2010