Difference between revisions of "Location info"
Stratonian (talk | contribs) m |
Stratonian (talk | contribs) m |
||
(13 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
|camps=[[Camp]] | |camps=[[Camp]] | ||
|dungeons=[[Dungeon]] | |dungeons=[[Dungeon]] | ||
− | |zones=[[Zone]] | + | |safe zones=[[Zone#Safe Zones|Safe Zone]] |
+ | |protected zones=[[Zone#Lands under the Protection of the King|Lands under the Protection of the King]] | ||
+ | |battleground zones=[[Zones#The Battleground of the King|The Battleground of the King]] | ||
}}}}<!-- | }}}}<!-- | ||
-->{{#if:{{{name|}}}<!-- if a name parameter is not given | -->{{#if:{{{name|}}}<!-- if a name parameter is not given | ||
Line 14: | Line 16: | ||
quests | quests | ||
− | -->{{#arraydefine: | + | -->{{#arraydefine:poiText|{{{points of interest}}}|;}}<!-- |
+ | |||
+ | connections | ||
+ | -->{{#arraydefine:connectionsText|{{{connections}}}|;}}<!-- | ||
TABLE --> | TABLE --> | ||
Line 36: | Line 41: | ||
}}" | <center>{{{name|{{PAGENAME}}}}}</center><!-- name --> | }}" | <center>{{{name|{{PAGENAME}}}}}</center><!-- name --> | ||
|- | |- | ||
− | {{#if:{{#var:typeText}}|{{ | + | {{#if:{{#var:typeText}}|{{InfoboxRow|'''Type'''|{{#var:typeText}}}}}} |
+ | |- | ||
+ | {{#if:{{{points of interest|}}}|{{InfoboxRow|'''Points of Interest'''|{{#arrayprint:poiText|<br>|@|{{icon|@ Icon.png}} @}}}}}} | ||
+ | |- | ||
+ | {{#if:{{{connections|}}}|{{InfoboxRow|'''Connected to'''|{{#arrayprint:connectionsText|<br>|@|@}}}}}} | ||
|- | |- | ||
− | |||
|}</div><!-- | |}</div><!-- | ||
DESCRIPTION | DESCRIPTION | ||
-->{{{description|{{error|No description was provided. Add a description parameter.}}}}}</includeonly><noinclude>{{{{PAGENAME}}/Documentation}}</noinclude> | -->{{{description|{{error|No description was provided. Add a description parameter.}}}}}</includeonly><noinclude>{{{{PAGENAME}}/Documentation}}</noinclude> |
Latest revision as of 21:53, 24 June 2024
Description[edit]
Displays an information page about an location.
Usage[edit]
{{Location info|<image=image>|<name=name>|<description=description>|<category=category>|<quests=quests>|<loading screen=loading screen>}}
Parameters[edit]
- image: A map or image of the location.
- Optional. Defaults to '
{{PAGENAME}}.jpg
'. - Notes: Only use if the image name differs from the name of the page.
- name: The name of the location.
- Optional. Defaults to '
{{PAGENAME}}
'. - Notes: Only use if the template is on a different page to the location's main article.
Possible categories:
- points of interest: The semicolon-separated names of points of interest in the location.
- Optional.
- Notes: Add your own wiki links.
- connections: The semicolon-separated names of zones connected to the location.
- Optional.
- Notes: Add your own wiki links. The cardinal direction is usually specified in brackets after the location name.
Errors[edit]
No description was provided. Add a description parameter.