Difference between revisions of "Template:Area infobox"
Whitenorth (talk | contribs) |
|||
(34 intermediate revisions by 6 users not shown) | |||
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}}|shadowbringers = {{Shadowbringers expansion content}}|endwalker = {{Endwalker expansion content}}|dawntrail = {{Dawntrail expansion content}}|#default=}}{{#if:{{{release|}}}| |{{#switch:{{{patch|}}}|1.0|2.0|2.05|2.1|2.15|2.16|2.2|2.21|2.25|2.28|2.3|2.35|2.38|2.4|2.41|2.45|2.5|2.51|2.55|2.56|2.57=|#default=[[Category:Missing release]]}}}}<!-- | ||
--><!-- 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"> | --><!-- 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">{{#if: {{{icon|}}} | ||
| <div class="icon">[[File:{{{icon}}}|40px]]</div> | |||
}} | |||
<p class="heading">[[Has canonical name::{{{name|{{#titleparts:{{PAGENAME}}}}}}}]]</p> | <p class="heading">[[Has canonical name::{{{name|{{#titleparts:{{PAGENAME}}}}}}}]]</p> | ||
<div class="statistics"><!-- | <div class="statistics"><!-- | ||
-->{{#if: {{{weather|}}} |{{#arraymap:{{{weather}}}|,|@@@|{{#switch:{{lc:@@@}} | -->{{#if: {{{weather|}}} |{{#arraymap:{{{weather}}}|,|@@@|{{#switch:{{lc:@@@}} | ||
| blizzard = [[File:Blizzard (weather).png|18px|link= | | blizzard = [[File:Blizzard (weather).png|18px|link=Blizzards]]{{#set:Has weather condition=Blizzard}} | ||
| thunder = [[File:Thunder (weather).png|18px|link=Thunder (weather)]]{{#set:Has weather condition=Thunder}} | | thunder = [[File:Thunder (weather).png|18px|link=Thunder (weather)]]{{#set:Has weather condition=Thunder}} | ||
| clear skies = [[File:Clear Skies.png|18px|link=Clear Skies]]{{#set:Has weather condition=Clear Skies}} | | clear skies = [[File:Clear Skies.png|18px|link=Clear Skies]]{{#set:Has weather condition=Clear Skies}} | ||
Line 13: | Line 15: | ||
| umbral wind = [[File:Umbral Wind.png|18px|link=Umbral Wind]]{{#set:Has weather condition=Umbral Wind}} | | umbral wind = [[File:Umbral Wind.png|18px|link=Umbral Wind]]{{#set:Has weather condition=Umbral Wind}} | ||
| core radiation = [[File:Core Radiation.png|18px|link=Core Radiation]]{{#set:Has weather condition=Core Radiation}} | | core radiation = [[File:Core Radiation.png|18px|link=Core Radiation]]{{#set:Has weather condition=Core Radiation}} | ||
| gales = [[File:Gales.png|18px|link=Gales (Weather)]]{{#set:Has weather condition=Gales}} | |||
| gales (garuda) = [[File:Gales (Garuda).png|18px|link=Gales (Garuda)]]{{#set:Has weather condition=Gales (Garuda)}} | | gales (garuda) = [[File:Gales (Garuda).png|18px|link=Gales (Garuda)]]{{#set:Has weather condition=Gales (Garuda)}} | ||
| gloom (king moggle mog) = [[File:Gloom (King Moggle Mog).png|18px|link=Gloom (King Moggle Mog)]]{{#set:Has weather condition=Gloom (King Moggle Mog)}} | | gloom (king moggle mog) = [[File:Gloom (King Moggle Mog).png|18px|link=Gloom (King Moggle Mog)]]{{#set:Has weather condition=Gloom (King Moggle Mog)}} | ||
| heat | | heat waves = [[File:Heat Waves.png|18px|link=Heat Waves]]<!-- Ifrit -->{{#set:Has weather condition=Heat Waves}} | ||
| hot spells = [[File:Hot Spells.png|18px|link=Hot Spells]]{{#set:Has weather condition=Hot Spells}} | | hot spells = [[File:Hot Spells.png|18px|link=Hot Spells]]{{#set:Has weather condition=Hot Spells}} | ||
| rough seas = [[File:Rough Seas.png|18px|link=Rough Seas]]{{#set:Has weather condition=Rough Seas}} | | rough seas = [[File:Rough Seas.png|18px|link=Rough Seas]]{{#set:Has weather condition=Rough Seas}} | ||
Line 21: | Line 24: | ||
| shelf clouds = [[File:Shelf Clouds.png|18px|link=Shelf Clouds]]{{#set:Has weather condition=Shelf Clouds}} | | shelf clouds = [[File:Shelf Clouds.png|18px|link=Shelf Clouds]]{{#set:Has weather condition=Shelf Clouds}} | ||
| storm clouds = [[File:Storm Clouds.png|18px|link=Storm Clouds]]{{#set:Has weather condition=Storm Clouds}} | | storm clouds = [[File:Storm Clouds.png|18px|link=Storm Clouds]]{{#set:Has weather condition=Storm Clouds}} | ||
| everlasting light = [[File:Everlasting Light.png|18px|link=Everlasting Light]]{{#set:Has weather condition=Everlasting Light}} | |||
| quick levin = [[File:Quick Levin.png|18px|link=Quick Levin]]{{#set:Has weather condition=Quick Levin}} | |||
| umbral tempest = [[File:Umbral Tempest.png|18px|link=Umbral Tempest]]{{#set:Has weather condition=Umbral Tempest}} | |||
| umbral flare = [[File:Umbral Flare (Weather).png|18px|link=Umbral Flare (Weather)]]{{#set:Has weather condition=Flare}} | |||
| umbral duststorm = [[File:Umbral Duststorm.png|18px|link=Umbral Duststorm]]{{#set:Has weather condition=Umbral Duststorm}} | |||
| umbral levin = [[File:Umbral Levin.png|18px|link=Umbral Levin]]{{#set:Has weather condition=Umbral Levin}} | |||
| moon dust = [[File:Moon Dust.png|18px|link=Moon Dust]]{{#set:Has weather condition=Moon Dust}} | |||
| astromagnetic storm = [[File:Astromagnetic Storm.png|18px|link=Astromagnetic Storm]]{{#set:Has weather condition=Astromagnetic Storm}} | |||
| vacuity = [[File:Vacuity weather.png|18px|link=Vacuity]]{{#set:Has weather condition=Vacuity}} | |||
| #default = [[File:@@@.png|18px|link=@@@]]{{#set:Has weather condition={{ucfirst:@@@}}}}}}| }} | | #default = [[File:@@@.png|18px|link=@@@]]{{#set:Has weather condition={{ucfirst:@@@}}}}}}| }} | ||
}}<!-- | }}<!-- | ||
Line 75: | Line 87: | ||
}}{{#if: {{{aetheryte1|}}} | | }}{{#if: {{{aetheryte1|}}} | | ||
;Aetherytes | ;Aetherytes | ||
: {{#arraymap:{{{aetheryte1|X}}}~{{{aetheryte2|X}}}~{{{aetheryte3|X}}}|~|@@@|{{#ifeq:@@@|X||{{#vardefineecho:ae-name|{{Trim|{{#explode:@@@|;|0}}}}}} {{convert coordinate|{{#vardefineecho:ae-coords|{{Trim|{{#explode:@@@|;|1}}}}}}}}{{#set:Has aetheryte={{#var:ae-name}};{{#explode:{{#var:ae-coords|?}}|,|0}};{{#explode:{{#var:ae-coords|?}}|,|1}};{{#explode:{{#var:ae-coords|?}}|,|2}}}} }}|<br>}} | : {{#arraymap:{{{aetheryte1|X}}}~{{{aetheryte2|X}}}~{{{aetheryte3|X}}}~{{{aetheryte4|X}}}|~|@@@|{{#ifeq:@@@|X||{{#vardefineecho:ae-name|{{Trim|{{#explode:@@@|;|0}}}}}} {{convert coordinate|{{#vardefineecho:ae-coords|{{Trim|{{#explode:@@@|;|1}}}}}}}}{{#set:Has aetheryte={{#var:ae-name}};{{#explode:{{#var:ae-coords|?}}|,|0}};{{#explode:{{#var:ae-coords|?}}|,|1}};{{#explode:{{#var:ae-coords|?}}|,|2}}}} }}|<br>}} | ||
}}<!-- | }}<!-- | ||
--> | --> | ||
Line 119: | Line 131: | ||
}} | }} | ||
}}<!-- | }}<!-- | ||
-->{{Quotation|In-game description|{{#if: {{{description|}}}|[[Has game description::{{{description}}}]]|''No description available.''}} }}<noinclude> | -->{{Quotation|{{#if:{{{description-source|}}}|{{{description-source|}}}|In-game description}}|{{#if: {{{description|}}}|[[Has game description::{{{description}}}]]|''No description available.''}} }} | ||
{{#if:{{{no-footer-text|}}}||'''{{{name|{{#titleparts:{{PAGENAME}}}}}}}''' is {{#ifeq:{{lc:{{{type|}}}}}|area|an|a}} [[{{{type}}}]] in {{cname|{{{within|}}}}}{{#switch:{{{type|}}}|landmark|area=, {{#show:{{{within}}}|?Located in}}}}.}}<noinclude> | |||
==Description== | ==Description== | ||
Line 131: | Line 144: | ||
| aetheryte2 = | | aetheryte2 = | ||
| aetheryte3 = | | aetheryte3 = | ||
| description = | |||
| weather = | | weather = | ||
| map = | | map = | ||
Line 171: | Line 185: | ||
; release | ; release | ||
: The expansion required to access the content. Displays a notice of the release. | : The expansion required to access the content. Displays a notice of the release. | ||
; no-footer-text | |||
: Normally the text "Name is a <Type> in <within>" will be added at the end of the template, ie after the infobox. By setting this parameter, this text will not appear. | |||
===Examples=== | ===Examples=== | ||
Line 179: | Line 195: | ||
| type = zone | | type = zone | ||
| within = The Black Shroud | | within = The Black Shroud | ||
| | | 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) | |||
}} | |||
</pre> | |||
{{Area infobox | |||
| name = South Shroud | |||
| map = South Shroud map.jpg | |||
| type = zone | |||
| within = The Black Shroud | |||
| 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) | |||
}} | |||
===Examples2=== | |||
<pre> | |||
{{Area infobox | |||
| name = South Shroud | |||
| icon = Gold saucer icon2.png | |||
| map = South Shroud map.jpg | |||
| type = zone | |||
| within = The Black Shroud | |||
| 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 | | aetheryte1 = Quarrymill;25.0, 20.1 | ||
| aetheryte2 = Camp Tranquil;16.8, 28.6 | | aetheryte2 = Camp Tranquil;16.8, 28.6 | ||
Line 185: | Line 230: | ||
| levels = 20 - 35 | | levels = 20 - 35 | ||
| connections = [[Central Shroud]] (NW)<br>[[East Shroud]] (N)<br>[[Eastern Thanalan]] (SW) | | connections = [[Central Shroud]] (NW)<br>[[East Shroud]] (N)<br>[[Eastern Thanalan]] (SW) | ||
| no-footer-text = y | |||
}} | }} | ||
</pre> | </pre> | ||
{{Area infobox | {{Area infobox | ||
| name = South Shroud | | name = South Shroud | ||
| icon = Gold saucer icon2.png | |||
| map = South Shroud map.jpg | | map = South Shroud map.jpg | ||
| type = zone | | type = zone | ||
| within = The Black Shroud | | within = The Black Shroud | ||
| | | 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 | | aetheryte1 = Quarrymill;25.0, 20.1 | ||
| aetheryte2 = Camp Tranquil;16.8, 28.6 | | aetheryte2 = Camp Tranquil;16.8, 28.6 | ||
Line 198: | Line 245: | ||
| levels = 20 - 35 | | levels = 20 - 35 | ||
| connections = [[Central Shroud]] (NW)<br>[[East Shroud]] (N)<br>[[Eastern Thanalan]] (SW) | | connections = [[Central Shroud]] (NW)<br>[[East Shroud]] (N)<br>[[Eastern Thanalan]] (SW) | ||
| no-footer-text = y | |||
}} | }} | ||
[[Category:Infobox templates|Area]]</noinclude> | [[Category:Infobox templates|Area]]</noinclude> |
Latest revision as of 02:51, 13 November 2024
Area infobox
- Type
- Unknown
“No description available.
— In-game description
Area infobox is a [[{{{type}}}]] in [[]].
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 = | aetheryte1 = | aetheryte2 = | aetheryte3 = | description = | weather = | map = | levels = | connections = | loading-screen = | screenshot = | sstext = | release = }}
Parameters
All parameters are optional.
- name
- Location name. Defaults to {{PAGENAME}}
- type
- The type of location. Accepts: region, city, area, zone, landmark.
- 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.
- aetheryte1-3
- Aetherytes available in the current map. Accepts the form
<aetheryte name>;<x,y,z coordinates>
. - weather
- Weather conditions. Accepts comma-separated names: Common — blizzard, clear skies, clouds, dust storms, fair skies, fog, gales, gloom, heat waves, rain, sandstorms, showers, snow, thunder, thunderstorms, umbral static, umbral wind, wind. Special — auroras, core radiation, darkness, eruptions, gales (garuda), gloom (king moggle), heat wave, hot spells, hyperelectricity, irradiance, louring, oppression, rough seas, royal levin, shelf clouds, smoke, storm clouds, tension.
- 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 are extra modes, 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.
- 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
- release
- The expansion required to access the content. Displays a notice of the release.
- no-footer-text
- Normally the text "Name is a <Type> in <within>" will be added at the end of the template, ie after the infobox. By setting this parameter, this text will not appear.
Examples
{{Area infobox | name = South Shroud | map = South Shroud map.jpg | type = zone | within = The Black Shroud | 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
(Aldenard) - 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
South Shroud is a zone in The Black Shroud.
Examples2
{{Area infobox | name = South Shroud | icon = Gold saucer icon2.png | map = South Shroud map.jpg | type = zone | within = The Black Shroud | 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
(Aldenard) - 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