Widget:Account dyes

From Guild Wars 2 Wiki
Jump to navigationJump to search

Description

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

Usage

<div id="dyecontrol"></div>{{#Widget:Account dyes}}

Example wikicode

<div id="dyecontrol"></div>

{| {{STDT}}
! Dye ID per API
! Dye name
|- id="dyes-1307"
| 1307
| Glint's Crystal Dye
|- id="dyes-1307"
| 1308
| Glint's Sanctuary Dye
|}

{{Account dyes widget}}

Notes

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