Difference between revisions of "Template:Forum/header"

From Yugipedia
Jump to: navigation, search
(Avoid categories and uncalled for archive notice in demonstrations.)
(Moved the move notice to its own template.)
Line 43: Line 43:
 
     #ifeq: {{NAMESPACE}} | {{NS:110}}
 
     #ifeq: {{NAMESPACE}} | {{NS:110}}
 
     | <!-- page is in the Forum: namespace -->
 
     | <!-- page is in the Forum: namespace -->
     | [[Category:Forumheader transclusions to be checked|N]]<div class="sysop-show" style="display: none;">{{Ombox
+
     | [[Category:Forumheader transclusions to be checked|N]]<div class="sysop-show" style="display: none;">{{Forum/header/move notice}}</div><!-- page is not in the Forum: namespace -->
      | type = move
 
      | text = '''Administrators:''' This page is in the wrong namespace. [{{fullurl:Special:MovePage/{{FULLPAGENAMEE}}|wpNewTitle=Forum:{{PAGENAMEE}}&wpReason=move+to+forum&wpLeaveRedirect=0}} Move to the Forum: namespace], and then [{{fullurl:{{FULLPAGENAMEE}}|action=edit}} null edit] the page to remove it from the [[:Category:Forumheader transclusions to be checked|maintenance category]].
 
    }}</div><!-- page is not in the Forum: namespace -->
 
 
   }}{{
 
   }}{{
 
     #if: {{{index|}}}{{{sticky|}}}{{ #if:{{{demo|}}}|{{ #ifeq:{{{demo}}}|archive||x }} }} <!-- no necro check on forum indexes, sticky threads and unspecified demonstrations -->
 
     #if: {{{index|}}}{{{sticky|}}}{{ #if:{{{demo|}}}|{{ #ifeq:{{{demo}}}|archive||x }} }} <!-- no necro check on forum indexes, sticky threads and unspecified demonstrations -->

Revision as of 22:56, 28 February 2011