Difference between revisions of "Template:ArticleCategory"
m |
m (debug) |
||
Line 1: | Line 1: | ||
− | <includeonly>{{#if:{{{1|}}}|{{#ifeq:{{NAMESPACENUMBER}}|0|{{#if:{{{2|}}}|[[ | + | <includeonly>{{#if:{{{1|}}}|{{#ifeq:{{NAMESPACENUMBER}}|0|{{#if:{{{2|}}}|[[Category:{{{1|}}}|{{{2|}}}]]|[[Category:{{{1|}}}]]}}}}}}</includeonly><noinclude>{{doc |
|content=This template is used in other templates to insert a category that is valid only in the (primary) namespace (i.e. the template generates a category only in the (primary) namespace), | |content=This template is used in other templates to insert a category that is valid only in the (primary) namespace (i.e. the template generates a category only in the (primary) namespace), | ||
the category name is specified with parameter | the category name is specified with parameter | ||
}}</noinclude> | }}</noinclude> | ||
<noinclude>[[Classification: Secondary Template]]</noinclude> | <noinclude>[[Classification: Secondary Template]]</noinclude> |
Revision as of 00:59, 30 August 2021
Template Documentation [Edit]
This is an in-line documentation.
This template is used in other templates to insert a category that is valid only in the (primary) namespace (i.e. the template generates a category only in the (primary) namespace), the category name is specified with parameter