Template:Stats-weapon

From Warma-wiki
Revision as of 21:56, 27 December 2023 by Disgruntled-tom (talk | contribs) (Added ranged vs melee variable)
Jump to navigation Jump to search


USAGE

All weapons must be in a template. They call this template so that the information can go into the page.

Instructions

Paste the following into your weapon template:

<table>
{{Stats-weapon
| weapon = 
| weapon-type = 
| rng    = 
| aoe    =
| rof    = 
| pow    =  
| special1 = 
| special2 = 
| special3 = 
| special4 = 
| special5 = 
| special6 = 
| special7 = 
| special8 = 
| special9 = 
}}
</table>

Acceptable values

  • weapon = the weapon template name. Example = "Weapon Name"
  • weapon-type = "melee" or "ranged"
  • rng = a number, except in the case of sprays. Example "sp8" or "10"
  • aoe = a number, or leave blank for it to not appear.
  • rof = a number, or leave blank for it to not appear.
  • pow = a number, or dash or leave blank.
  • special1 through special 9 = the special template name. This covers everything from damage typing to criticals, to special rules.

EXAMPLE

Here's an example

{{Stats-weapon
| weapon = Example weapon
| weapon-type = ranged
| rng    = 50
| aoe    = 
| rof    =  3
| pow    =  20
| special1 = Example special
| special2 = 
| special3 = 
| special4 = 
| special5 = 
| special6 = 
| special7 = 
| special8 = 
| special9 = 
}}
Example weapon [[Category: Attacks|]] [[:Category: Attacks|]]
RNG ROF POW
50 3 20
Template:Example special