Widget:Account home instance nodes

From Guild Wars 2 Wiki
Jump to navigationJump to search

Description

This widget determines which home instance nodes a player has unlocked based on their API key. The widget should be used after any tables it is supposed to be affecting. Position the control div wherever you wish.

Usage

<div id="homeinstancenodecontrol"></div>{{#Widget:Account home instance nodes}}

Example wikicode

<div id="homeinstancenodecontrol"></div>

{| {{STDT|item sortable}}
! Upgrade item !! Type !! Gathering results !! Required achievement

|- data-api-id-node="aurilium_node"
! style="text-align:left" | {{item icon|Aurillium Node}}
| Node (mining)
| {{item icon|Lump of Aurillium|Lumps of Aurillium}} <small>+ [[gemstone]]s</small>
| [[File:Auric Basin.png|20px|link=Auric Basin (achievements)]] [[No Mask Left Behind]]

|- data-api-id-node="enchanted_treasure_chest"
! style="text-align:left" | {{item icon|Enchanted Treasure Chest}}
| Chest
| Various
| [[File:Rare Collections.png|20px|link=Rare Collections]] [[Treasure Hunter]]
|}

{{Account home instance nodes widget}}
Upgrade item Type Gathering results Required achievement
Aurillium Node.pngAurillium Node Node (mining) Lump of Aurillium.pngLumps of Aurillium + gemstones Auric Basin.png No Mask Left Behind
Enchanted Treasure Chest.pngEnchanted Treasure Chest Chest Various Rare Collections.png Treasure Hunter

Notes

  • This widget uses the attribute "data-api-id-node", which is a text field matching the corresponding entry within API:2/home/nodes. It is not currently annotated with SMW.
  • This widget has a wrapper template, Template:Account home instance nodes widget, which should be invoked such that widget usage can be tracked via whatlinkshere.