Widget:Account masteries

From Guild Wars 2 Wiki
Jump to navigationJump to search

Description

This widget displays which mastery points 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 mastery control div wherever you wish.

Usage

<div id="masterycontrol"></div>{{#Widget:Account masteries}}

Example wikicode

<div id="masterycontrol"></div>

{| {{STDT}}
! Mastery ID per API
! Mastery rewarded by
|- id="masteries-241"
| 241
| Koutalophile achievement
|- id="masteries-226"
| 226
| Amber Wurmslayer achievement
|}

{{Account masteries widget}}

Notes

  • This widget uses the mastery ID, not the achievement ID. This is stored in the semantic property "Property:Has mastery id", and is set in the achievement template using the mastery id parameter.
  • This widget has a wrapper template, Template:Account masteries widget, which should be invoked such that widget usage can be tracked via whatlinkshere.