Template:Categories
Purpose
Adding categories to pages. For each category, a navbox is generated with links between the pages in the category.
Usage
This template relies on configuration data stored at Module:Categories/Data.
{{Categories |<categories> |abilities= |bosses= |characters= |challenges= |dungeons= |enemies= |groups= |items= |levels= |locations= |main-quests= |mechanics= |mini-games= |modes= |music= |objects= |playable= |quests= |scenarios= |services= |shrine-quests= |side-quests= |songs= |stages= |sub-bosses= |symbols= }}
{{Categories }}
{{Categories | |abilities= |bosses= |characters= |challenges= |dungeons= |enemies= |groups= |items= |levels= |locations= |main-quests= |mechanics= |mini-games= |modes= |music= |objects= |playable= |quests= |scenarios= |services= |shrine-quests= |side-quests= |songs= |stages= |sub-bosses= |symbols= }}
Parameter | Status | Description | Accepted values | |
---|---|---|---|---|
1 | categories | optional | Comma separated list of categories which are not subcategorized by game. Examples of these include Animals, Forests, Fire-Related Enemies, and so on. | |
abilities | optional | Comma-separated list of codes representing the games or other titles in which the given article subject is one of the Abilities. | See Data:Franchise | |
bosses | optional | Comma-separated list of codes representing the games or other titles in which the given article subject is one of the Bosses. | See Data:Franchise | |
characters | optional | Comma-separated list of codes representing the games or other titles in which the given article subject is one of the Characters. | See Data:Franchise | |
challenges | optional | Comma-separated list of codes representing the games or other titles in which the given article subject is one of the Challenges. | See Data:Franchise | |
dungeons | optional | Comma-separated list of codes representing the games or other titles in which the given article subject is one of the Dungeons. | See Data:Franchise | |
enemies | optional | Comma-separated list of codes representing the games or other titles in which the given article subject is one of the Enemies. | See Data:Franchise | |
groups | optional | Comma-separated list of codes representing the games or other titles in which the given article subject is one of the Groups. | See Data:Franchise | |
items | optional | Comma-separated list of codes representing the games or other titles in which the given article subject is one of the Items. | See Data:Franchise | |
levels | optional | Comma-separated list of codes representing the games or other titles in which the given article subject is one of the Levels. | See Data:Franchise | |
locations | optional | Comma-separated list of codes representing the games or other titles in which the given article subject is one of the Locations. | See Data:Franchise | |
main-quests | optional | Comma-separated list of codes representing the games or other titles in which the given article subject is one of the Main Quests. | See Data:Franchise | |
mechanics | optional | Comma-separated list of codes representing the games or other titles in which the given article subject is one of the Mechanics. | See Data:Franchise | |
mini-games | optional | Comma-separated list of codes representing the games or other titles in which the given article subject is one of the Mini-Games. | See Data:Franchise | |
modes | optional | Comma-separated list of codes representing the games or other titles in which the given article subject is one of the Modes. | See Data:Franchise | |
music | optional | Comma-separated list of codes representing the games or other titles in which the given article subject is one of the Music. | See Data:Franchise | |
objects | optional | Comma-separated list of codes representing the games or other titles in which the given article subject is one of the Objects. | See Data:Franchise | |
playable | optional | Comma-separated list of codes representing the games or other titles in which the given article subject is one of the Playable Characters. | See Data:Franchise | |
quests | optional | Comma-separated list of codes representing the games or other titles in which the given article subject is one of the Quests. | See Data:Franchise | |
scenarios | optional | Comma-separated list of codes representing the games or other titles in which the given article subject is one of the Scenarios. | See Data:Franchise | |
services | optional | Comma-separated list of codes representing the games or other titles in which the given article subject is one of the Services. | See Data:Franchise | |
shrine-quests | optional | Comma-separated list of codes representing the games or other titles in which the given article subject is one of the Shrine Quests. | See Data:Franchise | |
side-quests | optional | Comma-separated list of codes representing the games or other titles in which the given article subject is one of the Side Quests. | See Data:Franchise | |
songs | optional | Comma-separated list of codes representing the games or other titles in which the given article subject is one of the Songs. | See Data:Franchise | |
stages | optional | Comma-separated list of codes representing the games or other titles in which the given article subject is one of the Stages. | See Data:Franchise | |
sub-bosses | optional | Comma-separated list of codes representing the games or other titles in which the given article subject is one of the Sub-Bosses. | See Data:Franchise | |
symbols | optional | Comma-separated list of codes representing the games or other titles in which the given article subject is one of the Symbols. | See Data:Franchise |
Adding categories to pages. For each category, a navbox is generated with links between the pages in the category.
Parameter | Description | Type | Status | |
---|---|---|---|---|
categories | 1 | Comma separated list of categories which are not subcategorized by game. Examples of these include [[:Category:Animals|Animals]], [[:Category:Forests|Forests]], [[:Category:Fire-Related Enemies|Fire-Related Enemies]], and so on. | String | optional |
abilities | abilities | Comma-separated list of [[Data:Franchise|codes]] representing the games or other titles in which the given article subject is one of the [[:Category:Abilities|Abilities]]. | String | optional |
bosses | bosses | Comma-separated list of [[Data:Franchise|codes]] representing the games or other titles in which the given article subject is one of the [[:Category:Bosses|Bosses]]. | String | optional |
characters | characters | Comma-separated list of [[Data:Franchise|codes]] representing the games or other titles in which the given article subject is one of the [[:Category:Characters|Characters]]. | String | optional |
challenges | challenges | Comma-separated list of [[Data:Franchise|codes]] representing the games or other titles in which the given article subject is one of the [[:Category:Challenges|Challenges]]. | String | optional |
dungeons | dungeons | Comma-separated list of [[Data:Franchise|codes]] representing the games or other titles in which the given article subject is one of the [[:Category:Dungeons|Dungeons]]. | String | optional |
enemies | enemies | Comma-separated list of [[Data:Franchise|codes]] representing the games or other titles in which the given article subject is one of the [[:Category:Enemies|Enemies]]. | String | optional |
groups | groups | Comma-separated list of [[Data:Franchise|codes]] representing the games or other titles in which the given article subject is one of the [[:Category:Groups|Groups]]. | String | optional |
items | items | Comma-separated list of [[Data:Franchise|codes]] representing the games or other titles in which the given article subject is one of the [[:Category:Items|Items]]. | String | optional |
levels | levels | Comma-separated list of [[Data:Franchise|codes]] representing the games or other titles in which the given article subject is one of the [[:Category:Levels|Levels]]. | String | optional |
locations | locations | Comma-separated list of [[Data:Franchise|codes]] representing the games or other titles in which the given article subject is one of the [[:Category:Locations|Locations]]. | String | optional |
main-quests | main-quests | Comma-separated list of [[Data:Franchise|codes]] representing the games or other titles in which the given article subject is one of the [[:Category:Main Quests|Main Quests]]. | String | optional |
mechanics | mechanics | Comma-separated list of [[Data:Franchise|codes]] representing the games or other titles in which the given article subject is one of the [[:Category:Mechanics|Mechanics]]. | String | optional |
mini-games | mini-games | Comma-separated list of [[Data:Franchise|codes]] representing the games or other titles in which the given article subject is one of the [[:Category:Mini-Games|Mini-Games]]. | String | optional |
modes | modes | Comma-separated list of [[Data:Franchise|codes]] representing the games or other titles in which the given article subject is one of the [[:Category:Modes|Modes]]. | String | optional |
music | music | Comma-separated list of [[Data:Franchise|codes]] representing the games or other titles in which the given article subject is one of the [[:Category:Music|Music]]. | String | optional |
objects | objects | Comma-separated list of [[Data:Franchise|codes]] representing the games or other titles in which the given article subject is one of the [[:Category:Objects|Objects]]. | String | optional |
playable | playable | Comma-separated list of [[Data:Franchise|codes]] representing the games or other titles in which the given article subject is one of the [[:Category:Playable Characters|Playable Characters]]. | String | optional |
quests | quests | Comma-separated list of [[Data:Franchise|codes]] representing the games or other titles in which the given article subject is one of the [[:Category:Quests|Quests]]. | String | optional |
scenarios | scenarios | Comma-separated list of [[Data:Franchise|codes]] representing the games or other titles in which the given article subject is one of the [[:Category:Scenarios|Scenarios]]. | String | optional |
services | services | Comma-separated list of [[Data:Franchise|codes]] representing the games or other titles in which the given article subject is one of the [[:Category:Services|Services]]. | String | optional |
shrine-quests | shrine-quests | Comma-separated list of [[Data:Franchise|codes]] representing the games or other titles in which the given article subject is one of the [[:Category:Shrine Quests|Shrine Quests]]. | String | optional |
side-quests | side-quests | Comma-separated list of [[Data:Franchise|codes]] representing the games or other titles in which the given article subject is one of the [[:Category:Side Quests|Side Quests]]. | String | optional |
songs | songs | Comma-separated list of [[Data:Franchise|codes]] representing the games or other titles in which the given article subject is one of the [[:Category:Songs|Songs]]. | String | optional |
stages | stages | Comma-separated list of [[Data:Franchise|codes]] representing the games or other titles in which the given article subject is one of the [[:Category:Stages|Stages]]. | String | optional |
sub-bosses | sub-bosses | Comma-separated list of [[Data:Franchise|codes]] representing the games or other titles in which the given article subject is one of the [[:Category:Sub-Bosses|Sub-Bosses]]. | String | optional |
symbols | symbols | Comma-separated list of [[Data:Franchise|codes]] representing the games or other titles in which the given article subject is one of the [[:Category:Symbols|Symbols]]. | String | optional |
Examples
{{Categories |Keese, Ice-Related Enemies |enemies= OoT, OoT3D, MM, MM3D, TP, TPHD, PH, ST, TFH, BotW |sub-bosses= ST }}
- Category:Category navbox templates
- Category:Ice-Related Enemies
- Category:Keese
- Category:Enemies
- Category:Sub-Bosses
- Category:Enemies in Ocarina of Time
- Category:Enemies in Ocarina of Time 3D
- Category:Enemies in Majora's Mask
- Category:Enemies in Majora's Mask 3D
- Category:Enemies in Twilight Princess
- Category:Enemies in Twilight Princess HD
- Category:Enemies in Phantom Hourglass
- Category:Enemies in Spirit Tracks
- Category:Sub-Bosses in Spirit Tracks
- Category:Enemies in Tri Force Heroes
- Category:Enemies in Breath of the Wild
{{Categories |Demons, Loruleans, Sorcerers |bosses= TLoZ, ALttP, OoT, OoT3D, OoS, OoA, FSA, TP, TPHD, TFoE, TWoG, ZA, BSTLoZ, AST, HW, HWL, HWDE |characters= ALBW, HW |playable= HW }}
- Category:Category navbox templates
- Category:Demons
- Category:Loruleans
- Category:Sorcerers
- Category:Bosses
- Category:Characters
- Category:Playable Characters
- Category:Bosses in The Legend of Zelda
- Category:Bosses in A Link to the Past
- Category:Bosses in Ocarina of Time
- Category:Bosses in Ocarina of Time 3D
- Category:Bosses in Oracle of Seasons
- Category:Bosses in Oracle of Ages
- Category:Bosses in Four Swords Adventures
- Category:Bosses in Twilight Princess
- Category:Bosses in Twilight Princess HD
- Category:Characters in A Link Between Worlds
- Category:Bosses in The Faces of Evil
- Category:Bosses in The Wand of Gamelon
- Category:Bosses in BS The Legend of Zelda
- Category:Bosses in Zelda's Adventure
- Category:Bosses in Ancient Stone Tablets
- Category:Bosses in Hyrule Warriors
- Category:Characters in Hyrule Warriors
- Category:Playable Characters in Hyrule Warriors
- Category:Bosses in Hyrule Warriors Legends
- Category:Bosses in Hyrule Warriors: Definitive Edition
{{Categories |Ancient Technology |items= OoT, OoT3D |objects= BotW }}
{{Categories |dungeons= OoT, OoT3D |levels= TFH |locations= OoT, OoT3D }}
{{Categories |stages= HW, HWL, HWDE }}
{{Categories |songs= MM, MM3D, TP, TPHD, ST }}
{{Categories |Hylians, Swords }}
{{Categories |characters= TP, TP, fakeGame, OoT, OoT }}
Guidelines
This template should be added at the very bottom of articles, just before interwiki links. Types should be used in alphabetical order. If a type does not apply, it should not be used. Games should be entered in canon order.
The navboxes that are automatically generated by this template can be customized by creating a category navbox template using {{Categories/Navbox}}
.
It is possible to prevent a navbox from being automatically generated by using {{Categories/Navbox Null}}
. This is desirable in situations where equivalent navboxes (made with {{Navbox}}
) are already being placed on the page before {{Categories}}
. This is usually done to give a certain navbox priority over other categories. For example on the Full Moon Cello page, the navbox {{Instruments of the Sirens}}
is added before {{Categories}}
, which generates navboxes for Instruments and String Instruments. The latter categories are less relevant, so it makes sense to give the Instruments of the Sirens navbox priority and display it separately from other navboxes. Hence, {{Categories/Navbox Null}}
is used on Template:Categories/Navbox/Instruments of the Sirens to prevent {{Categories}}
from generating its own navbox for Instruments of the Sirens.
For more information on the navboxes automatically added by this template, see Module:Categories/Data.