Difference between revisions of "Template:Ambox"

From AIE Wiki
Jump to: navigation, search
(Override defaultsorts when categorising amboxes)
(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

Template:Cat handler
50px Template documentation[view] [edit] [history] [purge]

This is the {{Ambox}} or Article message box meta-template.

Type preview

See also

50px Message box templates {{ambox}}{{asbox}}{{cmbox}}{{dmbox}}{{fmbox}}{{imbox}}{{ombox}}{{tmbox}}

Other pages:


Language: English