Difference between revisions of "Template:ArticleCategory"

From Moegirlpedia
Jump to: navigation, search
m
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#if:{{{1|}}}|{{#ifeq:{{NAMESPACENUMBER}}|0|{{#if:{{{2|}}}|[[分类:{{{1|}}}|{{{2|}}}]]|[[分类:{{{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 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 (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  
 
[[Classification: Secondary Template]]
 
 
}}</noinclude>
 
}}</noinclude>
 +
<noinclude>[[Category:Auxiliary templates]]</noinclude>

Latest revision as of 02:22, 31 August 2021

Template-info.svg Template Documentation  [Edit]

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.