Difference between revisions of "Template:Forum/header"

From Yugipedia
Jump to: navigation, search
(__NONEWSECTIONLINK__ takes care of this.)
(a bit more cleanup/tweakage)
Line 9: Line 9:
 
     #if: {{{index|}}}
 
     #if: {{{index|}}}
 
     || {{
 
     || {{
       #switch: {{{1}}}
+
       #ifeq: {{{1}}} | Yu-Gi-Oh! Wiki Discussion
      | Yu-Gi-Oh! Wiki Discussion = [[Forum:General Yu-Gi-Oh! Discussion|General Yu-Gi-Oh! Discussion]] '''''→'''''
+
      | [[Forum:General Yu-Gi-Oh! Discussion|General Yu-Gi-Oh! Discussion]]
       | [[Forum:{{{1}}}|{{{1}}}]] '''''→'''''
+
       | [[Forum:{{{1}}}|{{{1}}}]]
    }}
+
    }} '''''→'''''
 
   }} {{PAGENAME}}{{
 
   }} {{PAGENAME}}{{
 
     #if: {{{2|}}}
 
     #if: {{{2|}}}
 
     | <br />[[Forum:Index|Index]] '''''→''''' [[Forum:{{{2}}}|{{{2}}}]] '''''→''''' {{PAGENAME}}
 
     | <br />[[Forum:Index|Index]] '''''→''''' [[Forum:{{{2}}}|{{{2}}}]] '''''→''''' {{PAGENAME}}
 
   }}
 
   }}
}}<includeonly>{{<!-- topic cats -->
+
}}<includeonly>[[Category:{{<!-- topic cats -->
 
   #if: {{{index|}}}
 
   #if: {{{index|}}}
   | [[Category:Forums|{{PAGENAME}}]]
+
   | Forums
 
   | {{
 
   | {{
     #switch: {{{1}}}
+
     #ifeq: {{{1}}} | Yu-Gi-Oh! Wiki Discussion
    | Yu-Gi-Oh! Wiki Discussion = [[Category:General Yu-Gi-Oh! Discussion|{{PAGENAME}}]]
+
    | General Yu-Gi-Oh! Discussion
     | [[Category:{{{1}}}|{{PAGENAME}}]]
+
     | {{{1}}}
 
   }}
 
   }}
}}{{
+
}}|{{PAGENAME}}]]{{
 
   #if: {{{2|}}} | [[Category:{{{2}}}|{{PAGENAME}}]]
 
   #if: {{{2|}}} | [[Category:{{{2}}}|{{PAGENAME}}]]
 
}}{{
 
}}{{

Revision as of 20:31, 28 February 2011