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.}} | ||
}}[[Category:Pages with incorrectly substituted templates]] | }}[[Category:Pages with incorrectly substituted templates]] | ||
}}{{#ifeq:{{{small}}}|left | }}{{#ifeq:{{{small}}}|left | ||
Line 36: | Line 36: | ||
}} | }} | ||
}} | }} | ||
}}{{ | }}{{Category handler | ||
|main={{ | |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|}}} | ||
}} | }} | ||
|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 --> | ||
}} | }} | ||
}}<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> |