Template:Ambox: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Plastikspork
m (link)
meta>Killiondude
(from /sandbox per edit request)
Line 1: Line 1:
{{#ifeq:{{{subst}}}|SUBST
{{#ifeq:{{{subst}}}|SUBST
  |{{#if:{{{name|}}}
  |{{#if:{{{name|}}}
   |{{error|Template {{tlx|{{{name}}}}} has been incorrectly substituted.}}
   |{{Error|Template {{Tlx|{{{name}}}}} has been incorrectly substituted.}}
  }}[[Category:Pages with incorrectly substituted templates]]
  }}[[Category:Pages with incorrectly substituted templates]]
}}{{#ifeq:{{{small}}}|left
}}{{#ifeq:{{{small}}}|left
Line 36: Line 36:
   }}
   }}
  }}
  }}
}}{{category handler
}}{{Category handler
  |main={{ambox/category
  |main={{Ambox/category
   |cat={{{cat|{{{category|}}}}}}  
   |cat={{{cat|{{{category|}}}}}}  
  |all={{{all|}}}
  |cat2={{{cat2|{{{category2|}}}}}}
  |all2={{{all2|}}}
  |cat3={{{cat3|{{{category3|}}}}}}
  |all3={{{all3|}}}
   |date={{{date|}}}
   |date={{{date|}}}
  |all={{{all|}}}
  }}
  }}
  |template={{#ifeq:{{BASEPAGENAME}}|{{SUBPAGENAME}}|<!--We are on a rootpage, not a /doc or /sandbox page-->{{#ifeq:{{{nocat|}}}|true
  |template={{#ifeq:{{BASEPAGENAME}}|{{SUBPAGENAME}}|<!--We are on a rootpage, not a /doc or /sandbox page-->{{#ifeq:{{{nocat|}}}|true
Line 49: Line 53:
}}{{#ifeq:{{FULLPAGENAME}}|Template:{{PAGENAME:{{{name}}}}}
}}{{#ifeq:{{FULLPAGENAME}}|Template:{{PAGENAME:{{{name}}}}}
  |{{#ifeq:{{{doc}}}|no|
  |{{#ifeq:{{{doc}}}|no|
   |{{documentation}}<!-- Transclude documentation on template page -->
   |{{Documentation}}<!-- Transclude documentation on template page -->
  }}
  }}
}}<noinclude>
}}<noinclude>
{{Documentation}}
{{Documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
</noinclude>

Revision as of 08:40, 30 December 2011

Template:Ambox/core