Template:Gallery List
Purpose
Creates galleries for use on listings pages. Also used on location articles (including dungeons and stages) to list its creatures, enemies, stage items, or materials.
The data from these lists is stored for other purposes. When this template is used on location articles, each list is stored into the LocationFeatures Cargo table for use by {{Spawn Locations}}
.[note 1] When the storeAs
parameter is used, lists are also stored in the Sequences Cargo table for use by Template:Sort Value, Module:Sequences, and maybe someday Template:Translation Page among others.
If you wish for a page to store data for {{Spawn Locations}}
without displaying a gallery, you can use Template:Store Spawns instead.
Usage
This template requires that files be standardized as per Guidelines:Files.
Parameters
{{Gallery List|subjectType |<game> = <page1>, <page2>, ..., <pageN> }}
- <game> — A game abbreviation from Data:Franchise.
- subjectType — One of:
- Characters
- Creatures
- Enemies
- Locations
- Items
- Materials
- Objects
{{Gallery List|subjectType|fileType= |storeAs= |caption= |perrow= |widths= |heights= |<game> = <page1>, <page2>, ..., <pageN> }}
- <game> — A game abbreviation from Data:Franchise.
- subjectType — One of:
- Characters
- Creatures
- Enemies
- Locations
- Items
- Materials
- Objects
- fileType — Defaults to
Sprite
for 2D games,Model
for 3D games, and blank forLocations
in all games. - storeAs — A sequence name for storage in the Sequences Cargo table (see #Purpose above).
- caption — A gallery caption. Corresponds to the
caption
gallery attribute. - perrow — Sets the maximum number of gallery entries per row. Used for mirroring in-game grid layouts, e.g. TWW Islands and OoX Rings.
- widths — Sets the widths of gallery entries, overriding the default set for the given game and subject type in Module:Gallery List/Data. Corresponds to the
widths
gallery attribute. - heights — Sets the heights of gallery entries, overriding the default set for the given game and subject type in Module:Gallery List/Data. Corresponds to the
heights
gallery attribute.
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
subjectType | 1 | The type of subject being listed. | String | required |
fileType | fileType | Sets a custom filename suffix for gallery entries | String | optional |
storeAs | storeAs | Stores the list in the [[Special:CargoTables/Sequences|Sequences]] Cargo table for use by [[Template:Sort Value]] and [[Module:Sequences]]. | String | optional |
caption | caption | Caption text for the gallery. | String | optional |
perrow | perrow | Maximum number of thumbnails to show per row in the gallery. | Number | optional |
widths | widths | A value in pixels. Sets the width of gallery entries, overriding any default set in [[Module:Gallery List/Data]] | String | optional |
heights | heights | A value in pixels. Sets the heights of gallery entries, overriding any default set in [[Module:Gallery List/Data]] | String | optional |
TLoZ | TLoZ | Comma-separated list of wiki page names referring to subjects in ''The Legend of Zelda'' | String | optional |
TAoL | TAoL | Comma-separated list of wiki page names referring to subjects in ''The Adventure of Link'' | String | optional |
ALttP | ALttP | Comma-separated list of wiki page names referring to subjects in ''A Link to the Past'' | String | optional |
LA | LA | Comma-separated list of wiki page names referring to subjects in ''Link's Awakening'' | String | optional |
LADX | LADX | Comma-separated list of wiki page names referring to subjects in ''Link's Awakening DX'' | String | optional |
LANS | LANS | Comma-separated list of wiki page names referring to subjects in ''Link's Awakening'' for Nintendo Switch | String | optional |
OoT | OoT | Comma-separated list of wiki page names referring to subjects in ''Ocarina of Time'' | String | optional |
OoTMQ | OoTMQ | Comma-separated list of wiki page names referring to subjects in ''Ocarina of Time Master Quest'' | String | optional |
OoT3D | OoT3D | Comma-separated list of wiki page names referring to subjects in ''Ocarina of Time 3D'' | String | optional |
MM | MM | Comma-separated list of wiki page names referring to subjects in ''Majora's Mask'' | String | optional |
MM3D | MM3D | Comma-separated list of wiki page names referring to subjects in ''Majora's Mask 3D'' | String | optional |
OoS | OoS | Comma-separated list of wiki page names referring to subjects in ''Oracle of Seasons'' | String | optional |
OoA | OoA | Comma-separated list of wiki page names referring to subjects in ''Oracle of Ages'' | String | optional |
FS | FS | Comma-separated list of wiki page names referring to subjects in ''Four Swords'' | String | optional |
FSAE | FSAE | Comma-separated list of wiki page names referring to subjects in ''Four Swords Anniversary Edition'' | String | optional |
TWW | TWW | Comma-separated list of wiki page names referring to subjects in ''The Wind Waker'' | String | optional |
TWWHD | TWWHD | Comma-separated list of wiki page names referring to subjects in ''The Wind Waker HD'' | String | optional |
FSA | FSA | Comma-separated list of wiki page names referring to subjects in ''Four Swords Adventures'' | String | optional |
TMC | TMC | Comma-separated list of wiki page names referring to subjects in ''The Minish Cap'' | String | optional |
TP | TP | Comma-separated list of wiki page names referring to subjects in ''Twilight Princess'' | String | optional |
TPHD | TPHD | Comma-separated list of wiki page names referring to subjects in ''Twilight Princess HD'' | String | optional |
PH | PH | Comma-separated list of wiki page names referring to subjects in ''Phantom Hourglass'' | String | optional |
ST | ST | Comma-separated list of wiki page names referring to subjects in ''Spirit Tracks'' | String | optional |
SS | SS | Comma-separated list of wiki page names referring to subjects in ''Skyward Sword'' | String | optional |
SSHD | SSHD | Comma-separated list of wiki page names referring to subjects in ''Skyward Sword HD'' | String | optional |
ALBW | ALBW | Comma-separated list of wiki page names referring to subjects in ''A Link Between Worlds'' | String | optional |
TFH | TFH | Comma-separated list of wiki page names referring to subjects in ''Tri Force Heroes'' | String | optional |
BotW | BotW | Comma-separated list of wiki page names referring to subjects in ''Breath of the Wild'' | String | optional |
TotK | TotK | Comma-separated list of wiki page names referring to subjects in ''Tears of the Kingdom'' | String | optional |
ZG&W | ZG&W | Comma-separated list of wiki page names referring to subjects in ''Zelda'' (Game & Watch) | String | optional |
TLoZGW | TLoZGW | Comma-separated list of wiki page names referring to subjects in ''The Legend of Zelda'' Game Watch | String | optional |
TFoE | TFoE | Comma-separated list of wiki page names referring to subjects in ''The Faces of Evil'' | String | optional |
TWoG | TWoG | Comma-separated list of wiki page names referring to subjects in ''The Wand of Gamelon'' | String | optional |
BSTLoZ | BSTLoZ | Comma-separated list of wiki page names referring to subjects in ''BS The Legend of Zelda'' | String | optional |
ZA | ZA | Comma-separated list of wiki page names referring to subjects in ''Zelda's Adventure'' | String | optional |
AST | AST | Comma-separated list of wiki page names referring to subjects in ''Ancient Stone Tablets'' | String | optional |
FPTRR | FPTRR | Comma-separated list of wiki page names referring to subjects in ''Freshly-Picked Tingle's Rosy Rupeeland'' | String | optional |
TBFDS | TBFDS | Comma-separated list of wiki page names referring to subjects in ''Tingle's Balloon Fight DS'' | String | optional |
LCT | LCT | Comma-separated list of wiki page names referring to subjects in ''Link's Crossbow Training'' | String | optional |
TMTP | TMTP | Comma-separated list of wiki page names referring to subjects in ''Too Much Tingle Pack'' | String | optional |
RTBToL | RTBToL | Comma-separated list of wiki page names referring to subjects in ''Ripened Tingle's Balloon Trip of Love'' | String | optional |
HW | HW | Comma-separated list of wiki page names referring to subjects in ''Hyrule Warriors'' | String | optional |
HWL | HWL | Comma-separated list of wiki page names referring to subjects in ''Hyrule Warriors Legends'' | String | optional |
HWDE | HWDE | Comma-separated list of wiki page names referring to subjects in ''Hyrule Warriors: Definitive Edition'' | String | optional |
MNPTP | MNPTP | Comma-separated list of wiki page names referring to subjects in ''My Nintendo Picross: Twilight Princess'' | String | optional |
CoH | CoH | Comma-separated list of wiki page names referring to subjects in ''Cadence of Hyrule'' | String | optional |
HWAoC | HWAoC | Comma-separated list of wiki page names referring to subjects in ''Hyrule Warriors: Age of Calamity'' | String | optional |
Tags
Each gallery entry can be augmented with one or more tags enclosed in square brackets ([]
).
Variants
To generate filenames for unnamed variants of a subject, such as File:TLoZ Keese Sprite 2.png or File:TLoZ Keese Vire Sprite.png, place the variant name in square brackets after the subject's name. For entities which are only mentioned in text and have no image, place [No Image]
after the name to display File:No Image.png. The bracket syntax can also be used to specify a custom filename, though this should be avoided in most cases.
Input | Generated Filename | |
---|---|---|
Game | Entry | |
TLoZ
|
Keese [2]
|
File:TLoZ Keese Sprite 2.png |
TLoZ
|
Keese [Vire]
|
File:TLoZ Keese Vire Sprite.png |
ST
|
Quiver ["50"]
|
File:ST Quiver 50 Icon.png |
TMC
|
Hyper Pico Bloom [No Image]
|
File:No Image.png |
TMC
|
Stained Glass [File:TMC Stained Glass Artwork.png]
|
File:TMC Stained Glass Artwork.png |
[Qty]
Used, in location articles, this tag indicates how many of a given subject appear at a given location.
Syntax: [Qty:n]
[Sublocation]
This tag is used to indicate that an enemy is listed in a particular location because it appears in a sublocation of said location.
For example, on the Jail article, the Rat entry is tagged with [Sublocation:Jail Maze]
to indicate that Rats actually appear in the Jail Maze within the Jail. This generates a hatnote to explain this and ensures that Jail is not listed as a habitat in the Rat infobox—this would be redundant as Jail Maze is already listed.
Syntax: [Sublocation:x]
where x is the name of a sublocation
or [Sublocation:x1:x2:x3]
to specify multiple sublocations
Examples
{{Gallery List|Characters|storeAs= Anouki Villagers |ST= Bulu, Honcho, Kofu, Noko, Yefu, Yeko }}
{{Gallery List|Enemies |SS= Burr, Deku Baba, Froak {{Small|(Second visit only)}} }}
{{Gallery List|Enemies |MM= Deku Baba, Mini Baba, Snapper (Turtle) |MM3D= Stalfos, Wolfos }}
fileType
parameter can be used when the default file type does not apply. Icon
is the default for items in 3D games, but it doesn't work for Ship Parts which have no unique icons.
{{Gallery List|Items|fileType= Model |ST= Spirit Engine, Practical Cannon, Solid Passenger Car, Trusty Freight Car }}
{{Gallery List|Enemies |TLoZ= Blue Darknut, Red Darknut, Keese, Keese [Vire], Keese [2], Keese [3] }}
{{Gallery List|Objects |TMC= Bed, Pico Bloom, Stained Glass [File:TMC Stained Glass Artwork.png] }}
[No Image]
to list a subject that is only mentioned but never seen.
{{Gallery List|Objects |TMC= Cyber Pico Bloom [No Image], Hyper Pico Bloom [No Image], Super Pico Bloom [No Image] }}
{{Gallery List|Enemies |TWW= Rat [Qty:4][Sublocation:Jail Maze] }}
{{Gallery List|Enemiez |oot= Keese, Like Like, Lizalfos |invalidGame= Keese, Like Like, Lizalfos }}
Guidelines
List subjects according to a natural in-game sequence when one exists.
- List bosses, dungeons, and stages in the order that they are encountered, when the game is linear.
- List quest items in the order they are obtained, when the game is linear.
- List like enemies and inventory items from least powerful to most powerful.
If no natural in-game order exists, simply list subjects alphabetically. For example:
(While some items and characters are encountered before others, Zelda games tend to not be strictly linear in this regard.)
Notes
- ↑ Module:Gallery List determines an article to be a "location article" (and therefore stores data for
{{Spawn Locations}}
) if the article uses any of the following infoboxes: