Template:Vista

From Guild Wars 2 Wiki
Jump to navigationJump to search

Description[edit]

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

Usage[edit]

{{vista|<name or id>}}

Parameters[edit]

1 (unnamed parameter)
Required. Either the canonical name or the integer ID of a vista. Vista 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 vista or ID
  • {{vista|Ossan Quarter Vista}}Vista (map icon).png Ossan Quarter Vista
  • {{vista|1400}}Vista (map icon).png Ossan Quarter Vista
Nonexistent vista or ID
  • {{vista|Quaggans Vista}}Error: No vista named "Quaggans Vista" found. Check if it has been added to the area.
  • {{vista|0}}Error: Vista with id "0" not found. Check if it has been added to the area.