Difference between revisions of "Template:ArticleCategory"
m (debug) |
|||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{{1|}}}|{{#ifeq:{{NAMESPACENUMBER}}|0|{{#if:{{{2|}}}|[[Category:{{{1|}}}|{{{2|}}}]]|[[Category:{{{1|}}}]]}}}}}}</includeonly><noinclude>{{doc | <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 | + | |content=This template is used in other templates to insert a category that is valid only in (Main) namespace (i.e. the template generates a category only in (Main) namespace), the category name is specified with the parameter <code>1</code>. |
− | the category name is specified with parameter | ||
}}</noinclude> | }}</noinclude> | ||
− | <noinclude>[[ | + | <noinclude>[[Category:Auxiliary templates]]</noinclude> |
Latest revision as of 02:22, 31 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 (Main) namespace (i.e. the template generates a category only in (Main) namespace), the category name is specified with the parameter 1
.