From SCP: Secret Laboratory English Official Wiki

No edit summary
No edit summary
Line 1: Line 1:
{{Infobox
<includeonly>
|bodyclass      = vcard
{| class="infobox" style="font-size:90%; width:20%;"
 
|-
|aboveclass    = fn org
! class="infobox2" colspan="2" style="font-size:130%;" | {{{name|{{PAGENAME}}}}}
|abovestyle    = background-color:black
|-
|above          = {{#ifeq:{{{Name|}}}||<includeonly>{{PAGENAME}}</includeonly>|{{{Name}}}}}
{{#if:{{{image|}}} |{{!}} style="padding:0.5em; text-align:center;" colspan="2" {{!}} [[File:{{{image}}}{{!}}250px]]
 
{{!}}-
|subheader      = {{ifempty|{{{other_name|}}}|{{{alt_name|}}}}}
|}}
| suheaderclass = nickname
{{#if:{{{caption|}}}|{{!}} style="text-align:center;" colspan="2" {{!}} <small>{{{caption}}}</small>
 
{{!}}-
|image1  = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|{{{photo|}}}}}}|size={{{image_size|{{{photo_width|}}}}}}|sizedefault=256px|alt={{{alt|{{{photo_alt|}}}}}}}}
|}}
|caption1 = {{ifempty|{{{caption|}}}|{{{photo_caption|}}}}}
| class="infobox3" colspan="2" | Stats
 
|-
|label1  = Type
| style="width:55%;font-size:105%;" | '''Type'''
|data1    = {{{type|}}}
| style="width:45%;" | {{{type}}}
 
|-
|label2  = Ammo Capacity
{{#if:{{{ammo|}}}|{{!}} style="width:55%;font-size:105%;" {{!}} '''Ammo Capacity'''
|data2    = {{{ammo|}}}
{{!}} style="width:45%;" {{!}} {{{ammo}}}  
 
{{!}}-
|label3  = Fire Rate
|}}
|data3    = {{#if: {{{fire_rate|}}} | {{{fire_rate|}}} RPM |}}
{{#if:{{{damage|}}}|{{!}} style="width:55%;font-size:105%;" {{!}} '''Bullet Damage'''
 
{{!}} style="width:45%;" {{!}} {{{damage}}}  
|label4  = Bullet Damage
{{!}}-
|data4    = {{{damage|}}}
|}}
 
{{#if:{{{reload|}}}|{{!}} style="width:55%;font-size:105%;" {{!}} '''Reload Time'''
|label5  = Reload Time
{{!}} style="width:45%;" {{!}} {{{reload}}}s
|data5    = {{#if: {{{reload|}}} | {{{reload|}}}s |}}
{{!}}-
 
|}}
|label6 = Caliber
{{#if:{{{caliber|}}}|{{!}} style="width:55%;font-size:105%;" {{!}} '''Caliber'''
|data6  = {{#if: {{{caliber|}}} | {{{caliber|}}} MM |}}
{{!}} style="width:45%;" {{!}} {{{caliber}}} MM
 
{{!}}-
|label7  = Explosion Damage
|}}
|data7    = {{{explosion_damage|}}}
{{#if:{{{explosion_damage|}}}|{{!}} style="width:55%;font-size:105%;" {{!}} '''Explosion Damage'''
 
{{!}} style="width:45%;" {{!}} {{{explosion_damage}}}  
<!--Specifically for the Micro HID-->
{{!}}-
 
|}}
|label8  = Blast Damage
{{#if:{{{blast_damage|}}}|{{!}} style="width:55%;font-size:105%;" {{!}} '''Blast Damage'''
|data8    = {{{blast_damage|}}}
{{!}} style="width:45%;" {{!}} {{{blast_damage}}}  
 
{{!}}-
|label9  = Blast Duration
|}}
|data9    = {{{blast_duration|}}}
{{#if:{{{blast_duration|}}}|{{!}} style="width:55%;font-size:105%;" {{!}} '''Blast Duration'''
 
{{!}} style="width:45%;" {{!}} {{{blast_duration}}}  
<!--##############################-->
{{!}}-
 
|}}
|label10  = Arm Time
{{#if:{{{arm_time|}}}|{{!}} style="width:55%;font-size:105%;" {{!}} '''Arm Time'''
|data10    = {{#if: {{{arm_time|}}} | {{{arm_time|}}}s |}}
{{!}} style="width:45%;" {{!}} {{{arm_time}}}  
 
{{!}}-
|label11  = Spawn Location
|}}
|data11    = {{{spawn|}}}
{{#if:{{{spawn|}}}|{{!}} style="width:55%;font-size:105%;" {{!}} '''Spawn Locations'''
}}
{{!}} style="width:45%;" {{!}} {{{spawn}}}
{{!}}-
|}}
|}
{{#if:{{{nocat|}}}||[[Category:Weapons]]}}
</includeonly>
<noinclude>
<noinclude>
{{Weapon infobox
{{Weapon infobox
Line 61: Line 66:
|caliber = 9
|caliber = 9
|spawn = LCZ
|spawn = LCZ
|nocat = yes
}}
}}
__NOTOC__
__NOTOC__
Line 98: Line 104:
<code><nowiki>|caliber = Weapon caliber (9MM, 5.56MM, 7.62MM</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>|spawn = Spawn locations (both zones and classes)</nowiki></code><br>
<code><nowiki>|nocat = Doesn't include category</nowiki></code><br>
<code><nowiki>}}</nowiki></code>
<code><nowiki>}}</nowiki></code>
[[Category:Templates]][[Category:Infoboxes]]
[[Category:Templates]][[Category:Infoboxes]]
</noinclude>
</noinclude>

Revision as of 15:56, 22 December 2018


Example weapon
Some example image
Stats
Type SMG
Ammo Capacity 50
Bullet Damage 8
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 (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)
|nocat = Doesn't include category
}}

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