Template:Weapon Infobox/doc

From Sunrust Wiki
Jump to navigation Jump to search

This template is used to create infoboxes for weapons. Its development has reached a point where this should be used for guns only, melee will be implemented. This page will feature the arguments for this infobox as it is developped.


Examples :

'Annabelle' Rifle
Stats
Tier 2
Cost30 points
Damage70
Reload speed0.43 s
Attack delay0.73 s
Clip size5
Min Spread0.25
Max Spread4
Move Speed218
Res Pierce70%
Overkill25%
{{Weapon Infobox
|weapon = 'Annabelle' Rifle
|tier = 2
|cost = 30
|damage = 70
|reload = 0.43
|attackdelay = 0.73
|clipsize = 5
|minspread = 0.25
|maxspread = 4
|movespeed = 218
|respierce = 70
|overkill = 25
|pointmulti =
|pulseslow =
}}
'Oberon' Pulse Shotgun
Stats
Tier 3
Cost65 points
Damage13x5
Reload speed0.4 s
Attack delay0.82 s
Clip size7
Min Spread4.75
Max Spread5.5
Move Speed211
Point Multi125%
Slow38%
{{Weapon Infobox
|weapon = 'Oberon' Pulse Shotgun
|tier = 3
|cost = 65
|damage = 13x5
|reload = 0.4
|attackdelay = 0.82
|clipsize = 7
|minspread = 4.75
|maxspread = 5.5
|movespeed = 211
|respierce =
|overkill =
|pointmulti = 125
|pulseslow = 38
}}
'Akbar' Assault Rifle
Stats
Tier 3
Cost65 points
Damage21.75
Reload speed2.46 s
Attack delay0.12 s
Clip size30
Min Spread1.27
Max Spread2.65
Move Speed218
Res Pierce30%
Pierces1
Pierce Taper20
{{Weapon Infobox
|weapon = 'Akbar' Assault Rifle
|tier = 3
|cost = 65
|damage = 21.75
|reload = 2.46
|attackdelay = 0.12
|clipsize = 30
|minspread = 1.27
|maxspread = 2.65
|movespeed = 218
|respierce = 30
|overkill =
|pointmulti = 
|pulseslow =
|nbpierces = 1
|piercetaper = 20
}}

Notice how some stats dont have a value assigned to them. All stats are optional, however, i recommend still putting the name of stats that are unused, in case a future update adds them to the weapon.

Existing parameters for this templates are :

  • weapon --This designates then NAME of the weapon
  • tier
  • cost
  • damage
  • reload --This designates reload time in seconds
  • attackdelay
  • clipsize
  • minspread --Minimum spread
  • maxspread --Maximum spread
  • movespeed
  • respierce --Resistance pierce in %
  • overkill
  • pointmulti --Point multiplier in %
  • pulseslow --Written as "Slow%" in weapon database