Toggle menu
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
Fuck off edit conflict
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
{| class="infobox" style="font-size:90%; width:25%;"  
{| class="infobox" style="font-size:90%; width:20%;"  
|-  
|-  
! 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}}}{{!}}250px]]
{{#if:{{{image|}}} |{{!}} style="padding:0.5em; text-align:center;" colspan="2" {{!}} [[File:{{{image}}}{{!}}250px|link=File:{{{image}}}]]
{{!}}-
{{!}}-
|}}
|}}
Line 12: Line 12:
| class="infobox3" colspan="2" | Stats
| class="infobox3" colspan="2" | Stats
|-
|-
| style="width:45%;font-size:95%;" | '''Type'''  
| style="width:45%;font-size:95%; white-space: nowrap;" | '''Type'''  
| style="width:55%;" | {{{type}}}  
| style="width:55%; white-space: nowrap;" | {{{type}}}  
|-
|-
{{#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%;" {{!}}  {{#ask: [[item::{{{name|{{PAGENAME}}}}}]][[special::normal]][[weight::+]]|?item|?weight=weight|sort=weight|template=Weight|namedargs = yes|format=plainlist|link=none}}
{{!}}-
{{!}}-
|}}
|}}
Line 23: Line 27:
{{!}}-
{{!}}-
|}}
|}}
{{#if:{{{fire_rate|}}}|{{!}} style="width:45%;font-size:95%;" {{!}} '''Headshot Damage'''  
{{#if:{{{headdamage|}}}|{{!}} style="width:45%;font-size:95%;" {{!}} '''Headshot Damage'''  
{{!}} style="width:55%;" {{!}} {{#expr:{{{damage}}}*4}}
{{!}} style="width:55%;" {{!}} {{{headdamage}}}
{{!}}-
|}}
{{#if:{{{fire_rate|}}}|{{!}} style="width:45%;font-size:95%;" {{!}} '''Limbshot Damage'''
{{!}} style="width:55%;" {{!}} {{#expr:{{{damage}}}*.5}}
{{!}}-
{{!}}-
|}}
|}}
Line 59: Line 59:
{{!}}-
{{!}}-
|}}
|}}
{{#if:{{{spawn|}}}|{{!}} style="width:45%;font-size:95%;" {{!}} '''Spawn Locations'''  
{{#if:{{{pickup_time|{{{weight|}}}}}}|{{!}} style="width:45%;font-size:95%;" {{!}} {{Hoverimage|Higher weight increases time|text='''Pick-Up Time'''}}
{{!}} style="width:55%;" {{!}} {{{spawn}}}
{{!}} 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:{{{effect|}}}|{{!}} style="width:45%;font-size:95%;" {{!}} '''Applied Effects'''  
{{#if:{{{effect|}}}|{{!}} style="width:45%;font-size:95% white-space: nowrap;";" {{!}} '''Applied Effects'''  
{{!}} style="width:55%;" {{!}} {{{effect}}}
{{!}} style="width:55%; white-space: nowrap;" {{!}} {{{effect}}}
{{!}}-
{{!}}-
|}}
|}}
Line 71: Line 89:
{{!}}-
{{!}}-
|}}
|}}
{{#if:{{{ID|}}}|{{!}} style="width:45%;font-size:95%;" {{!}} '''Spawn ID'''
{{#if:{{{inspired|}}}|{{!}} style="width:45%;font-size:95%; white-space: nowrap;" {{!}} '''Inspired by'''  
{{!}} style="width:55%;" {{!}} {{{ID}}}
{{!}} style="width:55%; white-space: nowrap;" {{!}} {{{inspired}}}
{{!}}-
{{!}}-
|}}
|}}
| style="width:45%;font-size:95%; white-space: nowrap;" | '''Spawn ID'''
| style="width:55%; white-space: nowrap;" | {{{ID}}}
|}
|}
{{#if:{{{nocat|}}}||[[Category:Weapons]]}}
{{#if:{{{nocat|}}}||[[Category:Weapons]]}}

Latest revision as of 17:41, 5 April 2023


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