Template:Parent-only stub category

From Hârn
Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]

Usage[edit source]

{{Parent-only stub category
|article=
|category=
|category type=
|WikiProject=
}}

For example:

{{Parent-only stub category
|article=Asian [[association football]] biographies
|category=Football (soccer) players by nationality
}}

will show:

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 ...". This parameter is only valid if |article= is also set.

There is also an optional parameter |WikiProject= which links to a relevant WikiProject page. Again, this is only valid if |article= is also set. For example:

{{Parent-only stub category
|article=the [[Commonwealth of Massachusetts]]
|category=Massachusetts
|category type=biographical
|WikiProject=Massachusetts
}}

will show:

Missing parameters[edit source]

If the |category= parameter is blank or absent, the category is categorised to Category:Stub categories needing attention with sortkey Q.

Incorrect parameters[edit source]

If the unrecognised parameter |newstub= is present and non-blank, the category is categorised to Category:Stub categories needing attention with sortkey N.

See also[edit source]

Other category header templates[edit source]

External links[edit source]