Template:Stats-weapon: Difference between revisions

From Warma-wiki
Jump to navigation Jump to search
No edit summary
m (Usage and example filled in. Variable specials added.)
Line 54: Line 54:
| rof    =  
| rof    =  
| pow    =   
| pow    =   
| special1 =
| special1 =  
| special1 =  
| special2 =  
| special2 =  
Line 86: Line 85:
| pow    =  20
| pow    =  20
| special1 = Example special
| special1 = Example special
| special1 =
| special2 =  
| special2 =  
| special3 =  
| special3 =  
Line 104: Line 102:
| pow    =  20
| pow    =  20
| special1 = Example special
| special1 = Example special
| special1 =
| special2 =  
| special2 =  
| special3 =  
| special3 =  

Revision as of 21:46, 27 December 2023


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 = 
| rng    = 
| aoe    =
| rof    = 
| pow    =  
| special1 = 
| special2 = 
| special3 = 
| special4 = 
| special5 = 
| special6 = 
| special7 = 
| special8 = 
| special9 = 
}}
</table>

Acceptable values

  • weapon = the weapon template name. Example = "Weapon Name"
  • 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
| rng    = 50
| aoe    = 
| rof    =  3
| pow    =  20
| special1 = Example special
| special2 = 
| special3 = 
| special4 = 
| special5 = 
| special6 = 
| special7 = 
| special8 = 
| special9 = 
}}
Example weapon
RNG ROF POW
50 3 20
Template:Example special