Template:Weapon infobox: Difference between revisions
More actions
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 = | |fire_rate = 300 | ||
|damage = 8 | |damage = 8 | ||
|reload = 3. | |reload = 3.3 | ||
|caliber = 9 | |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 = | <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. | <code><nowiki>|reload = 3.3</nowiki></code><br> | ||
<code><nowiki>|caliber = 9 | <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)
}}