July 25, 2020

馃懎 Knight Challenge #11 馃懍

Want to try your hand at these challenges? There's a couple of things you can do!
From writing, to research, to images, find your preferred way to contribute with our eleventh theme: Couples!

Latest Announcements

Template:Categories/Documentation

From Zelda Wiki, the Zelda encyclopedia
Jump to: navigation, 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>
 |bosses= 
 |characters= 
 |dungeons= 
 |enemies= 
 |items= 
 |levels= 
 |objects= 
 |places= 
 |playable= 
 |songs= 
 |stages= 
 |sub-bosses= 
}}
{{Categories
 |
 |bosses= 
 |characters= 
 |dungeons= 
 |enemies= 
 |items= 
 |levels= 
 |objects= 
 |places= 
 |playable= 
 |songs= 
 |stages= 
 |sub-bosses= 
}}
ParameterStatusDescriptionAccepted values
1categoriesoptionalComma separated list of categories which are not subcategorized by game. Examples of these include Animals, Forests, Fire-Related Enemies, and so on.
bossesoptionalComma-separated list of codes representing the games or other titles in which the given article subject is one of the Bosses.See Data:Franchise
charactersoptionalComma-separated list of codes representing the games or other titles in which the given article subject is one of the Characters.See Data:Franchise
dungeonsoptionalComma-separated list of codes representing the games or other titles in which the given article subject is one of the Dungeons.See Data:Franchise
enemiesoptionalComma-separated list of codes representing the games or other titles in which the given article subject is one of the Enemies.See Data:Franchise
itemsoptionalComma-separated list of codes representing the games or other titles in which the given article subject is one of the Items.See Data:Franchise
levelsoptionalComma-separated list of codes representing the games or other titles in which the given article subject is one of the Levels.See Data:Franchise
objectsoptionalComma-separated list of codes representing the games or other titles in which the given article subject is one of the Objects.See Data:Franchise
placesoptionalComma-separated list of codes representing the games or other titles in which the given article subject is one of the Places.See Data:Franchise
playableoptionalComma-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
songsoptionalComma-separated list of codes representing the games or other titles in which the given article subject is one of the Songs.See Data:Franchise
stagesoptionalComma-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-bossesoptionalComma-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

Examples

Input
{{Categories
 |Keese, Ice-Related Enemies
 |enemies= OoT, OoT3D, MM, MM3D, TP, TPHD, PH, ST, TFH, BotW
 |sub-bosses= ST
}}
Output
Categories added
Input
{{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
}}
Output
Categories added
Input
{{Categories
 |Ancient Technology
 |items= OoT, OoT3D
 |objects= BotW
}}
Output
Categories added
Input
{{Categories
 |dungeons= OoT, OoT3D
 |levels= TFH
 |places= OoT, OoT3D
}}
Categories added
Input
{{Categories
 |stages= HW, HWL, HWDE
}}
Categories added
Input
{{Categories
 |songs= MM, MM3D, TP, TPHD, ST
}}
Categories added
Input
{{Categories
 |Hylians, Swords
}}
Categories added
Input
{{Categories
 |characters= TP, TP, fakeGame, OoT, OoT
}}
Categories added

Adding categories to pages. For each category, a navbox is generated with links between the pages in the category.

Template parameters

ParameterDescriptionTypeStatus
categories1 categories

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
bossesbosses

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]].

Stringoptional
characterscharacters

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]].

Stringoptional
dungeonsdungeons

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]].

Stringoptional
enemiesenemies

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]].

Stringoptional
itemsitems

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]].

Stringoptional
levelslevels

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]].

Stringoptional
objectsobjects

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]].

Stringoptional
placesplaces

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

Stringoptional
playableplayable

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]].

Stringoptional
songssongs

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]].

Stringoptional
stagesstages

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]].

Stringoptional
sub-bossessub-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]].

Stringoptional

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.

This is the documentation page, it should be transcluded into the main template page. See Template:Documentation for more information.