Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Weapon infobox: Difference between revisions

Template page
Template documented a bit better
No edit summary
Line 19: Line 19:


|label3  = Fire Rate
|label3  = Fire Rate
|data3    = {{{fire_rate|}}}
|data3    = {{#if: {{{fire_rate|}}} | {{{fire_rate|}}} RPM |}}


|label4  = Bullet Damage
|label4  = Bullet Damage
Line 25: Line 25:


|label5  = Reload Time
|label5  = Reload Time
|data5    = {{{reload|}}}
|data5    = {{#if: {{{reload|}}} | {{{reload|}}}s |}}


|label6 = Caliber
|label6 = Caliber
|data6  = {{{caliber|}}}
|data6  = {{#if: {{{caliber|}}} | {{{caliber|}}} MM |}}


|label7  = Explosion Damage
|label7  = Explosion Damage
Line 44: Line 44:


|label10  = Arm Time
|label10  = Arm Time
|data10    = {{{arm_time|}}}
|data10    = {{#if: {{{arm_time|}}} | {{{arm_time|}}}s |}}


|label11  = Spawn Location
|label11  = Spawn Location
Line 56: Line 56:
|type = SMG
|type = SMG
|ammo = 50
|ammo = 50
|fire_rate = 8
|fire_rate = 300
|damage = 8
|damage = 8
|reload = 3.3s
|reload = 3.3
|caliber = 9 MM
|caliber = 9
|spawn = LCZ
|spawn = LCZ
}}
}}
Line 74: Line 74:
<code><nowiki>|type = SMG</nowiki></code><br>
<code><nowiki>|type = SMG</nowiki></code><br>
<code><nowiki>|ammo = 50</nowiki></code><br>
<code><nowiki>|ammo = 50</nowiki></code><br>
<code><nowiki>|fire_rate = 8</nowiki></code><br>
<code><nowiki>|fire_rate = 300</nowiki></code><br>
<code><nowiki>|damage = 8</nowiki></code><br>
<code><nowiki>|damage = 8</nowiki></code><br>
<code><nowiki>|reload = 3.3s</nowiki></code><br>
<code><nowiki>|reload = 3.3</nowiki></code><br>
<code><nowiki>|caliber = 9 MM</nowiki></code><br>
<code><nowiki>|caliber = 9</nowiki></code><br>
<code><nowiki>|spawn = LCZ</nowiki></code><br>
<code><nowiki>|spawn = LCZ</nowiki></code><br>
<code><nowiki>}}</nowiki></code>
<code><nowiki>}}</nowiki></code>

Revision as of 12:54, 13 October 2018

Weapon infobox
Some example image
Type SMG
Ammo Capacity 50
Fire Rate 300 RPM
Bullet Damage 8
Reload Time 3.3s
Caliber 9 MM
Spawn Location LCZ


An infobox for Weapons.


Example:

{{Weapon infobox
|name = Example weapon
|image = SCP Foundation (emblem).svg
|caption = Some example image
|type = SMG
|ammo = 50
|fire_rate = 300
|damage = 8
|reload = 3.3
|caliber = 9
|spawn = LCZ
}}


Syntax:

{{Weapon infobox
|name = Name override
|image = Image (preferably png)
|image_size = Image size override
|caption = Some example image
|type = Weapon type (Pistol/SMG/Rifle/LMG)
|ammo = Stock magazine ammo
|fire_rate = Fire rate (use global values)
|damage = Per bullet damage (use global values)
|reload = Reload time (use global values)
|arm_time = Grenade arm time (use global values)
|explosion_damage = Grenade explosion damage (use global values)
|caliber = Weapon caliber (9MM, 5.56MM, 7.62MM
|spawn = Spawn locations (both zones and classes)
}}

Cookies help us deliver our services. By using our services, you agree to our use of cookies.