Template:Ambox: Difference between revisions

From BitProjects
Jump to navigation Jump to search
Infobox>Rich Farmbrough
Override defaultsorts when categorising amboxes
Infobox>Plastikspork
Add nocat option like template:tmbox
Line 42: Line 42:
   |all={{{all|}}}
   |all={{{all|}}}
  }}
  }}
  |template={{#ifeq:{{BASEPAGENAME}}|{{SUBPAGENAME}}|[[Category:Article message boxes|{{BASEPAGENAME}}]]}}
  |template={{#ifeq:{{BASEPAGENAME}}|{{SUBPAGENAME}}|<!--We are on a rootpage, not a /doc or /sandbox page-->{{#ifeq:{{{nocat|}}}|true
    | <!--Don't categorise-->
    | [[Category:Article message boxes|{{BASEPAGENAME}}]]
    }}
  }}
}}{{#ifeq:{{FULLPAGENAME}}|Template:{{PAGENAME:{{{name}}}}}
}}{{#ifeq:{{FULLPAGENAME}}|Template:{{PAGENAME:{{{name}}}}}
  |{{#ifeq:{{{doc}}}|no|
  |{{#ifeq:{{{doc}}}|no|

Revision as of 04:47, 16 September 2011