Шаблон:Waypoint — различия между версиями

Материал из Guild Wars 2 wiki
Перейти к: навигация, поиск
(Новая страница: «<includeonly>{{#ifeq: {{{1|}}} | <!-- blank --> | | {{#iferror:{{#expr:{{{1}}}}} <!-- Test whether param 1 is a string (waypoint name) or a number (waypoint id)…»)
(нет различий)

Текущая версия на 11:34, 20 сентября 2018


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


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.


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.