Template:Ambox: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Rich Farmbrough
Override defaultsorts when categorising amboxes
meta>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

Template:Ambox/coreTemplate:Cat handler