Template:Categories

From Zelda Wiki, the Zelda encyclopedia
Jump to navigation Jump to search


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.

SyntaxBoilerplate
{{Categories
 |<categories>
 |abilities= 
 |bosses= 
 |characters= 
 |challenges= 
 |cutscenes= 
 |dlc= 
 |dungeons= 
 |enemies= 
 |events= 
 |groups= 
 |interface= 
 |items= 
 |levels= 
 |locations= 
 |main-quests= 
 |mechanics= 
 |mini-games= 
 |modes= 
 |music= 
 |objects= 
 |playable= 
 |quests= 
 |scenarios= 
 |services= 
 |shrine-quests= 
 |side-quests= 
 |songs= 
 |stages= 
 |sub-bosses= 
 |symbols= 
}}
Required ParametersAll Parameters
{{Categories
}}
{{Categories
 |
 |abilities= 
 |bosses= 
 |characters= 
 |challenges= 
 |cutscenes= 
 |dlc= 
 |dungeons= 
 |enemies= 
 |events= 
 |groups= 
 |interface= 
 |items= 
 |levels= 
 |locations= 
 |main-quests= 
 |mechanics= 
 |mini-games= 
 |modes= 
 |music= 
 |objects= 
 |playable= 
 |quests= 
 |scenarios= 
 |services= 
 |shrine-quests= 
 |side-quests= 
 |songs= 
 |stages= 
 |sub-bosses= 
 |symbols= 
}}
ParameterStatusDescription
1categoriesoptionalComma separated list of categories which are not subcategorized by game. Examples of these include Animals, Forests, Fire-Related Enemies, and so on.
abilitiesoptionalComma-separated list of franchise codes representing the games or other titles in which the given article subject is one of the Abilities.
bossesoptionalComma-separated list of franchise codes representing the games or other titles in which the given article subject is one of the Bosses.
charactersoptionalComma-separated list of franchise codes representing the games or other titles in which the given article subject is one of the Characters.
challengesoptionalComma-separated list of franchise codes representing the games or other titles in which the given article subject is one of the Challenges.
cutscenesoptionalComma-separated list of franchise codes representing the games or other titles in which the given article subject is one of the Cutscenes.
dlcoptionalComma-separated list of franchise codes representing the games or other titles in which the given article subject is one of the DLC.
dungeonsoptionalComma-separated list of franchise codes representing the games or other titles in which the given article subject is one of the Dungeons.
enemiesoptionalComma-separated list of franchise codes representing the games or other titles in which the given article subject is one of the Enemies.
eventsoptionalComma-separated list of franchise codes representing the games or other titles in which the given article subject is one of the Plot Events.
groupsoptionalComma-separated list of franchise codes representing the games or other titles in which the given article subject is one of the Groups.
interfaceoptionalComma-separated list of franchise codes representing the games or other titles in which the given article subject is one of the Interface.
itemsoptionalComma-separated list of franchise codes representing the games or other titles in which the given article subject is one of the Items.
levelsoptionalComma-separated list of franchise codes representing the games or other titles in which the given article subject is one of the Levels.
locationsoptionalComma-separated list of franchise codes representing the games or other titles in which the given article subject is one of the Locations.
main-questsoptionalComma-separated list of franchise codes representing the games or other titles in which the given article subject is one of the Main Quests.
mechanicsoptionalComma-separated list of franchise codes representing the games or other titles in which the given article subject is one of the Mechanics.
mini-gamesoptionalComma-separated list of franchise codes representing the games or other titles in which the given article subject is one of the Mini-Games.
modesoptionalComma-separated list of franchise codes representing the games or other titles in which the given article subject is one of the Modes.
musicoptionalComma-separated list of franchise codes representing the games or other titles in which the given article subject is one of the Music.
objectsoptionalComma-separated list of franchise codes representing the games or other titles in which the given article subject is one of the Objects.
playableoptionalComma-separated list of franchise codes representing the games or other titles in which the given article subject is one of the Playable Characters.
questsoptionalComma-separated list of franchise codes representing the games or other titles in which the given article subject is one of the Quests.
scenariosoptionalComma-separated list of franchise codes representing the games or other titles in which the given article subject is one of the Scenarios.
servicesoptionalComma-separated list of franchise codes representing the games or other titles in which the given article subject is one of the Services.
shrine-questsoptionalComma-separated list of franchise codes representing the games or other titles in which the given article subject is one of the Shrine Quests.
side-questsoptionalComma-separated list of franchise codes representing the games or other titles in which the given article subject is one of the Side Quests.
songsoptionalComma-separated list of franchise codes representing the games or other titles in which the given article subject is one of the Songs.
stagesoptionalComma-separated list of franchise codes representing the games or other titles in which the given article subject is one of the Stages.
sub-bossesoptionalComma-separated list of franchise codes representing the games or other titles in which the given article subject is one of the Sub-Bosses.
symbolsoptionalComma-separated list of franchise codes representing the games or other titles in which the given article subject is one of the Symbols.

No description.

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
categories1

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.

Stringoptional
abilitiesabilities

Comma-separated list of [[:Category:Franchise codes|franchise codes]] representing the games or other titles in which the given article subject is one of the [[:Category:Abilities|Abilities]].

Stringoptional
bossesbosses

Comma-separated list of [[:Category:Franchise codes|franchise codes]] representing the games or other titles in which the given article subject is one of the [[:Category:Bosses|Bosses]].

Stringoptional
characterscharacters

Comma-separated list of [[:Category:Franchise codes|franchise codes]] representing the games or other titles in which the given article subject is one of the [[:Category:Characters|Characters]].

Stringoptional
challengeschallenges

Comma-separated list of [[:Category:Franchise codes|franchise codes]] representing the games or other titles in which the given article subject is one of the [[:Category:Challenges|Challenges]].

Stringoptional
cutscenescutscenes

Comma-separated list of [[:Category:Franchise codes|franchise codes]] representing the games or other titles in which the given article subject is one of the [[:Category:Cutscenes|Cutscenes]].

Stringoptional
dlcdlc

Comma-separated list of [[:Category:Franchise codes|franchise codes]] representing the games or other titles in which the given article subject is one of the [[:Category:DLC|DLC]].

Stringoptional
dungeonsdungeons

Comma-separated list of [[:Category:Franchise codes|franchise codes]] representing the games or other titles in which the given article subject is one of the [[:Category:Dungeons|Dungeons]].

Stringoptional
enemiesenemies

Comma-separated list of [[:Category:Franchise codes|franchise codes]] representing the games or other titles in which the given article subject is one of the [[:Category:Enemies|Enemies]].

Stringoptional
eventsevents

Comma-separated list of [[:Category:Franchise codes|franchise codes]] representing the games or other titles in which the given article subject is one of the [[:Category:Plot Events|Plot Events]].

Stringoptional
groupsgroups

Comma-separated list of [[:Category:Franchise codes|franchise codes]] representing the games or other titles in which the given article subject is one of the [[:Category:Groups|Groups]].

Stringoptional
interfaceinterface

Comma-separated list of [[:Category:Franchise codes|franchise codes]] representing the games or other titles in which the given article subject is one of the [[:Category:Interface|Interface]].

Stringoptional
itemsitems

Comma-separated list of [[:Category:Franchise codes|franchise codes]] representing the games or other titles in which the given article subject is one of the [[:Category:Items|Items]].

Stringoptional
levelslevels

Comma-separated list of [[:Category:Franchise codes|franchise codes]] representing the games or other titles in which the given article subject is one of the [[:Category:Levels|Levels]].

Stringoptional
locationslocations

Comma-separated list of [[:Category:Franchise codes|franchise codes]] representing the games or other titles in which the given article subject is one of the [[:Category:Locations|Locations]].

Stringoptional
main-questsmain-quests

Comma-separated list of [[:Category:Franchise codes|franchise codes]] representing the games or other titles in which the given article subject is one of the [[:Category:Main Quests|Main Quests]].

Stringoptional
mechanicsmechanics

Comma-separated list of [[:Category:Franchise codes|franchise codes]] representing the games or other titles in which the given article subject is one of the [[:Category:Mechanics|Mechanics]].

Stringoptional
mini-gamesmini-games

Comma-separated list of [[:Category:Franchise codes|franchise codes]] representing the games or other titles in which the given article subject is one of the [[:Category:Mini-Games|Mini-Games]].

Stringoptional
modesmodes

Comma-separated list of [[:Category:Franchise codes|franchise codes]] representing the games or other titles in which the given article subject is one of the [[:Category:Modes|Modes]].

Stringoptional
musicmusic

Comma-separated list of [[:Category:Franchise codes|franchise codes]] representing the games or other titles in which the given article subject is one of the [[:Category:Music|Music]].

Stringoptional
objectsobjects

Comma-separated list of [[:Category:Franchise codes|franchise codes]] representing the games or other titles in which the given article subject is one of the [[:Category:Objects|Objects]].

Stringoptional
playableplayable

Comma-separated list of [[:Category:Franchise codes|franchise codes]] representing the games or other titles in which the given article subject is one of the [[:Category:Playable Characters|Playable Characters]].

Stringoptional
questsquests

Comma-separated list of [[:Category:Franchise codes|franchise codes]] representing the games or other titles in which the given article subject is one of the [[:Category:Quests|Quests]].

Stringoptional
scenariosscenarios

Comma-separated list of [[:Category:Franchise codes|franchise codes]] representing the games or other titles in which the given article subject is one of the [[:Category:Scenarios|Scenarios]].

Stringoptional
servicesservices

Comma-separated list of [[:Category:Franchise codes|franchise codes]] representing the games or other titles in which the given article subject is one of the [[:Category:Services|Services]].

Stringoptional
shrine-questsshrine-quests

Comma-separated list of [[:Category:Franchise codes|franchise codes]] representing the games or other titles in which the given article subject is one of the [[:Category:Shrine Quests|Shrine Quests]].

Stringoptional
side-questsside-quests

Comma-separated list of [[:Category:Franchise codes|franchise codes]] representing the games or other titles in which the given article subject is one of the [[:Category:Side Quests|Side Quests]].

Stringoptional
songssongs

Comma-separated list of [[:Category:Franchise codes|franchise codes]] representing the games or other titles in which the given article subject is one of the [[:Category:Songs|Songs]].

Stringoptional
stagesstages

Comma-separated list of [[:Category:Franchise codes|franchise codes]] representing the games or other titles in which the given article subject is one of the [[:Category:Stages|Stages]].

Stringoptional
sub-bossessub-bosses

Comma-separated list of [[:Category:Franchise codes|franchise codes]] representing the games or other titles in which the given article subject is one of the [[:Category:Sub-Bosses|Sub-Bosses]].

Stringoptional
symbolssymbols

Comma-separated list of [[:Category:Franchise codes|franchise codes]] representing the games or other titles in which the given article subject is one of the [[:Category:Symbols|Symbols]].

Stringoptional

Examples

Input
{{Categories
 |songs= MM, MM3D, TP, TPHD, ST
}}
Output
Categories Added

Input
{{Categories
 |Keese, Ice-Related Enemies
 |enemies= OoT, OoT3D, MM, MM3D, TP, TPHD, PH, ST, TFH, BotW
 |sub-bosses= ST
}}
Output
Categories Added

Navboxes are not generated for categories with 99+ links.
Input
{{Categories
 |Hylians, Swords
}}
Output
Categories Added

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.

The above documentation is transcluded from Template:Categories/Documentation. (edit | history)