Template:Weapon infobox: Difference between revisions
Template page
More actions
No edit summary |
No edit summary |
||
| Line 59: | Line 59: | ||
{{!}}- | {{!}}- | ||
|}} | |}} | ||
{{#if:{{{pickup_time|{{{weight|}}}}}}|{{!}} style="width:45%;font-size:95%;" {{!}} '''Pick-Up Time''' | {{#if:{{{pickup_time|{{{weight|}}}}}}|{{!}} style="width:45%;font-size:95%;" {{!}} {{Hoverimage|Higher weight increases time|text='''Pick-Up Time'''}} | ||
{{!}} style="width:55%;" {{!}} {{#ifeq: {{PAGENAME}} | Ammunition | {{Hoverimage|<nowiki>a=</nowiki>Amount of bullets|text={{Mvar|0.25 + 0.01a}}}} | {{#expr:0.245+0.175*{{{weight}}}}} }} | {{!}} style="width:55%;" {{!}} {{#ifeq: {{PAGENAME}} | Ammunition | {{Hoverimage|<nowiki>a=</nowiki>Amount of bullets|text={{Mvar|0.25 + 0.01a}}}} | {{Hoverimage|Unrounded value: {{#expr:0.245+0.175*{{{weight}}}}}s|text={{Mvar|{{#expr:0.245+0.175*{{{weight}}} round 2}}s}}}}}} | ||
{{!}}- | {{!}}- | ||
|}} | |}} | ||
Revision as of 19:30, 29 August 2022
| 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 |
| Obtainable from 914? | True |
| 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
}}