Template:Area infobox: Difference between revisions
Changed description display - blank description will now show nothing (previously showed "No description available.") |
Cryebunnie (talk | contribs) No edit summary |
||
| Line 134: | Line 134: | ||
}}<!-- | }}<!-- | ||
-->{{#if: {{{description|}}}|{{Quotation|{{#if:{{{description-source|}}}|{{{description-source|}}}|In-game description}}|{{Colorize|{{{description}}}}}{{#set:Has game description={{#replace:{{{description}}}|`|}}}}}}|}} | -->{{#if: {{{description|}}}|{{Quotation|{{#if:{{{description-source|}}}|{{{description-source|}}}|In-game description}}|{{Colorize|{{{description}}}}}{{#set:Has game description={{#replace:{{{description}}}|`|}}}}}}|}} | ||
{{#if:{{{no-footer-text|}}}|[[Category:Location pages with no-footer-text set]]|'''{{{name|{{#titleparts:{{PAGENAME}}}}}}}''' is {{#ifeq:{{lc:{{{type|}}}}}|area|an|a}} [[{{{type}}}]]{{#if:{{{within|}}}| in {{cname|{{{within|}}}}}{{#switch:{{{type|}}}|landmark|area={{#if:{{#var:parent-of-within}}|, {{#var:parent-of-within}}}}}}}}.}}</includeonly><noinclude> | {{#if:{{{no-footer-text|1}}}|[[Category:Location pages with no-footer-text set]]|'''{{{name|{{#titleparts:{{PAGENAME}}}}}}}''' is {{#ifeq:{{lc:{{{type|}}}}}|area|an|a}} [[{{{type}}}]]{{#if:{{{within|}}}| in {{cname|{{{within|}}}}}{{#switch:{{{type|}}}|landmark|area={{#if:{{#var:parent-of-within}}|, {{#var:parent-of-within}}}}}}}}.}}</includeonly><noinclude> | ||
{{documentation}} | {{documentation}} | ||
Revision as of 21:52, 15 March 2026
This infobox is used on all location pages.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name | Location name. Defaults to {{PAGENAME}}
| String | optional |
| Type | type | The type of location. Accepts: region, city, area, zone, landmark.
| String | optional |
| Within | within | This sets the category the location is "in" (i.e. Locations in The Black Shroud) This should be the in-game parent location of the location being described. Use plain text with no wiki-links. For zones, this should be a region. For areas and landmarks, this should be a zone. Areas and landmarks should list the zone. If a zone is accessed via another zone (such as an inn) that zone can be considered what it is "in".
| String | optional |
| Zone | zone | The name of the map which is used for coordinates in the game. | String | optional |
| Description | description | Description of the location put in quotes. | String | optional |
| Description source | description-source | The source for the description parameter. If a description is given, this is necessary. | String | suggested |
| Release | release | The expansion required to access the content. Displays a notice of the release.
| String | optional |
| Patch | patch | The patch in which this location was added to the game.
| Number | optional |
| Weather | weather | If zone, weather conditions possible. Separate multiple conditions with comma (,). See [[Weather]] for all possible weathers conditions.
| String | optional |
| Red Alert Weather | weather-red-alert | For Cosmic Exploration zones, possible Red Alert weather conditions. See the Red Alert section of [[Weather]] for possible options.
| String | optional |
| Levels | levels | If zone: The level range for the zone. Separate minimum and maximum levels with a single hyphen "-", e.g. 60 - 70. <br> If area: The effective level of the area. For the case of dungeon areas where there are extra modes, separate values with commas.
| String | optional |
| Icon | icon | The icon to display in the top-right corner of the infobox.
| File | optional |
| Flag | flag-image | Flag image for if the location is a city-state or nation. Do not include the "File:" prefix. | File | optional |
| Map | map | Map image (do not include the "File:" prefix). Defaults to '{{PAGENAME}} map.jpg'
| File | optional |
| Screenshot | screenshot | Screenshot (do not include the "File:" prefix). Defaults to '{{PAGENAME}}.jpg' | File | optional |
| Screenshot text | sstext | Text displayed beneath screenshot. | String | optional |
| Loading Screen image | loading-screen | Loading screen image (do not include the "File:" prefix). Defaults to '{{PAGENAME}} loading screen.jpg' | File | optional |
| Coordinates | coordinates | If specified, indicates position of a location within the world map. | String | optional |
| Connections | connections | Other locations that this one has connections to. Only specified on zones. Separate multiple connections with <br> and add your own wiki-links. The cardinal direction is usually specified in brackets after the zone name; (N), (S), (E), (W), (NE), etc. In the case of a portal, add (portal) instead of direction.
| String | optional |
| Aetheryte #1 | aetheryte1 | Aetherytes available in the current map. Accepts the form <aetheryte name>;<x,y,z coordinates>.
| String | optional |
| Aetheryte #2 | aetheryte2 | Aetherytes available in the current map. Accepts the form <aetheryte name>;<x,y,z coordinates>.
| String | optional |
| Aetheryte #3 | aetheryte3 | Aetherytes available in the current map. Accepts the form <aetheryte name>;<x,y,z coordinates>.
| String | optional |
| Aetheryte #4 | aetheryte4 | Aetherytes available in the current map. Accepts the form <aetheryte name>;<x,y,z coordinates>.
| String | optional |
| No footer text | no-footer-text | Normally the text "Name is a <Type> in <within>" will be added at the end of the template (after the infobox). By checking this box, this text will not appear.
| Boolean | optional |
Examples
{{Area infobox
| name = South Shroud
| map = South Shroud map.jpg
| type = zone
| within = The Black Shroud
| coordinates =
| description = In days of yore, the city of Amdapor flourished amidst the trees of the South Shroud. Now, the Lumberline cuts through the area from north to south, and the merchants traveling the trading route must be wary of brigands with an eye for their wares.
| aetheryte1 = Quarrymill;25.0, 20.1
| aetheryte2 = Camp Tranquil;16.8, 28.6
| weather = gloom, fog, storm clouds, thunder, thunderstorms, tension
| levels = 20 - 35
| connections = [[Central Shroud]] (NW)<br>[[East Shroud]] (N)<br>[[Eastern Thanalan]] (SW)
}}
South Shroud
- Levels
- 20 – 35
- Type
- Zone
- Zone
- The Black Shroud
(Hydaelyn) - Connects to
- Central Shroud (NW)
East Shroud (N)
Eastern Thanalan (SW) - Aetherytes
- Quarrymill (X:25.0, Y:20.1)
Camp Tranquil (X:16.8, Y:28.6)
In days of yore, the city of Amdapor flourished amidst the trees of the South Shroud. Now, the Lumberline cuts through the area from north to south, and the merchants traveling the trading route must be wary of brigands with an eye for their wares.
— In-game description
{{Area infobox
| name = South Shroud
| icon = Gold saucer icon2.png
| map = South Shroud map.jpg
| type = zone
| within = The Black Shroud
| coordinates =
| description = In days of yore, the city of Amdapor flourished amidst the trees of the South Shroud. Now, the Lumberline cuts through the area from north to south, and the merchants traveling the trading route must be wary of brigands with an eye for their wares.
| aetheryte1 = Quarrymill;25.0, 20.1
| aetheryte2 = Camp Tranquil;16.8, 28.6
| weather = gloom, fog, storm clouds, thunder, thunderstorms, tension
| levels = 20 - 35
| connections = [[Central Shroud]] (NW)<br>[[East Shroud]] (N)<br>[[Eastern Thanalan]] (SW)
| no-footer-text = y
}}
South Shroud
- Levels
- 20 – 35
- Type
- Zone
- Zone
- The Black Shroud
(Hydaelyn) - Connects to
- Central Shroud (NW)
East Shroud (N)
Eastern Thanalan (SW) - Aetherytes
- Quarrymill (X:25.0, Y:20.1)
Camp Tranquil (X:16.8, Y:28.6)
In days of yore, the city of Amdapor flourished amidst the trees of the South Shroud. Now, the Lumberline cuts through the area from north to south, and the merchants traveling the trading route must be wary of brigands with an eye for their wares.
— In-game description