Widget:Account outfits

From Guild Wars 2 Wiki
Jump to navigationJump to search

Description

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

Usage

<div id="outfitcontrol"></div>{{#Widget:Account outfits}}

Example wikicode

<div id="outfitcontrol"></div>

{| {{STDT}}
! Outfit ID per API
! Outfit name
|- id="outfits-12"
| 12
| Hexed Outfit
|- id="outfits-13"
| 13
| Noble Count Outfit
|}

{{Account outfits widget}}

Notes

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