From SCP: Secret Laboratory English Official Wiki

No edit summary
No edit summary
 
(34 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    = {{#if: {{{fire_rate|}}} | {{{fire_rate|}}} RPM |}}
{{#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    = {{#if: {{{reload|}}} | {{{reload|}}}s |}}
{{!}}-
 
|}}
|label6 = Caliber
{{#if:{{{damage|}}}|{{!}} style="width:45%;font-size:95%;" {{!}} '''Damage'''
|data6  = {{#if: {{{caliber|}}} | {{{caliber|}}} MM |}}
{{!}} style="width:55%;" {{!}} {{{damage}}}
 
{{!}}-
|label7  = Explosion Damage
|}}
|data7    = {{{explosion_damage|}}}
{{#if:{{{headdamage|}}}|{{!}} style="width:45%;font-size:95%;" {{!}} '''Headshot Damage'''
 
{{!}} style="width:55%;" {{!}} {{{headdamage}}}
<!--Specifically for the Micro HID-->
{{!}}-
 
|}}
|label8  = Blast Damage
{{#if:{{{fire_rate|}}}|{{!}} style="width:45%;font-size:95%;" {{!}} '''Fire Rate'''
|data8    = {{{blast_damage|}}}
{{!}} style="width:55%;" {{!}} {{{fire_rate}}}
 
{{!}}-
|label9  = Blast Duration
|}}
|data9    = {{{blast_duration|}}}
{{#if:{{{reload|}}}|{{!}} style="width:45%;font-size:95%;" {{!}} '''Reload Time'''
 
{{!}} style="width:55%;" {{!}} {{{reload}}}s
<!--##############################-->
{{!}}-
 
|}}
|label10  = Arm Time
{{#if:{{{explosion_damage|}}}|{{!}} style="width:45%;font-size:95%;" {{!}} '''Explosion Damage'''
|data10    = {{#if: {{{arm_time|}}} | {{{arm_time|}}}s |}}
{{!}} style="width:55%;" {{!}} {{{explosion_damage}}}
 
{{!}}-
|label11  = Spawn Location
|}}
|data11    = {{{spawn|}}}
{{#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
Line 61: Line 120:
|caliber = 9
|caliber = 9
|spawn = LCZ
|spawn = LCZ
|nocat = yes
|ID = 1
}}
}}
__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 80: Line 139:
<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>
<code><nowiki>|name = Name override</nowiki></code><br>
<code><nowiki>|name = Name override</nowiki></code><br>
<code><nowiki>|image = Image (preferably png)</nowiki></code><br>
<code><nowiki>|image = Image (preferably png)</nowiki></code><br>
<code><nowiki>|image_size = Image size override</nowiki></code><br>
<code><nowiki>|caption = Caption under image</nowiki></code><br>
<code><nowiki>|caption = Some example image</nowiki></code><br>
<code><nowiki>|type = Weapon type (Pistol/SMG/Rifle/LMG)</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>|ammo = Stock magazine ammo</nowiki></code><br>
<code><nowiki>|fire_rate = Fire rate (use global values)</nowiki></code><br>
<code><nowiki>|fire_rate = Fire rate</nowiki></code><br>
<code><nowiki>|damage = Per bullet damage (use global values)</nowiki></code><br>
<code><nowiki>|damage = Per bullet damage</nowiki></code><br>
<code><nowiki>|reload = Reload time (use global values)</nowiki></code><br>
<code><nowiki>|reload = Reload time</nowiki></code><br>
<code><nowiki>|arm_time = Grenade arm time (use global values)</nowiki></code><br>
<code><nowiki>|arm_time = Grenade arm time</nowiki></code><br>
<code><nowiki>|explosion_damage = Grenade explosion damage (use global values)</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>|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>

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.