Dr ishmael (talk | contribs) (remove {hero}; change {neighbors} separator to semicolon) |
No edit summary |
||
(14 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | {| class="infobox" style="width:200px; |
+ | {| class="infobox" style="width:200px;" |
|- |
|- |
||
− | ! |
+ | ! style="background:thistle" | {{{name|{{PAGENAME}}}}} |
|- |
|- |
||
− | | |
+ | | style="padding:1px;" | [[File:{{{image|{{PAGENAME}}.jpg}}}|200px]] |
|- |
|- |
||
− | ! |
+ | ! style="background:thistle" | {{#if:{{{type|}}} | [[{{{type}}}]] <includeonly>[[Category:{{{type}}}s]]</includeonly> | [[Location]] }} |
+ | |- style="font-size:90%; vertical-align:top" |
||
⚫ | |||
+ | {| |
||
⚫ | |||
⚫ | |||
|- |
|- |
||
⚫ | |||
⚫ | |||
− | | [[ |
+ | | [[{{{region}}}]] |
|- |
|- |
||
+ | {{ #ifeq: {{lc:{{{type|}}}}} | dungeon | <!-- Display dungeon-specific info --> |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
− | {{!}} [[Dungeon levels::{{{levels|}}}]] |
||
{{!}}- |
{{!}}- |
||
⚫ | |||
⚫ | |||
+ | {{!}} {{#ifeq:{{lc:{{{quest|none}}}}}|none|None|{{#listmap:|list={{{quest}}}|insep=,|token=@|pattern=[[@]]|outsep= or<br /> }}}}{{#if:{{{quest-note|}}}|<sup>([[#Notes|see notes]])</sup>}} |
||
⚫ | |||
+ | ! Reward chest |
||
+ | {{!}} {{#listmap:|list={{{chest}}}|insep=,|token=@|pattern=[[@]]|outsep=<br />}} |
||
+ | {{!}}- |
||
+ | | <!-- If not dungeon but chest is given, display it (UW/FoW/Urgoz/Deep) --> |
||
{{ #if: {{{chest|}}} | |
{{ #if: {{{chest|}}} | |
||
− | + | ! Reward chest |
|
− | {{!}} [[{{{chest |
+ | {{!}} [[{{{chest}}}]] |
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
− | {{!}} {{#ifeq:{{lc:{{{quest|}}}}}|none|None|[[{{{quest}}}]]}} |
||
{{!}}- |
{{!}}- |
||
}} |
}} |
||
+ | }} <!-- End dungeon --> |
||
{{ #if: {{{party size|}}} | |
{{ #if: {{{party size|}}} | |
||
− | + | ! [[Party]] size |
|
− | {{!}} |
+ | {{!}} {{{party size}}} |
{{!}}- |
{{!}}- |
||
}} |
}} |
||
+ | ! [[Cartographer|Map area]] |
||
⚫ | |||
+ | --> | {{#expr:100*{{{pixels}}}/{{#switch:{{{campaign}}}|Prophecies=9372653|Factions=4168562|Nightfall=5655127|Eye of the North=2931937}} round 2}}% <!-- |
||
+ | --> {{ #if: {{{carto-note|}}} <!-- |
||
+ | --> | <sup><abbr title="{{{carto-note}}}">?</abbr></sup> <!-- |
||
+ | --> {{ #ifeq: {{lc:{{#explode:{{{type}}}| |1}}}} | mission <!-- |
||
+ | --> | <!-- |
||
+ | --> }} <!-- |
||
+ | --> }} <!-- |
||
+ | --> | <abbr title="This location does not contribute to the cartographer title.">n/a</abbr> |
||
⚫ | |||
|- |
|- |
||
+ | ! style="vertical-align:top" | Neighbors |
||
− | | colspan=2 | |
||
+ | | {{#if:{{{neighbors|}}}|{{#listmap:|list={{{neighbors}}}|insep=;|token=@|pattern=[[@]]|outsep=<br />}}|None}} |
||
− | <div class="NavFrame" style="border:none;padding:0"> |
||
− | <div class="NavHead" style="font-size:105%;background-color:inherit">Neighbors</div> |
||
− | <div class="NavContent" style="font-size:105%;">{{#if:{{{neighbors|}}}|{{#arraymap:{{{neighbors}}}|;|@|[[Neighbor of::@]]|<br />}}|None}}</div> |
||
− | </div> |
||
|- |
|- |
||
+ | ! style="vertical-align:top" | Services |
||
− | | colspan=2 | |
||
+ | | {{#if:{{{services|}}}|{{#listmap:|list={{{services}}}|insep=,|token=@|pattern=@|outsep=<br />}}|None}} |
||
− | <div class="NavFrame" style="border:none;padding:0"> |
||
⚫ | |||
− | <div class="NavHead" style="font-size:105%;background-color:inherit">Services</div> |
||
− | <div class="NavContent" style="font-size:105%;">{{#if:{{{services|}}}|{{#arraymap:{{{services}}}|,|@|[[Has services::@]]|<br />}}|None}}</div> |
||
− | </div> |
||
|- |
|- |
||
− | ! |
+ | ! style="background:thistle" | Map |
|- |
|- |
||
− | | |
+ | | | [[File:{{{map|{{PAGENAME}} map.jpg}}}|200px]] |
|}<noinclude><div style="clear:both"></div> |
|}<noinclude><div style="clear:both"></div> |
||
{{/doc}} |
{{/doc}} |
Latest revision as of 10:54, 30 May 2018
LocationInfo | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
File:LocationInfo.jpg | ||||||||||
Location | ||||||||||
| ||||||||||
Map | ||||||||||
File:LocationInfo map.jpg |
Parameters
Parameter | Property | Default | Notes |
---|---|---|---|
name | n/a | {{PAGENAME}} |
Use when the page name contains a disambiguation, e.g. Thunderhead Keep (outpost) would have name = Thunderhead Keep .
|
image | n/a | {{PAGENAME}}.jpg |
Use only if the image is named differently from the article. Only provide the image name, the File: prefix and the size will be set automatically. |
type | Property:Location type | n/a | Required - The type of location, e.g. Explorable area, Outpost, Arena, etc. |
campaign | Property:Campaign | n/a | Required - The campaign the location belongs to. |
region | Property:Region | n/a | Required - The region that the location is part of. |
levels | Property:Dungeon levels | [blank] | Required for dungeons only - the number of levels within the dungeon. |
quest | n/a | [blank] | Required for dungeons only - the quest that must be active in order to access the full dungeon. If no quest is required, enter "None". |
chest | n/a | [blank] | Required for dungeons and Elite Missions only - the reward chest that appears after completing the dungeon. |
party size | Property:Party size | [blank] | Required for all staging areas - The maximum size of the party that can be formed in this location (2, 4, 6, 8, or 12). |
pixels | Property:Map pixels | "n/a" | Only for locations that contribute to a Cartographer title. The measured area of the location on the World Map in pixels, per the method described here. The provided pixel count will be displayed as a percentage of the area required for 100% cartography of the campaign's continent. |
carto-note | Property:Carto-ignore | [blank] | If part of a zone is inaccessible during a certain instance, include a note about it here. Presence of this parameter when type = * Mission will cause the Carto-ignore property to be set, which allows the mission-versions of locations to be excluded from summary tables (i.e. the location will not be double-counted).
|
neighbors | Property:Neighbor of | None |
A semicolon-separated list of all neighboring locations. Neighbor in this case is defined as somewhere you can travel to directly from within the given location (without interacting with the map). |
services | Property:Has services | None |
A comma-separated list of all the NPC services offered in this location. |
map | n/a | [blank] | A map of the location. Only provide the image name, the File: prefix and the size will be set automatically. |
Usage
Omit any non-required parameters that are not required to describe the location. Including a parameter with a blank value may lead to unintended results.
{{LocationInfo <!-- Required --> | type = | campaign = | region = <!-- Required for certain location types --> | levels = <!--Dungeons--> | quest = <!--Dungeons--> | chest = <!--Dungeons and elite areas--> | hero = <!--Nightfall missions--> | party size = <!--Staging areas--> | pixels = <!--Cartography-aware areas--> <!-- Optional --> | name = | image = | neighbors = | services = | carto-note = | map = }}