This is the documentation page for Module:Franchise List
This module generates lists based on the entries in Data:Franchise.
This module exports the following functions.
GameLinks
{{#invoke:Franchise List|GameLinks|type=|link=}}
Creates a list of links for each game in Data:Franchise, for use in navbox templates.
Parameters
Parameter | Status | Description | Accepted values |
---|
type | required | Indicates whether to generate links for main games or spin-off games. | |
link | required | A templated article name used to generate a link for each game. Supported variables include:
| |
Examples
# | Input | Output |
---|
1 | {{#invoke:Franchise List|GameLinks|type= main|link= Enemies in $shortName}}
| The Legend of Zelda, The Adventure of Link, A Link to the Past, Link's Awakening (DX ◦ Nintendo Switch), Ocarina of Time (3D), Majora's Mask, Oracle of Seasons, Oracle of Ages, Four Swords, The Wind Waker, Four Swords Adventures, The Minish Cap, Twilight Princess (HD), Phantom Hourglass, Spirit Tracks, Skyward Sword (HD), A Link Between Worlds, Tri Force Heroes, Breath of the Wild, Tears of the Kingdom |
2 | {{#invoke:Franchise List|GameLinks|type= spin-off|link= Characters in $shortName}}
| The Faces of Evil, The Wand of Gamelon, Zelda's Adventure, Ancient Stone Tablets, Freshly-Picked Tingle's Rosy Rupeeland, Ripened Tingle's Balloon Trip of Love, Hyrule Warriors (Definitive Edition), Cadence of Hyrule, Hyrule Warriors: Age of Calamity |
Overriding link for specific entries |
---|
3 | {{#invoke:Franchise List|GameLinks|type= spin-off|link= Dungeons in $shortName|LCT= Stages in $shortName}}
| BS The Legend of Zelda, Zelda's Adventure, Ancient Stone Tablets, Freshly-Picked Tingle's Rosy Rupeeland, Link's Crossbow Training, Cadence of Hyrule |
Specifying multiple links per game |
---|
4 | {{#invoke:Franchise List|GameLinks|type= main|link= Locations in $shortName|FSA= Levels in $shortName, Stages in $shortName}}
| The Legend of Zelda, The Adventure of Link, A Link to the Past, Link's Awakening (Nintendo Switch), Ocarina of Time (3D), Majora's Mask, Oracle of Seasons, Oracle of Ages, The Wind Waker, Four Swords Adventures (Levels ◦ Stages), The Minish Cap, Twilight Princess, Phantom Hourglass, Spirit Tracks, Skyward Sword, A Link Between Worlds, Tri Force Heroes, Breath of the Wild, Tears of the Kingdom |