Difference between revisions of "Template:Weapon"
CommanderC (talk | contribs) (Let's add a semantic property) |
(Remove weight - it's obsolete since 0.15) |
||
(8 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
! align="left" | Name | ! align="left" | Name | ||
| {{{name}}} | | {{{name}}} | ||
− | |||
− | |||
− | |||
|- | |- | ||
! align="left" | Skill | ! align="left" | Skill | ||
− | | [[{{{skill}}}]] | + | | [[Weapon skill::{{{skill}}}]] |
|- | |- | ||
! align="left" | [[Weapon_damage|Damage]] | ! align="left" | [[Weapon_damage|Damage]] | ||
Line 15: | Line 12: | ||
|- | |- | ||
! align="left" | Accuracy | ! align="left" | Accuracy | ||
− | | {{{accuracy}}} | + | | [[Weapon accuracy::{{{accuracy}}}]] |
|- | |- | ||
− | ! align="left" | [[ | + | ! align="left" | [[Weapon_speed|Base delay]] (%) |
− | | {{{basedelay}}} | + | | {{{basedelay}}} {{#set:Weapon base delay={{#invoke:String|first_word|{{{basedelay}}}}}}} |
|- | |- | ||
! align="left" | [[Minimum_delay|Min delay]] | ! align="left" | [[Minimum_delay|Min delay]] | ||
− | | {{{mindelay}}} | + | | {{{mindelay}}} {{#set:Weapon minimum delay={{#invoke:String|first_word|{{{mindelay}}}}}}} |
|- | |- | ||
! align="left" | [[Handedness|Hands]] | ! align="left" | [[Handedness|Hands]] | ||
− | | {{{hands}}} | + | | [[Handedness::{{{hands}}}]] |
|- | |- | ||
! align="left" | Size | ! align="left" | Size | ||
− | | {{{size}}} | + | | [[Weapon size::{{{size}}}]] |
|- | |- | ||
! align="left" | Ranged? | ! align="left" | Ranged? | ||
− | | {{{ranged}}} | + | | [[Is ranged::{{{ranged}}}]] |
|} | |} | ||
Line 38: | Line 35: | ||
<nowiki>{{</nowiki>weapon | <nowiki>{{</nowiki>weapon | ||
|name = | |name = | ||
− | |||
|skill = | |skill = | ||
|skill2 = optional | |skill2 = optional |
Latest revision as of 02:49, 27 March 2015
Name | {{{name}}} |
---|---|
Skill | {{{skill}}} |
Damage | {{{damage}}} |
Accuracy | {{{accuracy}}} |
Base delay (%) | {{{basedelay}}} "{{{basedelay}}}" is not a number.
|
Min delay | {{{mindelay}}} "{{{mindelay}}}" is not a number.
|
Hands | {{{hands}}} |
Size | {{{size}}} |
Ranged? | {{{ranged}}} |
Put this template at the top of every weapon page. Call it like this:
{{weapon |name = |skill = |skill2 = optional |damage = |accuracy = |basedelay = |mindelay = |hands = One, Half, Double, Two |size = Small, Medium, Large, Big |ranged = "<missile> required" or "Throwable" |damtype = Piercing, Slashing, Slicing, Stabbing, Chopping, Crushing }}