Template:Weapon

From Wikihack

Jump to: navigation, search
)
Name Weapon
Appearance Weapon
Damage vs. small {{{smalldmg}}}
Damage vs. large {{{largedmg}}}
To-hit bonus +0
Weapon skill Weapon
Size one-handed
Cost {{{cost}}} zm
(+10/positive
enchant)
Weight {{{weight}}}
Material [[{{{material}}}]]

Put this template at the top of every weapon page. Call it like this:

{{weapon
 |color=COLOR
 |glyph=GLYPH
 |name=NAME
 |appearance=APPEARANCE
 |smalldmg=SMALLDMG
 |largedmg=LARGEDMG
 |tohit=<nowiki>TOHIT</nowiki>
 |skill=SKILL
 |size=SIZE
 |cost=COST
 |weight=WEIGHT
 |material=MATERIAL
}}

Appearance, skill, and color are optional parameters. The first two default to the name of the item, and color defaults to cyan. Glyph is optional, and defaults to ); specify ( or * for tool-weapons and gems respectively. Tohit is also optional, it defaults to +0; remember to use a <nowiki> tag. Size is optional and defaults to "one-handed"; specify "two-handed" for two-handed weapons. See this talk page for further usage notes.

Personal tools
.