template:RiftItem2  

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

This is the original full-function template. It had to be trimmed down due to max template count issues on large pages.

quality

The color name from the following list. RiftItem makes use of 1 of 8 css classes to color the bluelink to match the item quality: rift-q0 (grey) to rift-q5 (purple). rift-q1 (Common White) is underlined, since the color is the same as the default text color. All 8 are displayed in Bold text. The color names are, of course, case-insensitive.
ItemName
The Item Name exactly as it appears, or should appear, in the DB.
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 ItemName could be "2 Navy Dyes"
id=
Provides an absolute item id code so we can handle linking with disambiguation
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.

  • rift-q0: Trash, grey
  • rift-q1: Common, white or blank
  • rift-q2: Uncommon, Green
  • rift-q3: Rare, Blue
  • rift-q4: Epic, Purple
  • rift-q5: Relic, orange
  • rift-q7: Questitem, yellow

It would seem that Transcendent (Red, Q6) was removed before the end of Beta.

Test Links

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


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


Bludwyng
Bahmi Rogue
Rift
This template was created or is maintained by
Bludwyng
Arrrr! I'm a SEACAPtain!

This page last modified 2012-12-26 11:21:48.