Шаблон: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
-
{{waypoint|Commons Waypoint}}
→ Commons Waypoint — -
{{waypoint|810}}
→ Commons Waypoint —
- Nonexistent waypoint or ID