User:HeavenMonkey/Template:item info

From Guild Wars Wiki
Jump to navigationJump to search


Purpose[edit]

This template can create an in-game representation of any item. The layout and style have been taken from GWAuctions.org. This should replicate most of the in-game items accurately.

For specific weapon types, see the following templates:

Usage[edit]

{{item info
| Item Color          = W (Color names or CSS style color code)
| Item Name           = 
| Text[1...30]        = 
| AltText[1...30]     =
| CustomColor[1...30] = 
}}

When either TextX or AltTextX contains text, the line shows. If TextX is empty, no brackets will be added around AltTextX. If both TextX and AltTextX contain text, brackets will be added around AltTextX. AltText is printed in Grey.

List of colors:

W = White
N = Grey
B = Blue
P = Purple
Y = Gold
G = Green
R = Red
DB = Dirty Blue
S = Silver
C = Copper
PK = Pink
BL = Black


Custom color names can be added to Template:item info/Color on request.
Custom colors can be directly used by specifying a color in one of the the following formats :

  • a CSS color name, like "Yellow"
  • a RGB value, like "rgb(255,0,0)"
  • a hexadecimal value, like "#ff0000"

In addition to specifying custom colors, you can color any portion of text independently by adding <span style="color:#FFFFFF;"></span> around it.

Example[edit]

{{User:HeavenMonkey/Template:item info
| Item Color  = Y
| Item Name   = Sundering Hand Axe of Fortitude
| Text1       = Slashing Dmg: 6-28
| AltText1    = Requires 9 Axe Mastery
| CustomColor1= W
| Text2       = Armor penetration +20%
| AltText2    = Chance: 20%
| Text3       = Inscription: "Strength and Honor"
| Text4       = Damage +15%
| AltText4    = while Health is above 50%
| Text5       = Health +30
}}


Item tl.gif Item tr.gif
Sundering Hand Axe of Fortitude
Slashing Dmg: 6-28 (Requires 9 Axe Mastery)
Armor penetration +20% (Chance: 20%)
Inscription: "Strength and Honor"
Damage +15% (while Health is above 50%)
Health +30
Item bl.gif Item br.gif

{{{2}}} Kerrsh's Staff:


Item tl.gif Item tr.gif
Kerrsh's Staff
Energy +10
Fire damage: 11-22 (Requires 9 Divine Favor)
Fire damage: 11-22 (Requires 9 Fast Casting)
Fire damage: 11-22 (Requires 9 Soul Reaping)
Fire damage: 11-22 (Requires 9 Energy Storage)
Fire damage: 11-22 (Requires 9 Spawning Power)
Halves skill recharge of spells (Chance: 20%)
Energy +5 (while Health is above 50%)
Health +60
Item bl.gif Item br.gif