Template:Subcategory/doc

From Kerbal Space Program Wiki
< Template:Subcategory
Revision as of 02:33, 26 January 2020 by Rocketdocker (talk | contribs) (Created page.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Purpose

This template adds the article to a category which begins with the name of the article and is sorted with the rest of the name.

Usage

# Optional Description Default
1 No Subcategory name suffix
2 Yes Number of title parts which are used for the category name. -1

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.
https://wiki.kerbalspaceprogram.com/index.php?title=Template:Subcategory/doc&oldid=96984&printable=yes
wiki.kerbalspaceprogram.com
crawl=CC-MAIN-2022-49
18278
application/http; msgtype=response
sha1:ICPQWNN5U5QVKU7HUWQR47E72U57QM6T
<urn:uuid:6a2e0549-d3e6-44b0-8f6c-5cd46335c0cb>
2022-11-30T08:05:54Z
172.64.145.244
text/html
sha1:5DTXRZ7SY43VHS65GTQLTODQFS3EWKHP
<urn:uuid:095131a2-9d9b-4e38-9e1b-8c482bf7cafe>
https://wiki.kerbalspaceprogram.com/index.php?title=Template:Subcategory/doc&oldid=96984&printable=yes
response
<urn:uuid:c44cf623-6e46-4220-917c-cdaf12a14188>
isPartOf: CC-MAIN-2022-49
publisher: Common Crawl
description: Wide crawl of the web for November/December 2022
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-67-67-199
software: Apache Nutch 1.19 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 1.4-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: https://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/