Jump to content
Toggle menu
  • 138 articles
  • 53 users
  • 2.9K edits
SCP: Secret Laboratory Public Beta Official Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Weapon infobox: Difference between revisions

Template page
No edit summary
m 1 revision imported
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
{| class="infobox" style="font-size:90%; width:20%;"  
{| class="floatright" style="font-size:90%; width:100%; max-width:400px"  
|-  
|-  
! class="infobox2" colspan="2" style="font-size:130%;" | {{{name|{{PAGENAME}}}}}
! class="infobox2" colspan="2" style="font-size:130%;" | {{{name|{{PAGENAME}}}}}
|-
|-
{{#if:{{{image|}}} |{{!}} style="padding:0.5em; text-align:center;" colspan="2" {{!}} [[File:{{{image}}}{{!}}{{{size|250px}}}|link=File:{{{image}}}]]
{{#if:{{{image|}}} |{{!}} style="padding:0.5em; text-align:center;" colspan="2" {{!}} [[File:{{{image}}}{{!}}250px|link=File:{{{image}}}]]
{{!}}-
{{!}}-
|}}
|}}
Line 10: Line 10:
{{!}}-
{{!}}-
|}}
|}}
| class="infobox3" colspan="2" | Stats
| class="infobox3" colspan="2" | Basic Information
|-
|-
| style="width:45%;font-size:95%; white-space: nowrap;" | '''Type'''  
| style="width:45%;font-size:95%;" | '''Type'''  
| style="width:55%; white-space: nowrap;" | {{{type}}}  
| style="width:55%; white-space: nowrap;" | {{{type}}}  
|-
|-
{{#if:{{{description|}}}|{{!}} style="width:30%;font-size:95%;" {{!}} '''Description'''
{{!}} style="width:45%;" {{!}} ''{{{description}}}''
{{!}}-
|}}
{{#if:{{{caliber|}}}|{{!}} style="width:45%;font-size:95%;" {{!}} '''Caliber'''
{{!}} style="width:55%;" {{!}} {{{caliber}}} MM
{{!}}-
|}}
{{#if:{{{ammo|}}}|{{!}} style="width:45%;font-size:95%;" {{!}} '''Ammo Capacity'''  
{{#if:{{{ammo|}}}|{{!}} style="width:45%;font-size:95%;" {{!}} '''Ammo Capacity'''  
{{!}} style="width:55%;" {{!}} {{{ammo}}}
{{!}} style="width:55%;" {{!}} {{{ammo}}}
{{!}}-
|}}
{{#if:{{{weight|}}}|{{!}} style="width:45%;font-size:95%;" {{!}} '''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}}}}}}
{{!}}-
{{!}}-
|}}
|}}
Line 37: Line 41:
{{#if:{{{reload|}}}|{{!}} style="width:45%;font-size:95%;" {{!}} '''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:95%;" {{!}} '''Caliber'''
{{!}} style="width:55%;" {{!}} {{{caliber}}} MM
{{!}}-
{{!}}-
|}}
|}}
Line 55: Line 55:
{{!}}-
{{!}}-
|}}
|}}
{{#if:{{{arm_time|}}}|{{!}} style="width:45%;font-size:95%;" {{!}} '''Arm Time'''  
{{#if:{{{arm_time|}}}|{{!}} style="width:45%;font-size:95%;" {{!}} '''Fuse Time'''  
{{!}} style="width:55%;" {{!}} {{{arm_time}}}s
{{!}} 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'''}}
{{#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|Pick up time is 0.245 + 0.175w. <br> <nowiki>w = weight</nowiki>|text=Varies on weight}} | {{Hoverimage|Unrounded value: {{#expr:0.245+0.175*{{{weight}}}}}s|text={{Mvar|{{#expr:0.245+0.175*{{{weight}}} round 2}}s}}}}}}
{{!}} 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%;" {{!}} '''Deletion % in {{Hoverimage|Pocket Dimension|text=PD}}'''
{{!}} style="width:55%;" {{!}} {{ItemTierCheck|{{{name|{{PAGENAME}}}}}}}
{{!}}-
{{!}}-
|}}
|}}
{{#if:{{{spawn|}}}|{{!}} style="width:45%;font-size:95%; white-space: nowrap;"" {{!}} '''Spawn Locations'''  
|}}
{{!}} style="width:55%; white-space: nowrap;" {{!}} {{{spawn}}}
{{#ifeq:{{PAGENAME}}|Cut/Legacy Content/Items||{{#if: {{{disarmImmunity|True}}}|{{!}} style="width:45%;font-size:95%;" {{!}} '''{{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:{{{SCP914|True}}}|{{!}} style="width:45%;font-size:95%; white-space: nowrap;" {{!}} '''Obtainable from 914?'''  
|}}
{{#if:{{{spawn|}}}|{{!}} style="width:45%;font-size:95%;"" {{!}} '''Spawn Locations'''
{{!}} style="width:55%;" {{!}} {{{spawn}}}
{{!}}-
|}}
{{#if:{{{SCP914|True}}}|{{!}} style="width:45%;font-size:95%;" {{!}} '''Obtainable from 914?'''  
{{!}} style="width:55%;" {{!}} {{{SCP914|True}}}
{{!}} style="width:55%;" {{!}} {{{SCP914|True}}}
{{!}}-
{{!}}-
|}}
|}}
<!---
{{#if:{{{manufactor|}}}|{{!}} style="width:45%;font-size:95%;" {{!}} '''Manufactor'''  
{{#if:{{{Pocket|High}}}|{{!}} style="width:45%;font-size:95%; white-space: nowrap;" {{!}} '''Deletion % in Pocket Dimension'''  
{{!}} style="width:55%;" {{!}} {{{manufactor}}}
{{!}} style="width:55%;" {{!}} {{#switch:{{{Pocket|High}}}|High=High Tier (0%)|Medium=Medium Tier (33%)|Low=Low Tier (50%)|Keycard Override= {{Hoverimage|Janitor Keycard <br>Scientist Keycard<br>Guard Keycard<br>Zone Manager Keycard<br>|text=Low Tier (50%)}}<br>{{Hoverimage|Research Supervisor Keycard<br>Private Keycard<br>Sergeant Keycard<br>Chaos Insurgency Access Device|text=Medium Tier (33%)}}<br>{{Hoverimage|Captain Keycard<br>Containment Engineer Keycard<br>Facility Manager Keycard<br>O5 Keycard|text=High Tier (0%)}}|Coal Override = Unknown}}
{{!}}-
{{!}}-
|}}-->
|}}
{{#if:{{{effect|}}}|{{!}} style="width:45%;font-size:95% white-space: nowrap;";" {{!}} '''Applied Effects'''  
{{#if:{{{inspired|}}}|{{!}} style="width:45%;font-size:95%;" {{!}} '''Inspired by'''  
{{!}} style="width:55%; white-space: nowrap;" {{!}} {{{effect}}}
{{!}} style="width:55%;" {{!}} {{{inspired}}}
{{!}}-
{{!}}-
|}}
|}}
{{#if:{{{manufactor|}}}|{{!}} style="width:45%;font-size:95%; white-space: nowrap;" {{!}} '''Manufactor'''  
{{#if:{{{debugName|}}}|{{!}} style="width:30%;font-size:95%;" {{!}} '''Debug Name'''  
{{!}} style="width:55%; white-space: nowrap;" {{!}} {{{manufactor}}}
{{!}} style="width:55%;" {{!}} {{{debugName}}}
{{!}}-
{{!}}-
|}}
|}}
| style="width:45%;font-size:95%; white-space: nowrap;" | '''Spawn ID'''  
| style="width:45%;font-size:95%; white-space: nowrap;" | '''Item ID'''  
| style="width:55%; white-space: nowrap;" | {{{ID}}}  
| style="width:55%; white-space: nowrap;" | {{{ID}}}  
|}
|}

Latest revision as of 17:50, 21 October 2026


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.