Template:Weapon infobox: Difference between revisions
Template page
More actions
Fuck off edit conflict |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{| class="infobox" style="font-size:90%; width: | {| 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%;" {{!}} {{#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 23: | Line 27: | ||
{{!}}- | {{!}}- | ||
|}} | |}} | ||
{{#if:{{{ | {{#if:{{{headdamage|}}}|{{!}} style="width:45%;font-size:95%;" {{!}} '''Headshot Damage''' | ||
{{!}} style="width:55%;" {{!}} {{ | {{!}} style="width:55%;" {{!}} {{{headdamage}}} | ||
{{!}}- | {{!}}- | ||
|}} | |}} | ||
Line 59: | Line 59: | ||
{{!}}- | {{!}}- | ||
|}} | |}} | ||
{{#if:{{{ | {{#if:{{{pickup_time|{{{weight|}}}}}}|{{!}} style="width:45%;font-size:95%;" {{!}} {{Hoverimage|Higher weight increases time|text='''Pick-Up Time'''}} | ||
{{!}} style="width:55%;" {{!}} {{{ | {{!}} 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}}}}}} | ||
{{!}}- | {{!}}- | ||
|}} | |}} | ||
{{#if:{{{effect|}}}|{{!}} style="width:45%;font-size:95%;" {{!}} '''Applied Effects''' | {{#if:{{{spawn|}}}|{{!}} style="width:45%;font-size:95%; white-space: nowrap;"" {{!}} '''Spawn Locations''' | ||
{{!}} style="width:55%;" {{!}} {{{effect}}} | {{!}} 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:{{{Pocket|High}}}|{{!}} style="width:45%;font-size:95%; white-space: nowrap;" {{!}} '''Deletion % in Pocket Dimension''' | |||
{{!}} 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''' | |||
{{!}} style="width:55%; white-space: nowrap;" {{!}} {{{effect}}} | |||
{{!}}- | {{!}}- | ||
|}} | |}} | ||
Line 71: | Line 84: | ||
{{!}}- | {{!}}- | ||
|}} | |}} | ||
| 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]]}} |
Revision as of 22:17, 12 October 2022
Example weapon | |
---|---|
![]() | |
Some example image | |
Stats | |
Type | SMG |
Ammo Capacity | 50 |
Damage | 8 |
Fire Rate | 300 |
Reload Time | 3.3s |
Caliber | 9 MM |
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
}}