From SCP: Secret Laboratory English Official Wiki

mNo edit summary
No edit summary
 
(40 intermediate revisions by 2 users not shown)
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|link=File:{{{image}}}]]
 
{{!}}-
|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" | Basic Information
 
|-
|label1  = Type
| style="width:45%;font-size:95%; white-space: nowrap;" | '''Type'''
|data1    = {{{Type|}}}
| style="width:55%; white-space: nowrap;" | {{{type}}}
 
|-
|label2  = Ammo Capacity
{{#if:{{{description|}}}|{{!}} style="width:30%;font-size:95%;" {{!}} '''Description'''
|data2    = {{{Ammo|}}}
{{!}} style="width:45%; white-space: nowrap;" {{!}} ''{{{description}}}''
 
{{!}}-
|label3  = Fire Rate
|}}
|data3    = {{{Fire_Rate|}}}
{{#if:{{{caliber|}}}|{{!}} style="width:45%;font-size:95%;" {{!}} '''Caliber'''
 
{{!}} style="width:55%;" {{!}} {{{caliber}}} MM
|label4  = Bullet Damage
{{!}}-
|data4    = {{{Damage|}}}
|}}
 
{{#if:{{{ammo|}}}|{{!}} style="width:45%;font-size:95%;" {{!}} '''Ammo Capacity'''
|label5  = Reload Time
{{!}} style="width:55%;" {{!}} {{{ammo}}}
|data5    = {{{Reload|}}}
{{!}}-
 
|}}
|label6 = Caliber
{{#if:{{{damage|}}}|{{!}} style="width:45%;font-size:95%;" {{!}} '''Damage'''
|data6  = {{{Caliber|}}}
{{!}} style="width:55%;" {{!}} {{{damage}}}
 
{{!}}-
|label7  = Explosion Damage
|}}
|data7    = {{{Explosion_Damage|}}}
{{#if:{{{headdamage|}}}|{{!}} style="width:45%;font-size:95%;" {{!}} '''Headshot Damage'''
 
{{!}} style="width:55%;" {{!}} {{{headdamage}}}
|label8  = Spawn Location
{{!}}-
|data8    = {{{Spawn|}}}
|}}
}}
{{#if:{{{fire_rate|}}}|{{!}} style="width:45%;font-size:95%;" {{!}} '''Fire Rate'''
{{!}} style="width:55%;" {{!}} {{{fire_rate}}}
{{!}}-
|}}
{{#if:{{{reload|}}}|{{!}} style="width:45%;font-size:95%;" {{!}} '''Reload Time'''
{{!}} style="width:55%;" {{!}} {{{reload}}}s
{{!}}-
|}}
{{#if:{{{explosion_damage|}}}|{{!}} style="width:45%;font-size:95%;" {{!}} '''Explosion Damage'''
{{!}} style="width:55%;" {{!}} {{{explosion_damage}}}
{{!}}-
|}}
{{#if:{{{blast_damage|}}}|{{!}} style="width:45%;font-size:95%;" {{!}} '''Blast Damage'''
{{!}} style="width:55%;" {{!}} {{{blast_damage}}}
{{!}}-
|}}
{{#if:{{{blast_duration|}}}|{{!}} style="width:45%;font-size:95%;" {{!}} '''Blast Duration'''
{{!}} style="width:55%;" {{!}} {{{blast_duration}}}
{{!}}-
|}}
{{#if:{{{arm_time|}}}|{{!}} style="width:45%;font-size:95%;" {{!}} '''Fuse Time'''
{{!}} style="width:55%;" {{!}} {{{arm_time}}}s
{{!}}-
|}}
{{#if:{{{effect|}}}|{{!}} style="width:45%;font-size:95%;" {{!}} '''Applied Effects'''
{{!}} style="width:55%; white-space: nowrap;" {{!}} {{{effect}}}
{{!}}-
|}}
| class="infobox3" colspan="2" |Miscellaneous Info
|-
{{#if:{{{weight|}}}|{{!}} style="width:45%;font-size:95%;" {{!}} '''Weight'''
{{!}} style="width:55%;" {{!}}  {{#ask: [[item::{{{name|{{PAGENAME}}}}}]][[special::normal]][[weight::+]]|?item|?weight=weight|sort=weight|template=Weight|namedargs = yes|format=plainlist|link=none}} kg
{{!}}-
|}}
{{#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}}}} | {{#ask: [[item::{{{name|{{PAGENAME}}}}}]][[special::normal]][[weight::+]]|?item|?weight=weight|sort=weight|template=WeightToPickUpTime|namedargs = yes|format=plainlist|link=none}}}}
{{!}}-
|}}
{{#ifeq:{{PAGENAME}}|Cut/Legacy Content/Items||{{#if:{{{Pocket|Low}}}|{{!}} style="width:45%;font-size:95%; white-space: nowrap;" {{!}} '''Deletion % in {{Hoverimage|Pocket Dimension|text=PD}}'''
{{!}} style="width:55%;" {{!}} {{ItemTierCheck|{{{name|{{PAGENAME}}}}}}}
{{!}}-
|}}
|}}
{{#ifeq:{{PAGENAME}}|Cut/Legacy Content/Items||{{#if: {{{disarmImmunity|True}}}|{{!}} style="width:45%;font-size:95%; white-space: nowrap;" {{!}}  '''{{Hoverimage|Does having this item equipped make the player<br> immune to being disarmed?|text=Disarm Immunity?}}'''
{{!}} style="width:55%;" {{!}} {{ItemTierCheck|{{{name|{{PAGENAME}}}}}|templateOverride=ListTierDisarm}}
{{!}}-
|}}
|}}
{{#if:{{{spawn|}}}|{{!}} style="width:45%;font-size:95%; white-space: nowrap;"" {{!}} '''Spawn Locations'''
{{!}} style="width:55%; white-space: nowrap;" {{!}} {{{spawn}}}
{{!}}-
|}}
{{#if:{{{SCP914|True}}}|{{!}} style="width:45%;font-size:95%; white-space: nowrap;" {{!}} '''Obtainable from 914?'''
{{!}} style="width:55%;" {{!}} {{{SCP914|True}}}
{{!}}-
|}}
{{#if:{{{manufactor|}}}|{{!}} style="width:45%;font-size:95%; white-space: nowrap;" {{!}} '''Manufactor'''
{{!}} style="width:55%; white-space: nowrap;" {{!}} {{{manufactor}}}
{{!}}-
|}}
{{#if:{{{inspired|}}}|{{!}} style="width:45%;font-size:95%; white-space: nowrap;" {{!}} '''Inspired by'''
{{!}} style="width:55%; white-space: nowrap;" {{!}} {{{inspired}}}
{{!}}-
|}}
{{#if:{{{debugName|}}}|{{!}} style="width:30%;font-size:95%;" {{!}} '''Debug Name'''
{{!}} style="width:55%; white-space: nowrap;" {{!}} {{{debugName}}}
{{!}}-
|}}
| style="width:45%;font-size:95%; white-space: nowrap;" | '''Item ID'''
| style="width:55%; white-space: nowrap;" | {{{ID}}}
|}
{{#if:{{{nocat|}}}||[[Category:Weapons]]}}
</includeonly>
<noinclude>
<noinclude>
{{Weapon infobox
{{Weapon infobox
|Name = Example weapon
|name = Example weapon
|image = SCP Foundation (emblem).svg
|image = SCP Foundation (emblem).svg
|caption = Some example image
|caption = Some example image
|Type = SMG
|type = SMG
|Ammo = 50
|ammo = 50
|Fire_Rate = 8
|fire_rate = 300
|Damage = 8
|damage = 8
|Reload = 3.3s
|reload = 3.3
|Caliber = 9 MM
|caliber = 9
|Spawn = LCZ
|spawn = LCZ
|nocat = yes
|ID = 1
}}
}}
__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 = 300</nowiki></code><br>
<code><nowiki>|damage = 8</nowiki></code><br>
<code><nowiki>|reload = 3.3</nowiki></code><br>
<code><nowiki>|caliber = 9</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>|caption = Caption under 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</nowiki></code><br>
<code><nowiki>|damage = Per bullet damage</nowiki></code><br>
<code><nowiki>|reload = Reload time</nowiki></code><br>
<code><nowiki>|arm_time = Grenade arm time</nowiki></code><br>
<code><nowiki>|explosion_damage = Grenade explosion damage</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>|nocat = Doesn't include category</nowiki></code><br>
<code><nowiki>}}</nowiki></code>
[[Category:Templates]][[Category:Infoboxes]]
</noinclude>
</noinclude>

Latest revision as of 03:21, 20 February 2024


Example weapon
Some example image
Basic Information
Type SMG
Caliber 9 MM
Ammo Capacity 50
Damage 8
Fire Rate 300
Reload Time 3.3s
Miscellaneous Info
Deletion % in PD Pocket Dimension
Disarm Immunity? Does having this item equipped make the player
immune to being disarmed?
Spawn Locations LCZ
Obtainable from 914? True
Item 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
}}

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