Template:Spawn Locations/Documentation
Jump to navigation
Jump to search
Purpose
Lists the locations in which a given character, creature, enemy, item, or material appears.
It works by listing all location articles which have the given subject as an entry in {{Gallery List}}
.[note 1]
Usage
{{Spawn Locations}}
is intended to be used as the value of the following infobox fields:
Infobox | Field |
---|---|
Template:Infobox Enemy | habitat
|
Template:Infobox Object | locations
|
Currently {{Spawn Locations}}
is the default value for the habitat
field when empty. However, it's best that this template be added explicitly to the page source for the sake of clarity.
Examples
Page | Input | Result |
---|---|---|
Green Bokoblin (Archer) | {{Spawn Locations}} |
|
Skulltula | {{Spawn Locations}} |
|
Arwing (not an actual enemy) | {{Spawn Locations}} |
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:
This is the documentation page, it should be transcluded into the main template page. See here for more information.