Widget:Account novelties

From Guild Wars 2 Wiki
Jump to navigationJump to search

Description

This widget displays determines which novelties 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 novelty control div wherever you wish.

Usage

<div id="noveltycontrol"></div>{{#Widget:Account novelties}}

Example wikicode

<div id="noveltycontrol"></div>

{| {{STDT}}
! Novelty ID per API
! Novelty name
|- id="novelties-1"
| 1
| Embellished Kite
|- id="novelties-7"
| 7
| Guild Kite
|}

{{Account novelties widget}}

Notes

  • This widget uses the novelty's ID, not the item ID. This is stored in the semantic property Property:Has novelty id, and is set in the Item infobox using the novelty id parameter.
  • This widget has a wrapper template, Template:Account novelties widget, which should be invoked such that widget usage can be tracked via whatlinkshere.