Difference between revisions of "Template:Weapon"
m (1 revision: importing templates from old_crawl wiki) |
(Remove weight - it's obsolete since 0.15) |
||
(14 intermediate revisions by 3 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]] | ||
− | | {{{damage}}} | + | | [[Weapon damage::{{{damage}}}]] |
|- | |- | ||
! align="left" | Accuracy | ! align="left" | Accuracy | ||
− | | {{{accuracy}}} | + | | [[Weapon accuracy::{{{accuracy}}}]] |
+ | |- | ||
+ | ! align="left" | [[Weapon_speed|Base delay]] (%) | ||
+ | | {{{basedelay}}} {{#set:Weapon base delay={{#invoke:String|first_word|{{{basedelay}}}}}}} | ||
|- | |- | ||
− | ! align="left" | [[ | + | ! align="left" | [[Minimum_delay|Min delay]] |
− | | {{{ | + | | {{{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 35: | Line 35: | ||
<nowiki>{{</nowiki>weapon | <nowiki>{{</nowiki>weapon | ||
|name = | |name = | ||
− | |||
|skill = | |skill = | ||
|skill2 = optional | |skill2 = optional | ||
|damage = | |damage = | ||
|accuracy = | |accuracy = | ||
− | |basedelay = | + | |basedelay = |
+ | |mindelay = | ||
|hands = One, Half, Double, Two | |hands = One, Half, Double, Two | ||
|size = Small, Medium, Large, Big | |size = Small, Medium, Large, Big |
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 }}