Difference between revisions of "Location info"

m
m (points of interest)
Line 14: Line 14:
  
 
quests
 
quests
-->{{#arraydefine:questText|{{{quests}}}|;}}<!--
+
-->{{#arraydefine:poiText|{{{quests}}}|;}}<!--
  
 
TABLE -->
 
TABLE -->
Line 38: Line 38:
 
{{#if:{{#var:typeText}}|{{!}}class="skill-infobox-row-heading"{{!}}'''Type'''{{!}}{{!}}class="skill-infobox-row-data"{{!}}{{#var:typeText}}}}
 
{{#if:{{#var:typeText}}|{{!}}class="skill-infobox-row-heading"{{!}}'''Type'''{{!}}{{!}}class="skill-infobox-row-data"{{!}}{{#var:typeText}}}}
 
|-
 
|-
{{#if:{{{quests|}}}|{{!}}class="skill-infobox-row-heading"{{!}}'''Involved In'''{{!}}{{!}}class="skill-infobox-row-data"{{!}}{{#arrayprint:questText|<br>|@|[[@]]}}}}<!-- formats the quests array -->
+
{{#if:{{{points-of-interest|}}}|{{!}}class="skill-infobox-row-heading"{{!}}'''Involved In'''{{!}}{{!}}class="skill-infobox-row-data"{{!}}{{#arrayprint:poiText|<br>|@|[[@]]}}}}<!-- formats the quests array -->
 
|}</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>

Revision as of 20:19, 25 January 2024

Description

Displays an information page about an location.

Usage

{{Location info|<image=image>|<name=name>|<description=description>|<category=category>|<quests=quests>|<loading screen=loading screen>}}

Parameters

Arrow.pngimage: 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.
Arrow.pngname: 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.
Arrow.pngdescription: A description of the location.
Optional.
Arrow.pngcategory: The location's category.
Optional.

Possible categories:

camps
dungeons
safe zones
pvp zones
Arrow.pngpoints of interest: The semicolon-separated names of points of interest in the location.
Optional.
Notes: Add your own wiki links.
Arrow.pngconnections: 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

No description was provided. Add a description parameter.