User:HeavenMonkey/Template:item info
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:
- {{item info/martial}} for martial weapons
- {{item info/shield}} for shields
- {{item info/staff}} for staves
- {{item info/wand}} for wands
- {{item info/focus}} for focus items
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:
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 }}
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
|
||