Template:Waypoint

From Guild Wars 2 Wiki
Jump to navigationJump to search

Description[edit]

This template generates a link to a waypoint and appends a chat link. For this to work, the waypoint must have been added to an area's page, with the template {{map objective}}. The waypoint data is formatted with {{waypoint result format}}.

Usage[edit]

{{waypoint|<name or id>}}

Parameters[edit]

1 (unnamed parameter)
Required. Either the canonical name or the integer ID of a waypoint. Waypoint names are identical to those in-game and IDs can be retrieved from Widget:Map table or Template:Interactive map.
If this parameter is omitted, the template will not render anything.
sep
Optional. If specified, changes the separator from an emdash to the given value.

Examples[edit]

Existing waypoint or ID
  • {{waypoint|Commons Waypoint}}Waypoint (map icon).png Commons Waypoint
  • {{waypoint|810}}Waypoint (map icon).png Commons Waypoint
Nonexistent waypoint or ID
  • {{waypoint|Quaggans Waypoint}} → Quaggans WaypointError: No waypoint named "Quaggans Waypoint" found. Check if it has been added to the area.
  • {{waypoint|0}} → Waypoint ID: 0Error: Waypoint with id "0" not found. Check if it has been added to the area.