Difference between revisions of "Template:Weapon Infobox/doc"

From Sunrust Wiki
Jump to navigation Jump to search
m
(Redirected page to Template:Infobox Weapon/doc)
Tag: New redirect
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
This template is used to create infoboxes for guns. It is currently in development and should not be used.
#REDIRECT [[Template:Infobox Weapon/doc]]
This page will feature the arguments for this infobox as it is developped.
<br><br><br><hr>
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 developed.




Examples :
Examples:
{{Weapon Infobox
{{Weapon Infobox
|weapon = 'Annabelle' Rifle
|weapon = 'Stubber' Rifle
|tier = 2
|tier = 1
|cost = 30
|cost = 15
|damage = 70
|damage = 55
|reload = 0.43
|reload = 2.93
|attackdelay = 0.73
|attackdelay = 1.15
|clipsize = 5
|minspread = 0
|maxspread = 3.75
|movespeed = 218
|respierce = 70
|overkill = 50
|pointmulti =
|pulseslow =
|headshotmulti = 2.2
|nocat = 1
}}
 
<pre style="overflow:auto">
{{Weapon Infobox
|weapon = 'Stubber' Rifle
|tier = 1
|cost = 15
|damage = 55
|reload = 2.93
|attackdelay = 1.15
|clipsize = 5
|clipsize = 5
|minspread = 0.25
|minspread = 0
|maxspread = 4
|maxspread = 3.75
|movespeed = 218
|movespeed = 218
|respierce = 70
|respierce = 70
|overkill = 25
|overkill = 50
|pointmulti =
|pulseslow =
|headshotmulti = 2.2
}}
}}
</pre>{{clear}}


{{Weapon Infobox
{{Weapon Infobox
Line 30: Line 56:
|maxspread = 5.5
|maxspread = 5.5
|movespeed = 211
|movespeed = 211
|respierce =
|overkill =
|pointmulti = 125
|pointmulti = 125
|pulseslow = 38
|pulseslow = 38
|nocat = 1
}}
}}
<pre style="overflow:auto">
{{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
}}
</pre>{{clear}}
{{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
|nocat = 1
}}
<pre style="overflow:auto">
{{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
|nocat = 1
}}
</pre>{{clear}}
{{Weapon Infobox
|weapon = 'Apostle' Medical AR
|tier = 5
|cost = 170
|damage = 26
|reload = 3.08
|attackdelay = 0.12
|clipsize = 20
|minspread = 1.4
|maxspread = 2.75
|movespeed = 225
|healing = 7.8
|bufftime = 10
|respierce = 30
|nocat = 1
}}
<pre style="overflow:auto">
{{Weapon Infobox
|weapon = 'Apostle' Medical AR
|tier = 5
|cost = 170
|damage = 26
|reload = 3.08
|attackdelay = 0.12
|clipsize = 20
|minspread = 1.4
|maxspread = 2.75
|movespeed = 225
|healing = 7.8
|bufftime = 10
|respierce = 30
}}
</pre>{{clear}}
{{Weapon Infobox
|weapon = Sledgehammer
|tier = 2
|cost = 30
|damage = 105
|range = 70
|knockback = 270
|stability = 65
|staminause = 15
|block = 50
|impactdelay = 0.85
|attackdelay = 1.3
|movespeed = 205
|size = 1.75
|nocat = 1
}}
<pre style="overflow:auto">
{{Weapon Infobox
|weapon = Sledgehammer
|tier = 2
|cost = 30
|damage = 105
|range = 70
|knockback = 270
|stability = 65
|staminause = 15
|block = 50
|impactdelay = 0.85
|attackdelay = 1.3
|movespeed = 205
|size = 1.75
}}
</pre>{{clear}}
(Note: All examples include <code>|nocat = 1</code> on infobox, to avoid categorization)
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 template 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
*nbpierces  --Pierces
*piercetaper
*aoeradius  --Area radius
*aoetaper  --Area taper
*headshotmulti --Headshot multiplier
*debufftime --Time of debuff in seconds
*bufftime --Time of buff in seconds
*healing
Melee exclusive stats :
*range
*knockback
*stability
*staminause  --stamina use in %
*block  --block value in %
*impactdelay
*size

Latest revision as of 20:55, 22 December 2021





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 developed.


Examples:

'Stubber' Rifle
Stats
Tier 1
Cost15 points
Damage55
Reload speed2.93 s
Attack delay1.15 s
Clip size5
Min Spread0
Max Spread3.75
Move Speed218
Res Pierce70%
Overkill50%
Headshot multiplier2.2x
{{Weapon Infobox
|weapon = 'Stubber' Rifle
|tier = 1
|cost = 15
|damage = 55
|reload = 2.93
|attackdelay = 1.15
|clipsize = 5
|minspread = 0
|maxspread = 3.75
|movespeed = 218
|respierce = 70
|overkill = 50
|pointmulti =
|pulseslow =
|headshotmulti = 2.2
}}
'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
|nocat = 1
}}
'Apostle' Medical AR
Stats
Tier 5
Cost170 points
Damage26
Reload speed3.08 s
Attack delay0.12 s
Clip size20
Min Spread1.4
Max Spread2.75
Move Speed225
Res Pierce30%
Buff Time10 s
Healing7.8
{{Weapon Infobox
|weapon = 'Apostle' Medical AR
|tier = 5
|cost = 170
|damage = 26
|reload = 3.08
|attackdelay = 0.12
|clipsize = 20
|minspread = 1.4
|maxspread = 2.75
|movespeed = 225
|healing = 7.8
|bufftime = 10
|respierce = 30
}}
Sledgehammer
Stats
Tier 2
Cost30 points
Damage105
Attack delay1.3 s
Move Speed205
Range70
Knockback270
Stability65
Stamina Use15%
Block50%
Impact Delay0.85
Size1.75
{{Weapon Infobox
|weapon = Sledgehammer
|tier = 2
|cost = 30
|damage = 105
|range = 70
|knockback = 270
|stability = 65
|staminause = 15
|block = 50
|impactdelay = 0.85
|attackdelay = 1.3
|movespeed = 205
|size = 1.75
}}

(Note: All examples include |nocat = 1 on infobox, to avoid categorization)

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 template 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
  • nbpierces --Pierces
  • piercetaper
  • aoeradius --Area radius
  • aoetaper --Area taper
  • headshotmulti --Headshot multiplier
  • debufftime --Time of debuff in seconds
  • bufftime --Time of buff in seconds
  • healing

Melee exclusive stats :

  • range
  • knockback
  • stability
  • staminause --stamina use in %
  • block --block value in %
  • impactdelay
  • size