Template:Template-category: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{ #ifeq:{{NAMESPACE}} | Template | [[Category:{{{1|}}}{{#if:{{{nopostfix|}}}|| templates}} {{#if:{{{2}}}|{{!}}{{{2|}}}|}} ]] | }}</includeonly><noinclude> | <includeonly>{{ #ifeq:{{NAMESPACE}} | Template | [[Category:{{{1|}}}{{#if:{{{nopostfix|}}}|| templates}} {{#if:{{{2}}}|{{!}}{{{2|{{PAGENAME}}}}}|}} ]] | }}</includeonly><noinclude> | ||
Parameters: | Parameters: | ||
Line 5: | Line 5: | ||
* 2 (optional): Name under which to add the template to the category | * 2 (optional): Name under which to add the template to the category | ||
* nopostfix ( | * nopostfix (optional): If present, suppresses the " templates" postfix | ||
</noinclude> | </noinclude> |
Latest revision as of 08:16, 7 August 2020
Parameters:
- 1: Category to add template to
- 2 (optional): Name under which to add the template to the category
- nopostfix (optional): If present, suppresses the " templates" postfix