Шаблон:Waypoint

Материал из Guild Wars 2 wiki
Версия от 11:34, 20 сентября 2018; Snowbirdie (обсуждение | вклад) (Новая страница: «<includeonly>{{#ifeq: {{{1|}}} | <!-- blank --> | | {{#iferror:{{#expr:{{{1}}}}} <!-- Test whether param 1 is a string (waypoint name) or a number (waypoint id)…»)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к: навигация, поиск

Usage[править]

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}}.

{{waypoint|<name or id>}}

Parameters[править]

Unnamed parameter 1
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 Widget:World map.
If this parameter is omitted, the template will not render anything.

Examples[править]

Existing waypoint or ID
Nonexistent waypoint or ID
  • {{waypoint|Quaggans Waypoint}}Error: No waypoint named "Quaggans Waypoint" found. Check if it has been added to the area.
  • {{waypoint|0}}Error: Waypoint with id "0" not found. Check if it has been added to the area.