From SCP: Secret Laboratory English Official Wiki

m (Global values suck)
mNo edit summary
Line 12: Line 12:
| class="infobox3" colspan="2" | Stats
| class="infobox3" colspan="2" | Stats
|-
|-
| style="width:45%;font-size:105%;" | '''Type'''  
| style="width:45%;font-size:95%;" | '''Type'''  
| style="width:55%;" | {{{type}}}  
| style="width:55%;" | {{{type}}}  
|-
|-
{{#if:{{{ammo|}}}|{{!}} style="width:45%;font-size:105%;" {{!}} '''Ammo Capacity'''  
{{#if:{{{ammo|}}}|{{!}} style="width:45%;font-size:95%;" {{!}} '''Ammo Capacity'''  
{{!}} style="width:55%;" {{!}} {{{ammo}}}
{{!}} style="width:55%;" {{!}} {{{ammo}}}
{{!}}-
{{!}}-
|}}
|}}
{{#if:{{{damage|}}}|{{!}} style="width:45%;font-size:105%;" {{!}} '''Bullet Damage'''  
{{#if:{{{damage|}}}|{{!}} style="width:45%;font-size:95%;" {{!}} '''Bullet Damage'''  
{{!}} style="width:55%;" {{!}} {{{damage}}}
{{!}} style="width:55%;" {{!}} {{{damage}}}
{{!}}-
{{!}}-
|}}
|}}
{{#if:{{{fire_rate|}}}|{{!}} style="width:45%;font-size:105%;" {{!}} '''Fire Rate'''  
{{#if:{{{fire_rate|}}}|{{!}} style="width:45%;font-size:95%;" {{!}} '''Fire Rate'''  
{{!}} style="width:55%;" {{!}} {{{fire_rate}}}
{{!}} style="width:55%;" {{!}} {{{fire_rate}}}
{{!}}-
{{!}}-
|}}
|}}
{{#if:{{{reload|}}}|{{!}} style="width:45%;font-size:105%;" {{!}} '''Reload Time'''  
{{#if:{{{reload|}}}|{{!}} style="width:45%;font-size:95%;" {{!}} '''Reload Time'''  
{{!}} style="width:55%;" {{!}} {{{reload}}}s  
{{!}} style="width:55%;" {{!}} {{{reload}}}s  
{{!}}-
{{!}}-
|}}
|}}
{{#if:{{{caliber|}}}|{{!}} style="width:45%;font-size:105%;" {{!}} '''Caliber'''  
{{#if:{{{caliber|}}}|{{!}} style="width:45%;font-size:95%;" {{!}} '''Caliber'''  
{{!}} style="width:55%;" {{!}} {{{caliber}}} MM
{{!}} style="width:55%;" {{!}} {{{caliber}}} MM
{{!}}-
{{!}}-
|}}
|}}
{{#if:{{{explosion_damage|}}}|{{!}} style="width:45%;font-size:105%;" {{!}} '''Explosion Damage'''  
{{#if:{{{explosion_damage|}}}|{{!}} style="width:45%;font-size:95%;" {{!}} '''Explosion Damage'''  
{{!}} style="width:55%;" {{!}} {{{explosion_damage}}}
{{!}} style="width:55%;" {{!}} {{{explosion_damage}}}
{{!}}-
{{!}}-
|}}
|}}
{{#if:{{{blast_damage|}}}|{{!}} style="width:45%;font-size:105%;" {{!}} '''Blast Damage'''  
{{#if:{{{blast_damage|}}}|{{!}} style="width:45%;font-size:95%;" {{!}} '''Blast Damage'''  
{{!}} style="width:55%;" {{!}} {{{blast_damage}}}
{{!}} style="width:55%;" {{!}} {{{blast_damage}}}
{{!}}-
{{!}}-
|}}
|}}
{{#if:{{{blast_duration|}}}|{{!}} style="width:45%;font-size:105%;" {{!}} '''Blast Duration'''  
{{#if:{{{blast_duration|}}}|{{!}} style="width:45%;font-size:95%;" {{!}} '''Blast Duration'''  
{{!}} style="width:55%;" {{!}} {{{blast_duration}}}
{{!}} style="width:55%;" {{!}} {{{blast_duration}}}
{{!}}-
{{!}}-
|}}
|}}
{{#if:{{{arm_time|}}}|{{!}} style="width:45%;font-size:105%;" {{!}} '''Arm Time'''  
{{#if:{{{arm_time|}}}|{{!}} style="width:45%;font-size:95%;" {{!}} '''Arm Time'''  
{{!}} style="width:55%;" {{!}} {{{arm_time}}}s
{{!}} style="width:55%;" {{!}} {{{arm_time}}}s
{{!}}-
{{!}}-
|}}
|}}
{{#if:{{{spawn|}}}|{{!}} style="width:45%;font-size:105%;" {{!}} '''Spawn Locations'''  
{{#if:{{{spawn|}}}|{{!}} style="width:45%;font-size:95%;" {{!}} '''Spawn Locations'''  
{{!}} style="width:55%;" {{!}} {{{spawn}}}
{{!}} style="width:55%;" {{!}} {{{spawn}}}
{{!}}-
{{!}}-
Line 74: Line 74:
__NOTOC__
__NOTOC__
An infobox for [[:Category:Weapons|Weapons]].
An infobox for [[:Category:Weapons|Weapons]].
 
==Example==
 
==Example:==


<code><nowiki>{{Weapon infobox</nowiki></code><br>
<code><nowiki>{{Weapon infobox</nowiki></code><br>
Line 90: Line 88:
<code><nowiki>|spawn = LCZ</nowiki></code><br>
<code><nowiki>|spawn = LCZ</nowiki></code><br>
<code><nowiki>}}</nowiki></code>
<code><nowiki>}}</nowiki></code>
 
==Syntax==
 
==Syntax:==


<code><nowiki>{{Weapon infobox</nowiki></code><br>
<code><nowiki>{{Weapon infobox</nowiki></code><br>

Revision as of 15:20, 31 March 2019


Example weapon
Some example image
Stats
Type SMG
Ammo Capacity 50
Bullet Damage 8
Fire Rate 300
Reload Time 3.3s
Caliber 9 MM
Spawn Locations 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
|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
}}

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