Difference between revisions of "Template:Infobox location/doc"
Jump to navigation
Jump to search
Margotbean (talk | contribs) |
Margotbean (talk | contribs) (update) |
||
Line 15: | Line 15: | ||
|width = | |width = | ||
|occupants = | |occupants = | ||
+ | |island = | ||
|}}</pre> | |}}</pre> | ||
Line 28: | Line 29: | ||
|width = Override the default width of the image (optional) | |width = Override the default width of the image (optional) | ||
|occupants = NPCs that live in the location, using [[Template:NPC]] | |occupants = NPCs that live in the location, using [[Template:NPC]] | ||
+ | |island = true (Optional, will display the map with Ginger Island inset) | ||
|}}</pre> | |}}</pre> | ||
<includeonly>[[Category:Infobox templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> | <includeonly>[[Category:Infobox templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> | ||
<includeonly>{{Addlanglinks}}</includeonly> | <includeonly>{{Addlanglinks}}</includeonly> |
Revision as of 20:44, 25 January 2021
Description
This template is used to provide an infobox for locations.
Usage
This template can be used by entering the following onto a relevant page.
{{Infobox location |name = |mapx = |mapy = |building = |openhours = |closed = |address = |width = |occupants = |island = |}}
parameters
{{Infobox location |name = Location name (defaults to pagename) |mapx = The image's X coordinate |mapy = The image's Y coordinate |building = The image name, minus the File: |openhours = The hours the store is open |closed = The days the store is closed |address = Location |width = Override the default width of the image (optional) |occupants = NPCs that live in the location, using [[Template:NPC]] |island = true (Optional, will display the map with Ginger Island inset) |}}