Difference between revisions of "Template:Forum/header"

From Yugipedia
Jump to: navigation, search
(This part needs to be false.)
(Avoid categories and uncalled for archive notice in demonstrations.)
Line 17: Line 17:
 
     | <br />[[Forum:Index|Index]] '''''→''''' [[Forum:{{{2}}}|{{{2}}}]] '''''→''''' {{PAGENAME}}
 
     | <br />[[Forum:Index|Index]] '''''→''''' [[Forum:{{{2}}}|{{{2}}}]] '''''→''''' {{PAGENAME}}
 
   }}
 
   }}
}}<includeonly>[[Category:{{<!-- topic cats -->
+
}}<includeonly>{{<!-- topic cats -->
   #if: {{{index|}}}
+
   #if: {{{demo|}}}
   | Forums
+
   | <!-- No categories for demonstration usage -->
   | {{
+
   | [[Category:{{
     #ifeq: {{{1}}} | Yu-Gi-Oh! Wiki Discussion
+
    #if: {{{index|}}}
    | General Yu-Gi-Oh! Discussion
+
     | Forums
     | {{{1}}}
+
    | {{
 +
      #ifeq: {{{1}}} | Yu-Gi-Oh! Wiki Discussion
 +
      | General Yu-Gi-Oh! Discussion
 +
      | {{{1}}}
 +
     }}
 +
  }}|{{PAGENAME}}]]{{
 +
    #if: {{{2|}}} | [[Category:{{{2}}}|{{PAGENAME}}]]
 +
  }}{{
 +
    #if: {{{sticky|}}} | [[Category:Sticky threads|{{PAGENAME}}]]
 
   }}
 
   }}
}}|{{PAGENAME}}]]{{
 
  #if: {{{2|}}} | [[Category:{{{2}}}|{{PAGENAME}}]]
 
}}{{
 
  #if: {{{sticky|}}} | [[Category:Sticky threads|{{PAGENAME}}]]
 
 
}}</includeonly>{{
 
}}</includeonly>{{
 
   #ifeq: {{ #titleparts: {{FULLPAGENAME}} | 1 | 1 }} | Template:Forum
 
   #ifeq: {{ #titleparts: {{FULLPAGENAME}} | 1 | 1 }} | Template:Forum
Line 44: Line 48:
 
     }}</div><!-- page is not in the Forum: namespace -->
 
     }}</div><!-- page is not in the Forum: namespace -->
 
   }}{{
 
   }}{{
     #if: {{{index|}}}{{{sticky|}}} <!-- no necro check on forum index pages and sticky threads -->
+
     #if: {{{index|}}}{{{sticky|}}}{{ #if:{{{demo|}}}|{{ #ifeq:{{{demo}}}|archive||x }} }} <!-- no necro check on forum indexes, sticky threads and unspecified demonstrations -->
 
     | | {{ <!-- stop necrobumping on threads unedited for 40+ days -->
 
     | | {{ <!-- stop necrobumping on threads unedited for 40+ days -->
 
       #ifexpr: {{ #time: U }} - {{ #time: U | {{REVISIONTIMESTAMP}} }} > 3456000
 
       #ifexpr: {{ #time: U }} - {{ #time: U | {{REVISIONTIMESTAMP}} }} > 3456000
Line 57: Line 61:
 
     | [[Category:Forumheader transclusions to be checked|P]]<!-- see if {{{3}}}-{{{5}}} are used anywhere and if so how -->
 
     | [[Category:Forumheader transclusions to be checked|P]]<!-- see if {{{3}}}-{{{5}}} are used anywhere and if so how -->
 
   }}{{
 
   }}{{
     #if: {{{index|}}}
+
     #if: {{{index|}}}{{{demo|}}}
     | <!-- forum index page; no further parameter checking necessary -->
+
     | <!-- forum index or demonstration page; no further parameter checking necessary -->
 
     | {{
 
     | {{
 
       #switch: {{{1|¬}}}
 
       #switch: {{{1|¬}}}

Revision as of 22:39, 28 February 2011