Difference between revisions of "Template:Area infobox"
Jump to navigation
Jump to search
m |
(+aetherytes, +weather conditions) |
||
Line 1: | Line 1: | ||
{{#set:Has context=Location}}{{#switch:{{lc:{{{release|}}}}}|heavensward = {{Heavensward expansion content}}|stormblood = {{Stormblood expansion content}}}}<!-- | {{#set:Has context=Location}}{{#switch:{{lc:{{{release|}}}}}|heavensward = {{Heavensward expansion content}}|stormblood = {{Stormblood expansion content}}}}<!-- | ||
--> | --><!-- Count quests which have this location, defaults to zero otherwise -->{{#vardefine:quests|{{{quests|{{#ask: [[Has context::Location]][[Has availability::Current]][[Located in::{{PAGENAME}}]] | ?Has quests | link = none | format = sum | default = 0 }}}}}}}<div class="infobox-n area"> | ||
}}}}<div class="infobox-n area"> | |||
<p class="heading">[[Has canonical name::{{{name|{{#titleparts:{{PAGENAME}}}}}}}]]</p> | <p class="heading">[[Has canonical name::{{{name|{{#titleparts:{{PAGENAME}}}}}}}]]</p> | ||
<!-- $DISABLED <div class="statistics"> | <!-- $DISABLED <div class="statistics"> | ||
Line 64: | Line 53: | ||
}}{{#if: {{{connections|}}} | | }}{{#if: {{{connections|}}} | | ||
;Connects to | ;Connects to | ||
:{{ucfirst:{{{connections}}}}}}}<!-- | :{{ucfirst:{{{connections}}}}} | ||
}}{{#if: {{{aetherytes|}}} | | |||
;Aetherytes | |||
:{{#arraymap:{{{aetherytes}}}|,|@@@|[[{{#explode:@@@|~|0}}]] {{convert coordinate|{{#explode:@@@|~|1}}}} {{#set:Has aetheryte=@@@}} |}} | |||
}}{{#if: {{{weather|}}} | | |||
;Weather | |||
:{{#arraymap:{{{weather}}}|,|@@@|[[Has weather condition::{{ucfirst:@@@}}]]|}} | |||
}}<!-- | |||
--><!-- $DISABLED {{#switch:{{lc:{{{type|}}}}} | --><!-- $DISABLED {{#switch:{{lc:{{{type|}}}}} | ||
| poi | point of interest = !-- only display a chat link for points, nothing else creates a valid link (would include waypoints and vistas but they don't get pages) -- | | poi | point of interest = !-- only display a chat link for points, nothing else creates a valid link (would include waypoints and vistas but they don't get pages) -- | ||
Line 127: | Line 123: | ||
| within = | | within = | ||
| quests = | | quests = | ||
| | | aetherytes = | ||
| weather = | |||
| map = | | map = | ||
| levels = | | levels = | ||
Line 149: | Line 146: | ||
; quests | ; quests | ||
: Number of [[quest]]s | : Number of [[quest]]s | ||
; | ; aetherytes | ||
: | : Aetherytes available in the current map. Accepts slash-separated list in the form <code><nowiki><aetheryte name>~<x,y,z coordinates></nowiki></code>. | ||
; weather | |||
: Weather conditions. Accepts comma-separated names. | |||
; map | ; map | ||
: Map image (do not include the "File:" prefix). Defaults to '<tt><nowiki>{{PAGENAME}} map.jpg</nowiki></tt>' | : Map image (do not include the "File:" prefix). Defaults to '<tt><nowiki>{{PAGENAME}} map.jpg</nowiki></tt>' | ||
Line 177: | Line 176: | ||
| name = Queensdale | | name = Queensdale | ||
| quests = 17 | | quests = 17 | ||
| | | aetherytes = Quarrymill~12, 5.18 / New Camp~32.2, 13, 18.9 | ||
| weather = clear skies, fog, clouds, thunder | |||
| map = Queensdale_map.jpg | | map = Queensdale_map.jpg | ||
| levels = 1-17 | | levels = 1-17 | ||
Line 203: | Line 203: | ||
| name = Queensdale | | name = Queensdale | ||
| quests = 17 | | quests = 17 | ||
| | | aetherytes = Quarrymill~12, 5.18 / New Camp~32.2, 13, 18.9 | ||
| weather = clear skies, fog, clouds, thunder | |||
| map = Queensdale_map.jpg | | map = Queensdale_map.jpg | ||
| levels = 1-17 | | levels = 1-17 |
Revision as of 20:28, 20 June 2017
Area infobox
- Type
- Unknown
Description
This infobox should be used for regions, zones, areas, landmarks, etc., i.e. all locations mentioned here. See also parameter type below.
{{Area infobox | name = | type = | within = | quests = | aetherytes = | weather = | map = | levels = | connections = | loading-screen = | screenshot = | sstext = | id = }}
Parameters
All parameters are optional.
- name
- Location name. Defaults to {{PAGENAME}}
- type
- The type of location. Use plain text with no wiki-links.
- within
- The parent location of the location being described. Use plain text with no wiki-links. For zones, this should be a region; for areas, this should be a zone; for everything else, this will usually be an area. If within is an area or zone, the parent of within will be displayed underneath in small text.
- coordinates
- If specified, indicates position of a location within the world map.
- quests
- Number of quests
- aetherytes
- Aetherytes available in the current map. Accepts slash-separated list in the form
<aetheryte name>~<x,y,z coordinates>
. - weather
- Weather conditions. Accepts comma-separated names.
- map
- Map image (do not include the "File:" prefix). Defaults to '{{PAGENAME}} map.jpg'
- levels
- Depends on the type used, see as follows
- Zone: The level range for the zone. Separate minimum and maximum levels with a single hyphen "-", e.g.
60 - 70
- Area: The effective level of the area. For the case of dungeon areas where there is an explorable level and a story level, separate values with commas.
- connections
- Other locations that this one has connections to. Usually 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. See the Queensdale example below.
- loading-screen
- Loading screen image (do not include the "File:" prefix). Defaults to '{{PAGENAME}} loading screen.jpg'
- screenshot
- Screenshot (do not include the "File:" prefix). Defaults to '{{PAGENAME}}.jpg'
- sstext
- Screenshot text
- locator
- Optional. Use to specify the SVG locator image if the page name doesn't match the filename. Defaults to '{{PAGENAME}} locator.svg'
- objectives
- Optional. Defaults to "n". Only set equal to "y" if the location has map objectives that contribute towards world completion (core tyria).
- release
- The expansion required to access the content. Displays a notice of the release.
Examples
{{Area infobox | name = Queensdale | quests = 17 | aetherytes = Quarrymill~12, 5.18 / New Camp~32.2, 13, 18.9 | weather = clear skies, fog, clouds, thunder | map = Queensdale_map.jpg | levels = 1-17 | within = Kryta | type = Zone | connections = [[Divinity's Reach]] (N)<br>[[Gendarran Fields]] (E)<br>[[Kessex Hills]] (S) | pets = [[Krytan Drakehound]]<br>[[Forest Spider]]<br>[[Pig]]<br>[[River Drake]] | loading-screen = Queensdale loading screen.jpg }} {{Area infobox | name = Salma District | landmarks = 5 | map = Salma District Map POI.jpg | type = Instance | within = Divinity's Reach | loading-screen = Salma District loading screen.jpg }} {{Area infobox | name = Barradin's Vaults | type = Landmark | within = Charr's Triumph }}
Queensdale
- Levels
- 1 – 17
- Type
- Zone
- Within
- Kryta
- Connects to
- Divinity's Reach (N)
Gendarran Fields (E)
Kessex Hills (S) - Aetherytes
- Quarrymill (X:12, Y:)5.18 / New Camp (X:32.2, Y:)1318.9
- Weather
- Clear skiesFogCloudsThunder
Salma District
- Type
- Instance
- Within
- Divinity's Reach
Barradin's Vaults
- Type
- Landmark
- Within
- Charr's Triumph