Difference between revisions of "Template:Area infobox"

From Final Fantasy XIV Online Wiki
Jump to navigation Jump to search
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#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}}}}{{#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]]}}}}<!--
{{#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">{{#if: {{{icon|}}}
--><!-- 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>
   | <div class="icon">[[File:{{{icon}}}|40px]]</div>
Line 27: Line 27:
                                 | quick levin = [[File:Quick Levin.png|18px|link=Quick Levin]]{{#set:Has weather condition=Quick Levin}}
                                 | 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 tempest = [[File:Umbral Tempest.png|18px|link=Umbral Tempest]]{{#set:Has weather condition=Umbral Tempest}}
                                 | umbral flare = [[File:Umbral Flare.png|18px|link=Umbral Flare]]{{#set:Has weather condition=Flare}}
                                 | 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 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}}
                                 | umbral levin = [[File:Umbral Levin.png|18px|link=Umbral Levin]]{{#set:Has weather condition=Umbral Levin}}
Line 87: 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 132: Line 132:
}}<!--
}}<!--
-->{{Quotation|{{#if:{{{description-source|}}}|{{{description-source|}}}|In-game description}}|{{#if: {{{description|}}}|[[Has game description::{{{description}}}]]|''No description available.''}} }}
-->{{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 [[{{{within}}}]]{{#ifeq:{{{type|}}}|landmark|, {{#show:{{{within}}}|?Located in}}}}.}}<noinclude>
{{#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==

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

Gloom.png Fog.png Storm Clouds.png Thunder (weather).png Thunderstorms.png Tension.png

South Shroud map.jpg
Map of 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
}}
Gold saucer icon2.png

South Shroud

Gloom.png Fog.png Storm Clouds.png Thunder (weather).png Thunderstorms.png Tension.png

South Shroud map.jpg
Map of 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