Module:Categories/Data: Difference between revisions
Jump to navigation
Jump to search
PhantomCaleb (talk | contribs) No edit summary |
PhantomCaleb (talk | contribs) No edit summary |
||
Line 2: | Line 2: | ||
maxPagesPerNav = 99, | maxPagesPerNav = 99, | ||
gameCategories = { | gameCategories = { | ||
{ | |||
parameter = "abilities", | |||
category = "Abilities", | category = "Abilities", | ||
}, | }, | ||
{ | |||
parameter = "bosses", | |||
category = "Bosses", | category = "Bosses", | ||
}, | }, | ||
{ | |||
parameter = "characters", | |||
category = "Characters", | category = "Characters", | ||
}, | }, | ||
{ | |||
parameter = "challenges", | |||
category = "Challenges", | category = "Challenges", | ||
}, | }, | ||
{ | |||
parameter = "dungeons", | |||
category = "Dungeons", | category = "Dungeons", | ||
}, | }, | ||
{ | |||
parameter = "enemies", | |||
category = "Enemies", | category = "Enemies", | ||
}, | }, | ||
{ | |||
parameter = "groups", | |||
category = "Groups", | category = "Groups", | ||
}, | }, | ||
{ | |||
parameter = "items", | |||
category = "Items", | category = "Items", | ||
}, | }, | ||
{ | |||
parameter = "levels", | |||
category = "Levels", | category = "Levels", | ||
}, | }, | ||
{ | |||
parameter = "locations", | |||
category = "Locations", | category = "Locations", | ||
}, | }, | ||
{ | |||
parameter = "mechanics", | |||
category = "Mechanics", | category = "Mechanics", | ||
}, | }, | ||
{ | |||
parameter = "mini-games", | |||
category = "Mini-Games", | category = "Mini-Games", | ||
}, | }, | ||
{ | |||
parameter = "modes", | |||
category = "Modes", | category = "Modes", | ||
}, | }, | ||
{ | |||
parameter = "objects", | |||
category = "Objects", | category = "Objects", | ||
}, | }, | ||
{ | |||
parameter = "playable", | |||
category = "Playable Characters", | category = "Playable Characters", | ||
}, | }, | ||
{ | |||
parameter = "quests", | |||
category = "Quests", | category = "Quests", | ||
}, | }, | ||
{ | |||
parameter = "scenarios", | |||
category = "Scenarios", | category = "Scenarios", | ||
}, | }, | ||
{ | |||
parameter = "side-quests", | |||
category = "Side Quests", | category = "Side Quests", | ||
}, | }, | ||
{ | |||
parameter = "songs", | |||
category = "Songs", | category = "Songs", | ||
}, | }, | ||
{ | |||
parameter = "stages", | |||
category = "Stages", | category = "Stages", | ||
}, | }, | ||
{ | |||
parameter = "sub-bosses", | |||
category = "Sub-Bosses", | category = "Sub-Bosses", | ||
}, | }, | ||
{ | |||
parameter = "symbols", | |||
category = "Symbols", | category = "Symbols", | ||
}, | }, |
Revision as of 13:47, 8 November 2022
For information on editing module data in general, see Guidelines:Modules/Data.
DataSchema
Common Subject NavboxesCategory Navboxes (Automatic)Category Navboxes (Customized)Big CategoriesSmall Categories
The following navbox templates are automatically generated by Template:Categories. The commonality tiers are controlled by the
common
fields defined on this /Data page.The following categories have navboxes automatically generated by Template:Categories. As there are too many such navboxes to display them here, click the sample link to view the navbox on one of the pages that uses it.
To customize these navboxes, click the associated link in the table below. See Template:Categories/Navbox (and the next tab) for more information.
Navboxes with more than a dozen or so links should usually be partitioned using Template:Categories/Navbox. Navboxes with too many links in a single list may be less effective as navigation tools.
These customized category navbox templates are added by Template:Categories instead of the ones it generates automatically (see previous tab).
No navbox is generated for the following categories as they have more than 99 pages.
No navbox is generated for the following categories as they contain less than 2 pages.
These categories should be added to more pages or removed entirely.
Data
maxPagesPerNav
- Defines the maximum number of links in any given navbox. Categories with a number of pages exceeding this limit will not have navboxes generated for them.
gameCategories
- Defines the categories which are subcategorized by Data:Franchise entry.
parameter
- The name of the parameter for Template:Categories.
category
- The parent category name.
[common]
- If present, Module:Categories will generate a navbox for subjects with more than N appearances in the given category.
return {
maxPagesPerNav = 99,
gameCategories = {
{
parameter = "abilities",
category = "Abilities",
},
{
parameter = "bosses",
category = "Bosses",
},
{
parameter = "characters",
category = "Characters",
},
{
parameter = "challenges",
category = "Challenges",
},
{
parameter = "dungeons",
category = "Dungeons",
},
{
parameter = "enemies",
category = "Enemies",
},
{
parameter = "groups",
category = "Groups",
},
{
parameter = "items",
category = "Items",
},
{
parameter = "levels",
category = "Levels",
},
{
parameter = "locations",
category = "Locations",
},
{
parameter = "mechanics",
category = "Mechanics",
},
{
parameter = "mini-games",
category = "Mini-Games",
},
{
parameter = "modes",
category = "Modes",
},
{
parameter = "objects",
category = "Objects",
},
{
parameter = "playable",
category = "Playable Characters",
},
{
parameter = "quests",
category = "Quests",
},
{
parameter = "scenarios",
category = "Scenarios",
},
{
parameter = "side-quests",
category = "Side Quests",
},
{
parameter = "songs",
category = "Songs",
},
{
parameter = "stages",
category = "Stages",
},
{
parameter = "sub-bosses",
category = "Sub-Bosses",
},
{
parameter = "symbols",
category = "Symbols",
},
},
subcategories = {
-- Animals
["Crustaceans"] = {
{category = "Crabs"},
},
["Insects"] = {
{category = "Bees"},
{category = "Butterflies"},
{category = "Dragonflies"},
},
-- Characters
["Champions"] = {
{category = "Enemy Champions"},
{category = "Hyrulean Champions"},
},
["Companions"] = {
{category = "Fairies"},
},
["Demons"] = {
{category = "Characters"},
{category = "Bosses"},
{category = "Enemies"},
},
["Fairies"] = {
{category = "Great Fairies"},
},
["Gorons"] = {
{category = "Chiefs"},
{category = "Merchants"},
{category = "Characters in Ocarina of Time", display = "Ocarina of Time"},
{category = "Characters in Majora's Mask", display = "Majora's Mask"},
{category = "Characters in Oracle of Ages", display = "Oracle of Ages"},
{category = "Characters in Twilight Princess", display = "Twilight Princess"},
{category = "Characters in Phantom Hourglass", display = "Phantom Hourglass"},
{category = "Characters in Spirit Tracks", display = "Spirit Tracks"},
{category = "Characters in Skyward Sword", display = "Skyward Sword"},
{category = "Characters in Breath of the Wild", display = "Breath of the Wild"},
},
["Koholint Islanders"] = {
{category = "Animals"},
{category = "Humans"},
},
["Heroes"] = {
{category = "Link"},
},
["Hylians"] = {
{category = "Hyruleans"},
{category = "Skyloftians"},
{category = "Terminans"},
},
["Hyruleans"] = {
{category = "Gorons"},
{category = "Hylians"},
{category = "Rito"},
{category = "Zoras"},
},
["Lakes"] = {
{category = "Locations in Breath of the Wild", display = "Breath of the Wild"},
},
["Playable Characters"] = {
{category = "Characters in Cadence of Hyrule", display = "Cadence of Hyrule"},
{category = "Characters in Hyrule Warriors", display = "Hyrule Warriors"},
{category = "Characters in Hyrule Warriors Legends", display = "Hyrule Warriors Legends", parents = {"Characters in Hyrule Warriors"}},
{category = "Characters in Hyrule Warriors: Definitive Edition", display = "Hyrule Warriors: Definitive Edition", parents = {"Characters in Hyrule Warriors", "Characters in Hyrule Warriors Legends"}},
{category = "Characters in Super Smash Bros.", display = "Super Smash Bros."},
{category = "Characters in Super Smash Bros. Melee", display = "Super Smash Bros. Melee"},
{category = "Characters in Super Smash Bros. Brawl", display = "Super Smash Bros. Brawl"},
{category = "Characters in Super Smash Bros. Ultimate", display = "Super Smash Bros. Ultimate"},
},
["Robots"] = {
{category = "Ancient Robots"},
},
["Soldiers"] = {
{category = "Ball and Chain Enemies", display= "Ball and Chain"},
},
["Terminans"] = {
{category = "Fairies"},
{category = "Gerudo"},
{category = "Gorons"},
{category = "Hylians"},
{category = "Zora"},
},
["Thieves"] = {
{category = "Characters"},
{category = "Enemies"},
{category = "Sub-Bosses"},
{category = "Bosses"},
},
-- Enemies
["Armos"] = {
{category = "Enemies"},
{category = "Sub-Bosses"},
{category = "Bosses"},
},
["Ball and Chain Enemies"] = {
{category = "Enemies"},
{category = "Sub-Bosses"},
{category = "Bosses"},
},
["Bat-Like Enemies"] = {
{category = "Enemies"},
{category = "Sub-Bosses"},
{category = "Bosses"},
},
["Blins"] = {
{category = "Bokoblins"},
{category = "Moblins"},
},
["Bomb Enemies"] = {
{category = "Exploding Enemies", display="Self-Destructing"},
{category = "Throwing Enemies", display="Bomb-Throwing"},
{category = "Shooting Enemies", display="Cannon-Firing"}
},
["Cursed Enemies"] = {
{category = "Enemies"},
{category = "Sub-Bosses"},
{category = "Bosses"},
},
["Exploding Enemies"] = {
{category = "Bomb Enemies"}
},
["Fire-Related Enemies"] = {
{category = "Enemies"},
{category = "Sub-Bosses"},
{category = "Bosses"},
},
["Electricity-Related Enemies"] = {
{category = "Enemies"},
{category = "Sub-Bosses"},
{category = "Bosses"},
},
["Flying Enemies"] = {
{category = "Enemies"},
{category = "Sub-Bosses"},
{category = "Bosses"},
},
["Ghost Enemies"] = {
{category = "Enemies"},
{category = "Sub-Bosses"},
{category = "Bosses"},
},
["Humanoid Enemies"] = {
{category = "Mechanical Enemies", display= "Mechanical"},
{category = "Characters"},
{category = "Enemies"},
{category = "Sub-Bosses"},
{category = "Bosses"},
},
["Ice-Related Enemies"] = {
{category = "Enemies"},
{category = "Sub-Bosses"},
{category = "Bosses"},
},
["Mammalian Enemies"] = {
{category = "Humanoid Enemies", display = "Anthropomorphic"},
{category = "Bovid Enemies", display = "Bovid"},
{category = "Canine Enemies", display = "Canine"},
{category = "Monkeys"},
{category = "Pig-Like Enemies", display = "Pig-Like"},
{category = "Rats"},
{category = "Enemies"},
{category = "Sub-Bosses"},
{category = "Bosses"},
},
["Mechanical Enemies"] = {
{category = "Enemies"},
{category = "Sub-Bosses"},
{category = "Bosses"},
},
["Moblins"] = {
{category = "Enemies"},
{category = "Sub-Bosses"},
{category = "Characters"},
},
["Nintendo Enemies"] = {
{category = "Mario"}
},
["Octos"] = {
{category = "Octoroks"},
},
["Plant-Like Enemies"] = {
{category = "Enemies"},
{category = "Sub-Bosses"},
{category = "Bosses"},
},
["Shooting Enemies"] = {
{category = "Bow Enemies", display= "Arrows"},
{category = "Beam Enemies", display= "Beams"},
{category = "Bomb Enemies", display= "Bombs"},
},
["Snake-Like Enemies"] = {
{category = "Enemies"},
{category = "Sub-Bosses"},
{category = "Bosses"},
},
["Stals"] = {
{category = "Stalfos"},
},
["Statue Enemies"] = {
{category = "Armos"}
},
["Throwing Enemies"] = {
{category = "Ball and Chain Enemies", display= "Ball and Chain"},
{category = "Bomb Enemies", display="Bombs"},
{category = "Goriyas", display="Boomerangs"},
{category = "Spear Enemies", display="Spears"},
},
["Twilight Enemies"] = {
{category = "Enemies"},
{category = "Sub-Bosses"},
{category = "Bosses"},
},
["Water-Related Enemies"] = {
{category = "Enemies"},
{category = "Sub-Bosses"},
{category = "Bosses"},
},
--Items/Objects
["Ancient Technology"] = {
{category = "Enemies"},
{category = "Items"},
{category = "Objects"},
{category = "Locations"},
},
["Bags"] = {
{category = "Bomb Bags"},
{category = "Wallets"},
},
["Books"] = {
{category = "Comics"},
{category = "Guides"},
{category = "Items"},
{category = "Manga"},
{category = "Objects"},
},
["Deeds"] = {
{category = "Items in Majora's Mask", display = "''Majora's Mask''"},
{category = "Items in The Wind Waker", display = "''The Wind Waker''"},
},
["Deliveries"] = {
{category = "Freight"},
{category = "Letters"},
{category = "Timed Deliveries"},
},
["Explosives"] = {
{category = "Bombs"},
},
["Instruments"] = {
{category = "Percussion Instruments"},
{category = "String Instruments"},
{category = "Wind Instruments"},
},
["Materials"] = {
{category = "Items in Tri Force Heroes", display = "Tri Force Heroes"},
{category = "Items in Breath of the Wild", display = "Breath of the Wild"},
{category = "Items in Hyrule Warriors", display = "Hyrule Warriors"},
{category = "Items in Hyrule Warriors Legends", display = "Hyrule Warriors Legends", parents = {"Items in Hyrule Warriors"}},
},
["Medals"] = {
{category = "Items in Skyward Sword", display = "Skyward Sword"},
},
["Ore"] = {
{category = "Items in Oracle of Seasons", display = "''Oracle of Seasons''"},
},
["Rings"] = {
{category = "Magic Rings"},
},
["String Instruments"] = {
{category = "Harps"},
},
["Torches"] = {
{category = "Items"},
{category = "Objects"},
},
["Treasures"] = {
{category = "Items in Phantom Hourglass", display = "Phantom Hourglass"},
{category = "Items in Spirit Tracks", display = "Spirit Tracks"},
{category = "Items in Skyward Sword", display = "Skyward Sword"},
},
["Health Restoring Items"] = {
{category = "Potions"},
},
["Wind Instruments"] = {
{category = "Flutes"},
{category = "Ocarinas"},
},
-- Locations
["Akkala Highlands"] = {
{category = "Ancient Shrines"},
{category = "Bridges"},
{category = "Islands"},
{category = "Roads"},
{category = "Ruins"},
},
["Bridges"] = {
{category = "Locations in Breath of the Wild", display = "Breath of the Wild"},
},
["Eldin Canyon"] = {
{category = "Lakes"},
},
["Hills"] = {
{category = "Locations in Breath of the Wild", display = "Breath of the Wild"},
},
["Hyrule Field"] = {
{category = "Ancient Shrines"},
{category = "Bridges"},
{category = "Plains"},
{category = "Ruins"},
},
["Islands"] = {
{category = "Locations in The Wind Waker", display = "The Wind Waker"},
{category = "Locations in The Wind Waker HD", display = "The Wind Waker HD", parents = {"Locations in The Wind Waker"}},
{category = "Locations in Phantom Hourglass", display = "Phantom Hourglass"},
{category = "Locations in Skyward Sword", display = "Skyward Sword"},
{category = "Locations in Breath of the Wild", display = "Breath of the Wild"},
},
["Kakariko Village"] = {
{category = "Shops"},
},
["Palaces"] = {
{category = "Dungeons"},
{category = "Locations"},
},
["Plains"] = {
{category = "Locations in Breath of the Wild", display = "Breath of the Wild"},
},
["Towns"] = {
{category = "Locations in The Adventure of Link", display = "The Adventure of Link"},
{category = "Locations in A Link to the Past", display = "A Link to the Past"},
{category = "Locations in Majora's Mask", display = "Majora's Mask"},
{category = "Locations in Breath of the Wild", display = "Breath of the Wild"},
},
["Ruins"] = {
{category = "Locations in Breath of the Wild", display = "Breath of the Wild"},
},
["Shrines"] = {
{category = "Ancient Shrines"},
},
["West Necluda"] = {
{category = "Ancient Shrines"},
{category = "Bridges"},
{category = "Forests"},
{category = "Lakes"},
{category = "Mountains"},
{category = "Rivers"},
},
-- Mechanics
["Abilities"] = {
{category = "Magic"},
{category = "Runes"},
{category = "Sword Techniques"},
},
["Mechanics"] = {
{category = "Abilities"},
{category = "Interface"},
{category = "Roles"},
},
-- Topics
["Island Postal Service"] = {
{category = "Characters"},
{category = "Deliveries"},
},
["Mail"] = {
{category = "Mailed Items"},
{category = "Postal Service"},
},
["Telepathy"] = {
{category = "Telepaths"},
},
-- Merchandise
["Merchandise Manufacturers"] = {
{category = "Clothing Manufacturers"},
},
["Merchandise"] = {
{category = "Cards"},
{category = "Figure Brands"},
{category = "Merchandise Boxes"},
{category = "T-Shirts"},
},
["Guidebooks"] = {
{category = "Guidebooks by Nintendo of America", display = "Nintendo of America"},
{category = "Guidebooks by Nintendo Power", display = "Nintendo Power"},
{category = "Guidebooks by Piggyback Interactive Limited", display = "Piggyback"},
{category = "Guidebooks by Prima Games", display = "Prima"},
{category = "Guidebooks by Shogakukan", display = "Shogakukan"},
{category = "Guidebooks by Versus Books", display = "Versus Books"},
}
}
}