Difference between revisions of "Template:Subcategory"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (!sort key definition; *more specific category;)
m (*replace 'Parameter Row' and 'ParameterRow' by 'Parameter row';)
Line 3: Line 3:
 
== Parameters ==
 
== Parameters ==
 
{{Parameter Table|name=number|parameters=
 
{{Parameter Table|name=number|parameters=
{{Parameter Row|1|Subcategory name suffix}}
+
{{Parameter row|1|Subcategory name suffix}}
{{Parameter Row|2|Number of [[mw:Help:Extension:ParserFunctions#.23titleparts|title parts]] which are used for the category name.|-1}}
+
{{Parameter row|2|Number of [[mw:Help:Extension:ParserFunctions#.23titleparts|title parts]] which are used for the category name.|-1}}
 
}}
 
}}
  

Revision as of 21:02, 26 November 2014

Adds the article to a category which begins with the name of article and is sorted with the rest of the name.

Parameters

Template:Parameter Table

Examples

For example in Template:Infobox/Part/ISP this would add it to Category:Infobox/Part {{{1}}} with the sortkey ISP.

Currently only negative values for the second parameter are supported.