Template:Weapon infobox: Difference between revisions
More actions
mNo edit summary |
Template documented a bit better |
||
Line 41: | Line 41: | ||
|data9 = {{{blast_duration|}}} | |data9 = {{{blast_duration|}}} | ||
<!-- | <!--##############################--> | ||
|label10 = Arm Time | |label10 = Arm Time | ||
Line 62: | Line 62: | ||
|spawn = LCZ | |spawn = LCZ | ||
}} | }} | ||
__NOTOC__ | |||
An infobox for [[:Category:Weapons|Weapons]]. | |||
==Example:== | |||
<code><nowiki>{{Weapon infobox</nowiki></code><br> | |||
<code><nowiki>|name = Example weapon</nowiki></code><br> | |||
<code><nowiki>|image = SCP Foundation (emblem).svg</nowiki></code><br> | |||
<code><nowiki>|caption = Some example image</nowiki></code><br> | |||
<code><nowiki>|type = SMG</nowiki></code><br> | |||
<code><nowiki>|ammo = 50</nowiki></code><br> | |||
<code><nowiki>|fire_rate = 8</nowiki></code><br> | |||
<code><nowiki>|damage = 8</nowiki></code><br> | |||
<code><nowiki>|reload = 3.3s</nowiki></code><br> | |||
<code><nowiki>|caliber = 9 MM</nowiki></code><br> | |||
<code><nowiki>|spawn = LCZ</nowiki></code><br> | |||
<code><nowiki>}}</nowiki></code> | |||
==Syntax:== | |||
<code><nowiki>{{Weapon infobox</nowiki></code><br> | |||
<code><nowiki>|name = Name override</nowiki></code><br> | |||
<code><nowiki>|image = Image (preferably png)</nowiki></code><br> | |||
<code><nowiki>|image_size = Image size override</nowiki></code><br> | |||
<code><nowiki>|caption = Some example image</nowiki></code><br> | |||
<code><nowiki>|type = Weapon type (Pistol/SMG/Rifle/LMG)</nowiki></code><br> | |||
<code><nowiki>|ammo = Stock magazine ammo</nowiki></code><br> | |||
<code><nowiki>|fire_rate = Fire rate (use global values)</nowiki></code><br> | |||
<code><nowiki>|damage = Per bullet damage (use global values)</nowiki></code><br> | |||
<code><nowiki>|reload = Reload time (use global values)</nowiki></code><br> | |||
<code><nowiki>|arm_time = Grenade arm time (use global values)</nowiki></code><br> | |||
<code><nowiki>|explosion_damage = Grenade explosion damage (use global values)</nowiki></code><br> | |||
<code><nowiki>|caliber = Weapon caliber (9MM, 5.56MM, 7.62MM</nowiki></code><br> | |||
<code><nowiki>|spawn = Spawn locations (both zones and classes)</nowiki></code><br> | |||
<code><nowiki>}}</nowiki></code> | |||
[[Category:Templates]][[Category:Infoboxes]] | |||
</noinclude> | </noinclude> |
Revision as of 16:26, 8 October 2018
Weapon infobox | |
---|---|
![]() Some example image | |
Type | SMG |
Ammo Capacity | 50 |
Fire Rate | 8 |
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 = 8
|damage = 8
|reload = 3.3s
|caliber = 9 MM
|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)
}}