Difference between revisions of "Template:Categorybox/Documentation"
From PCGamingWiki, the wiki about fixing PC games
(wrote documentation) |
m (added related templates) |
||
Line 1: | Line 1: | ||
This is an automated template in the likes of [[Template:Seriesbox]] that creates a floating list of member pages of a category. | This is an automated template in the likes of [[Template:Seriesbox]] that creates a floating list of member pages of a category. | ||
+ | |||
+ | '''Related templates''' | ||
+ | * [[Template:Categorybox]] - Automated template for use with defined categories. | ||
+ | * [[Template:Categorybox/custom]] - Custom template for use with categories or situations that require manual definition (functions more similar to [[Template:Seriesbox]]). | ||
+ | * [[Template:Categorybox/row]] - Row template used by both [[Template:Categorybox]] and [[Template:Categorybox/custom]]. | ||
'''Syntax''' | '''Syntax''' |
Revision as of 05:20, 9 March 2019
This is an automated template in the likes of Template:Seriesbox that creates a floating list of member pages of a category.
Related templates
- Template:Categorybox - Automated template for use with defined categories.
- Template:Categorybox/custom - Custom template for use with categories or situations that require manual definition (functions more similar to Template:Seriesbox).
- Template:Categorybox/row - Row template used by both Template:Categorybox and Template:Categorybox/custom.
Syntax
{{Categorybox|Category Name|Custom Title}}
Parameters
- Name of the category to query
- Custom title of the sidebar (the category name will be used if left blank).
- Note that the custom title will still automatically link to the category page.
Usage
{{Categorybox|Graphics API}}
creates the right-aligned sidebar here below, by querying Category:Graphics API.
{{Categorybox|Games in pre-alpha state|Example #2}}
adding a second parameter will set that text as a custom title.
- In this example it queries Category:Games in pre-alpha state.
No pages meet these criteria. |