Template:Item info/martial

From Guild Wars Wiki
Jump to navigationJump to search

Purpose[edit]

This template can produce an in-game representation of any Martial weapon. It's built on top of Template:item info which can produce the in-game representation of any item.

Parameters[edit]

name
The name of the martial weapon.
color
The color of the martial weapon. See Template:item info for information on available colors.
type
The type of the martial weapon. Can be one of the following values:
  • axe
  • daggers
  • flatbow
  • hammer
  • hornbow
  • longbow
  • recurve bow
  • scythe
  • shortbow
  • spear
  • sword
damage-min
The minimum damage of the martial weapon. It defaults to the lower border of the maximum damage range for the given weapon type.
damage-max
The maximum damage of the martial weapon. It defaults to the upper border of the maximum damage range for the given weapon type.
damage-type
The type of damage dealt by the martial weapon. It defaults to the normal damage type for the given weapon type. For daggers, this is Piercing.
req
The requirement of the martial weapon. Defaults to 9.
attribute
The required attribute of the martial weapon. It defaults to the linked attribute of the given weapon type.
line-color[1...28]
The color of a specific line. See Template:item info for information on available colors.
text[1...28]
The coloured text portion of a line.
alt-text[1...28]
The grey text portion of a line. It will be put between brackets if the linked text[1...28] is non empty.

Example[edit]

{{item info/martial
| name         = Sundering Longsword of Fortitude
| color        = gold
| type         = sword
| text1        = Armor Penetration +20%
| alt-text1    = Chance: 20%
| text2        = Inscription: None
| text3        = Health +30
}}
Item tl.gif Item tr.gif
Sundering Longsword of Fortitude
Slashing Dmg: 15-22 (Requires 9 Swordsmanship)
Armor Penetration +20% (Chance: 20%)
Inscription: None
Health +30
Item bl.gif Item br.gif


{{item info/martial
| name         = Totem Axe
| color        = green
| type         = axe
| text1        = Armor Penetration +20%
| alt-text1    = Chance: 20%
| text2        = Enchantments last 20% longer
| text3        = Energy +5
}}
Item tl.gif Item tr.gif
Totem Axe
Slashing Dmg: 6-28 (Requires 9 Axe Mastery)
Armor Penetration +20% (Chance: 20%)
Enchantments last 20% longer
Energy +5
Item bl.gif Item br.gif


{{item info/martial
| name         = Chimor's Daggers
| color        = green
| type         = daggers
| text1        = Energy +5
| text2        = Armor Penetration +20%
| alt-text2    = Chance: 20%
| text3        = Enchantments last 20% longer
}}
Item tl.gif Item tr.gif
Chimor's Daggers
Piercing Dmg: 7-17 (Requires 9 Dagger Mastery)
Energy +5
Armor Penetration +20% (Chance: 20%)
Enchantments last 20% longer
Both hands
Item bl.gif Item br.gif