Difference between revisions of "Template:ArticleCategory"
(Created page with "<includeonly>{{#if:{{{1|}}}|{{#ifeq:{{NAMESPACENUMBER}}|0|{{#if:{{{2|}}}|[[分类:{{{1|}}}|{{{2|}}}]]|[[分类:{{{1|}}}]]}}}}}}</includeonly><noinclude>{{doc |content=This tem...") |
|||
(3 intermediate revisions by 2 users not shown) | |||
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 | + | |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 1. | ||
}}</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
.