Template:Weapon infobox: Difference between revisions
Template page
More actions
No edit summary |
No edit summary |
||
Line 12: | Line 12: | ||
| class="infobox3" colspan="2" | Basic Information | | class="infobox3" colspan="2" | Basic Information | ||
|- | |- | ||
| style="width:45%;font-size:95% | | 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''' | {{#if:{{{description|}}}|{{!}} style="width:30%;font-size:95%;" {{!}} '''Description''' | ||
{{!}} style="width:45% | {{!}} style="width:45%;" {{!}} ''{{{description}}}'' | ||
{{!}}- | {{!}}- | ||
|}} | |}} | ||
Line 73: | Line 73: | ||
{{!}}- | {{!}}- | ||
|}} | |}} | ||
{{#ifeq:{{PAGENAME}}|Cut/Legacy Content/Items||{{#if:{{{Pocket|Low}}}|{{!}} style="width:45%;font-size:95% | {{#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}}}}}}} | {{!}} style="width:55%;" {{!}} {{ItemTierCheck|{{{name|{{PAGENAME}}}}}}} | ||
{{!}}- | {{!}}- | ||
|}} | |}} | ||
|}} | |}} | ||
{{#ifeq:{{PAGENAME}}|Cut/Legacy Content/Items||{{#if: {{{disarmImmunity|True}}}|{{!}} style="width:45%;font-size:95% | {{#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}} | {{!}} style="width:55%;" {{!}} {{ItemTierCheck|{{{name|{{PAGENAME}}}}}|templateOverride=ListTierDisarm}} | ||
{{!}}- | {{!}}- | ||
|}} | |}} | ||
|}} | |}} | ||
{{#if:{{{spawn|}}}|{{!}} style="width:45%;font-size:95% | {{#if:{{{spawn|}}}|{{!}} style="width:45%;font-size:95%;"" {{!}} '''Spawn Locations''' | ||
{{!}} style="width:55% | {{!}} style="width:55%;" {{!}} {{{spawn}}} | ||
{{!}}- | {{!}}- | ||
|}} | |}} | ||
{{#if:{{{SCP914|True}}}|{{!}} style="width:45%;font-size:95% | {{#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% | {{#if:{{{manufactor|}}}|{{!}} style="width:45%;font-size:95%;" {{!}} '''Manufactor''' | ||
{{!}} style="width:55% | {{!}} style="width:55%;" {{!}} {{{manufactor}}} | ||
{{!}}- | {{!}}- | ||
|}} | |}} | ||
{{#if:{{{inspired|}}}|{{!}} style="width:45%;font-size:95% | {{#if:{{{inspired|}}}|{{!}} style="width:45%;font-size:95%;" {{!}} '''Inspired by''' | ||
{{!}} style="width:55% | {{!}} style="width:55%;" {{!}} {{{inspired}}} | ||
{{!}}- | {{!}}- | ||
|}} | |}} | ||
{{#if:{{{debugName|}}}|{{!}} style="width:30%;font-size:95%;" {{!}} '''Debug Name''' | {{#if:{{{debugName|}}}|{{!}} style="width:30%;font-size:95%;" {{!}} '''Debug Name''' | ||
{{!}} style="width:55% | {{!}} style="width:55%;" {{!}} {{{debugName}}} | ||
{{!}}- | {{!}}- | ||
|}} | |}} |
Revision as of 04:05, 14 May 2025
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
}}