Template:Stub category
This category is for stub articles relating to {{{article}}}. You can help by expanding them. |
Contents
Usage[edit]
{{Stub category
|article= |newstub= |category= |category type= |WikiProject= |message= }}
For example:
{{Stub category |article=Military Commands |newstub=Military-stub |category=Military Commands |category type= |WikiProject=Military Commands |message= }}
will show:
This category is for stub articles relating to Military Commands. You can help by expanding them. Please see BattleTechWiki:WikiProject Military Commands. To add an article to this category, use {{Military-stub}} instead of {{stub}} . |
The |category type=
parameter inserts additional text between the phrases "This category is for" and "stub articles relating to ...", so using |category type=biographical
will give "This category is for biographical stub articles relating to ...".
Optional parameters[edit]
|WikiProject=
links to a relevant WikiProject page. For example:|message=
adds a message displayed below the main output of the template, but above the table of contents (TOC) which will be automatically generated by {{CatAutoTOC}} if the category contains enough pages. This ensures that the message doesn't get tangled up in the TOC.
Tracking categories[edit]
Certain cases of incorrect usage are tracked:
- the
|newstub=
parameter is blank or absent; - the
|category=
parameter is blank or absent.
See Category:Stub categories needing attention (population: 4)
Usage of the {{{message}}}
parameter is also tracked.
See Category:Stub categories with message parameter (population: 0)
Fixing P-type categories[edit]
These are categories that lack a 'primary category' that is not a stub category. To fix this, add the primary category to the "category" parameter in the template; this will place the category into the newly specified parent category and remove the category from the "P" subsection in the "Stub categories needing attention" category. Simply adding the new category to the existing list of categories will properly categorize the category, but it will not remove the category from the "attention" category.