Template:Categ
This template creates a link and adds the page to the appropriate subcategory of Category:INI_Flags.
Usage
This is intented to be used with Template:Flag to link to certain pages, while adding the flags categories as well. It is not meant to be used as a shortcut for writing out a link to a category page.
Certain titles of subcategories of Category:INI_Flags exclude the terminating "s" that is present in the corresponding article's page. For example, the title of Warheads contains a terminating "s", while Category:Warhead_Flags does not. Although Warheads
would function correctly, this template automatically accounts for the terminating "s" if Warheads
were used instead.1
Examples
{{Categ|InfantryTypes}}
This code yields InfantryTypes and includes the page in Category:InfantryTypes_Flags.
{{Categ|InfantryTypes|infantry}}
This code yields infantry and includes the page in Category:InfantryTypes_Flags.
Notes
1 ↑ This template is automagically delicious.