Template:Map objective

From Guild Wars 2 Wiki
Jump to navigationJump to search

Description[edit]

Defines a map objective. This template is used on location pages to list map objectives in the location, and to define the SMW properties for those objectives. The output is an icon, link (if appropriate) and a chat link (if an ID is defined). If an insufficient number of parameters have been provided, then the page is added to Category:Pages with incorrect template usage.

This template is for defining map objectives, and should generally only be used in the Locations and Objects section of location pages. If you're writing something that needs to link to a map objective (e.g. in a Getting there section), use {{waypoint}}, {{point of interest}} or manual formatting with {{map icon}}. A small "usage note" link will be added to the end of the template display if it's used on a page without Property:Has location type set, pointing editors to this documentation page.

Usage[edit]

{{map objective|<type>|<name>}}

Parameters[edit]

1 (unnamed parameter)
Required. Type of location. Options:
waypoint
asura gate
point of interest
hero challenge
vista
jumping puzzle
2 (unnamed parameter)
Required. Name of the objective.
3 (unnamed parameter)
Optional. Display name of the objective.
id
Optional. If given, shows the chat link to the objective. Should only be used for waypoints, vistas, and points of interest.
sep
Optional. Replaces the default separator of — 
status
Optional. The status of the objective. See Template:Infobox status for allowed values and their meaning.
subobject index
Optional. Only use if two identically named waypoints exist on the same page.

Example[edit]

Note: if the page exists and has game id set on it, this template will look up the chatlink.

:{{map objective|point of interest|Posternus Caverns}}
Point of interest (map icon).png Posternus Caverns
:{{map objective|point of interest|Posternus Caverns|id=1628}}
Point of interest (map icon).png Posternus Caverns