Difference between revisions of "Template:Weapon"

From CrawlWiki
Jump to: navigation, search
(Remove weight - it's obsolete since 0.15)
 
(One intermediate revision by one other user not shown)
Line 4: Line 4:
 
! align="left" | Name
 
! align="left" | Name
 
| {{{name}}}
 
| {{{name}}}
|-
 
! align="left" | Weight
 
| {{{weight}}} aum
 
 
|-
 
|-
 
! align="left" | Skill
 
! align="left" | Skill
Line 18: Line 15:
 
|-
 
|-
 
! align="left" | [[Weapon_speed|Base delay]] (%)
 
! align="left" | [[Weapon_speed|Base delay]] (%)
| {{{basedelay}}} {{#set:Weapon base delay={{#invoke:String|firs_word|{{{basedelay}}}}}}}
+
| {{{basedelay}}} {{#set:Weapon base delay={{#invoke:String|first_word|{{{basedelay}}}}}}}
 
|-
 
|-
 
! align="left" | [[Minimum_delay|Min delay]]
 
! align="left" | [[Minimum_delay|Min delay]]
Line 38: Line 35:
 
  <nowiki>{{</nowiki>weapon
 
  <nowiki>{{</nowiki>weapon
 
   |name        =  
 
   |name        =  
  |weight      =
 
 
   |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
}}