Template:Weapon infobox: Difference between revisions
Template page
More actions
| No edit summary | No edit summary | ||
| Line 12: | Line 12: | ||
| | class="infobox3" colspan="2" | Stats | | class="infobox3" colspan="2" | Stats | ||
| |- | |- | ||
| | style="width:45%;font-size:95%;" | '''Type'''   | | style="width:45%;font-size:95%; white-space: nowrap;"" | '''Type'''   | ||
| | style="width:55%;" | {{{type}}}   | | style="width:55%;" | {{{type}}}   | ||
| |- | |- | ||
| Line 55: | Line 55: | ||
| {{!}}- | {{!}}- | ||
| |}} | |}} | ||
| {{#if:{{{spawn|}}}|{{!}} style="width:45%;font-size:95%;" {{!}} '''Spawn Locations'''   | {{#if:{{{spawn|}}}|{{!}} style="width:45%;font-size:95%; white-space: nowrap;"" {{!}} '''Spawn Locations'''   | ||
| {{!}} style="width:55%;" {{!}} {{{spawn}}} | {{!}} style="width:55%;" {{!}} {{{spawn}}} | ||
| {{!}}- | {{!}}- | ||
| |}} | |}} | ||
| {{#if:{{{effect|}}}|{{!}} style="width:45%;font-size:95%;" {{!}} '''Applied Effects'''   | {{#if:{{{effect|}}}|{{!}} style="width:45%;font-size:95% white-space: nowrap;";" {{!}} '''Applied Effects'''   | ||
| {{!}} style="width:55%;" {{!}} {{{effect}}} | {{!}} style="width:55%;" {{!}} {{{effect}}} | ||
| {{!}}- | {{!}}- | ||
Revision as of 12:40, 28 May 2021
| Example weapon | |
|---|---|
|   | |
| Some example image | |
| Stats | |
| Type | SMG | 
| Ammo Capacity | 50 | 
| Damage | 8 | 
| Fire Rate | 300 | 
| Reload Time | 3.3s | 
| Caliber | 9 MM | 
| Spawn Locations | LCZ | 
| Spawn ID | 1 | 
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)
|caption = Caption under image
|type = Weapon type (Pistol/SMG/Rifle/LMG)
|ammo = Stock magazine ammo
|fire_rate = Fire rate
|damage = Per bullet damage
|reload = Reload time
|arm_time = Grenade arm time
|explosion_damage = Grenade explosion damage
|caliber = Weapon caliber (9MM, 5.56MM, 7.62MM
|spawn = Spawn locations (both zones and classes)
|nocat = Doesn't include category
}}
