Template:Infobox location/doc: Difference between revisions
Appearance
imported>Margotbean No edit summary |
imported>Margotbean m Text replacement - "==Usage==" to "==Use==" |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 2: | Line 2: | ||
This template is used to provide an infobox for locations. | This template is used to provide an infobox for locations. | ||
== | ==Use== | ||
This template can be used by entering the following onto a relevant page. | This template can be used by entering the following onto a relevant page. '''Do not use this on your user page. It is reserved for content pages.''' | ||
<pre>{{Infobox location | <pre>{{Infobox location | ||
| 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> | ||
Latest revision as of 21:01, 8 January 2023
Description
This template is used to provide an infobox for locations.
Use
This template can be used by entering the following onto a relevant page. Do not use this on your user page. It is reserved for content pages.
{{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)
|}}