template:GW2Item  

Usage: {{GW2Item|quality|ItemName|ItemNameDisplay|id=|nolink=}}

quality

The color name from the following list. GW2Item makes use of 1 of 8 css classes to color the bluelink to match the item quality: gh-q0 (grey) to gh-q7 (purple). gh-q1 (Basic White) is underlined, since the color is the same as the default text color. All 7 are displayed in Bold text. The color names are, of course, case-insensitive. Basic (white) is also the default if this field is blank or is an undefined value.
ItemName
The Item Name exactly as it appears, or should appear, in the DB. IF id= is undefined, this will be used to search for it.
ItemNameDisplay
Name of the item exactly as you want it displayed, including any quantity and plurality. so if this is a Navy Dye and you have 2 of them ItemNameDisplay could be "2 Navy Dyes"
id=
The item ID exactly as it appears in the URL on GuildHead.com
nolink=
Should be used only when you want text to appear in a specific item quality color but are not actually linking a specific item. Useful when you want to colorize the name of a group of items but not create a link because it is not the name of a specific item.

The quality field can have any of the values listed to the right of the class name.

  • gh-q0: Junk, grey
  • gh-q1: Basic, white or blank
  • gh-q2: Fine, Blue
  • gh-q3: Masterwork, Green
  • gh-q4: Rare, yellow
  • gh-q5: Exotic, gold
  • gh-q6: Legendary, orange
  • gh-q7: Mystic, Purple

Test Links

If quality is not specified, tor-q1 (Common White) is used.


Need help understanding Bludwyng's documentation style? See Bludwyng's Guide to Using Templates!


Tytania
The Relentless
Fae Wizard
Lucan D'Lere
EverQuest II
This template was created or is maintained by
Bludwyng
All the power in the universe in a small, flaming fairy package.

This page last modified 2012-09-03 15:31:17.