Difference between revisions of "Template:ArticleCategory"

From Moegirlpedia
Jump to: navigation, search
m
m (debug)
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 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-info.svg Template Documentation  [Edit]

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

Classification: Secondary Template