Difference between revisions of "Template:Weapon"

From CrawlWiki
Jump to: navigation, search
(Let's add a semantic property)
(More semantic properties)
Line 15: Line 15:
 
|-
 
|-
 
! align="left" | Accuracy
 
! align="left" | Accuracy
| {{{accuracy}}}
+
| [[Weapon accuracy::{{{accuracy}}}]]
 
|-
 
|-
 
! align="left" | [[Weapon_Speed|Base delay]] (%)
 
! align="left" | [[Weapon_Speed|Base delay]] (%)
| {{{basedelay}}}
+
| [[Weapon base delay::{{{basedelay}}}]]
 
|-
 
|-
 
! align="left" | [[Minimum_delay|Min delay]]
 
! align="left" | [[Minimum_delay|Min delay]]
| {{{mindelay}}}
+
| [[Weapon minimum delay::{{{mindelay}}}]]
 
|-
 
|-
 
! align="left" | [[Handedness|Hands]]
 
! align="left" | [[Handedness|Hands]]
Line 27: Line 27:
 
|-
 
|-
 
! align="left" | Size
 
! align="left" | Size
| {{{size}}}
+
| [[Weapon size::{{{size}}}]]
 
|-
 
|-
 
! align="left" | Ranged?
 
! align="left" | Ranged?
| {{{ranged}}}
+
| [[Is ranged::{{{ranged}}}]]
 
|}
 
|}
  

Revision as of 19:26, 15 August 2013

Name {{{name}}}
Weight {{{weight}}} aum
Skill [[{{{skill}}}]]
Damage {{{damage}}}
Accuracy {{{accuracy}}}
Base delay (%) {{{basedelay}}}
Min delay {{{mindelay}}}
Hands {{{hands}}}
Size {{{size}}}
Ranged? {{{ranged}}}

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

{{weapon
 |name        = 
 |weight      = 
 |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
}}