Template:Stub category/doc
Appearance
| This is a documentation subpage for Template:Stub category. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
[edit source]{{Stub category
|article=
|newstub=
|category=
|category type=
|WikiProject=
}}
For example:
{{Stub category
|article=[[Asia]]n [[association football]] biographies
|newstub=Asia-footy-bio-stub
|category=Football (soccer) players by nationality
}}
will show:
| This category is for stub articles relating to Asian association football biographies. You can help by expanding them. To add an article to this category, use {{Asia-footy-bio-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 ...".
There is also an optional parameter |WikiProject= which links to a relevant WikiProject page. For example:
{{Stub category
|article=the [[Commonwealth of Massachusetts]]
|newstub=Massachusetts-stub
|category=Massachusetts
|category type=biographical
|WikiProject=Massachusetts
}}
will show:
| This category is for biographical stub articles relating to the Commonwealth of Massachusetts. You can help by expanding them. Please see Wikipedia:WikiProject Massachusetts. To add an article to this category, use {{Massachusetts-stub}} instead of {{stub}}. |
Missing parameters
[edit source]Certain cases of incorrect usage are tracked via Category:Stub categories needing attention. These are:
- the
|newstub=parameter is blank or absent; - the
|category=parameter is blank or absent.