Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Item infobox: Difference between revisions

Template page
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>
{| class="infobox" style="font-size:90%; width:{{{infosize|25%}}};float:right;""  
{| class="infobox" style="font-size:90%; width:{{{infosize|25%}}};"  
|-  
|-  
! class="infobox2" colspan="2" style="font-size:130%;" | {{{name|{{PAGENAME}}}}}
! class="infobox2" colspan="2" style="font-size:130%;" | {{{name|{{PAGENAME}}}}}
Line 11: Line 10:
|}}
|}}
|-
|-
| class="infobox3" colspan="2" | Stats
| class="infobox3" colspan="2" | Basic Information
|-
|-
{{#if:{{{Description|}}}|{{!}} style="width:30%;font-size:95%;" {{!}} '''Description'''  
{{#if:{{{Description|}}}|{{!}} style="width:30%;font-size:95%;" {{!}} '''Description'''  
{{!}} style="width:45%; white-space: nowrap;" {{!}} {{{Description}}}
{{!}} style="width:45%; white-space: nowrap;" {{!}} {{{Description}}}
{{!}}-
{{!}}-
|}}
|}}
Line 23: Line 22:
| style="width:45%;font-size:95%;" | '''Usage'''  
| style="width:45%;font-size:95%;" | '''Usage'''  
| style="width:55%; white-space: nowrap;" | {{{usage}}}  
| style="width:55%; white-space: nowrap;" | {{{usage}}}  
|-
{{#if:{{{bodyProtection|}}}|{{!}} class="infobox3" colspan="2" {{!}} '''Stats'''
{{!}}-
|}}
{{#if:{{{bodyProtection|}}}|{{!}} style="width:30%;font-size:95%; white-space: nowrap;" {{!}} '''Body Protection'''
{{!}} style="width:45%;" {{!}} {{{bodyProtection}}}%
{{!}}-
|}}
{{#if:{{{headProtection|}}}|{{!}} style="width:30%;font-size:95%; white-space: nowrap;" {{!}} '''Head Protection'''
{{!}} style="width:45%;" {{!}} {{{headProtection}}}%
{{!}}-
|}}
{{#if:{{{speedPenaltyCivilian|}}}|{{!}} style="width:30%;font-size:95%; white-space: nowrap;" {{!}} '''Walk Penalty'''
{{!}} style="width:45%;" {{!}} -{{MeterstoHubes|{{#expr: 5.4 * ({{{speedPenaltyCivilian}}} * .01)}}}} m/s (Civilian)
{{!}}-
|}}
{{#if:{{{speedPenaltyCivilian|}}}|{{!}} style="width:30%;font-size:95%; white-space: nowrap;" {{!}} '''Sprint Penalty'''
{{!}} style="width:45%;" {{!}} -{{MeterstoHubes|{{#expr: 7.35 * ({{{speedPenaltyCivilian}}} * .01)}}}} m/s (Civilian)
{{!}}-
|}}
{{#if:{{{staminaPenaltyCivilian|}}}|{{!}} style="width:30%;font-size:95%; white-space: nowrap;" {{!}} '''Stamina Penalty'''
{{!}} style="width:45%;" {{!}} -{{#expr: 20 * ({{{staminaPenaltyCivilian}}} * .01)}}s (Civilian)
{{!}}-
|}}
{{#if:{{{speedPenaltyMilitary|}}}|{{!}} style="width:30%;font-size:95%; white-space: nowrap;" {{!}} '''Walk Penalty'''
{{!}} style="width:45%;" {{!}} -{{MeterstoHubes|{{#expr: 5.4 * ({{{speedPenaltyMilitary}}} * .01)}}}} m/s (Military)
{{!}}-
|}}
{{#if:{{{speedPenaltyMilitary|}}}|{{!}} style="width:30%;font-size:95%; white-space: nowrap;" {{!}} '''Sprint Penalty'''
{{!}} style="width:45%;" {{!}} -{{MeterstoHubes|{{#expr: 7.35 * ({{{speedPenaltyMilitary}}}  * .01)}}}} m/s (Military)
{{!}}-
|}}
{{#if:{{{staminaPenaltyMilitary|}}}|{{!}} style="width:30%;font-size:95%; white-space: nowrap;" {{!}} '''Stamina Penalty'''
{{!}} style="width:45%;" {{!}} -{{#expr: 20 * ({{{staminaPenaltyMilitary}}} * .01)}}s (Military)
{{!}}-
|}}
| class="infobox3" colspan="2" | Other Information
|-
|-
| style="width:45%;font-size:95%;" | '''Spawn'''  
| style="width:45%;font-size:95%;" | '''Spawn'''  
| style="width:55%; white-space: nowrap;" | {{{spawn}}}  
| style="width:55%; white-space: nowrap;" | {{{spawn}}}  
|-
|-
{{#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%; white-space: nowrap;" {{!}} {{{effect}}}
{{!}} style="width:55%;" {{!}} {{{effect}}}
{{!}}-
|}}
{{#if:{{{manufactor|}}}|{{!}} style="width:45%;font-size:95%; white-space: nowrap;" {{!}} '''Manufactor'''
{{!}} style="width:55%; white-space: nowrap;" {{!}} {{{manufactor}}}
{{!}}-
{{!}}-
|}}
|}}
| style="width:45%;font-size:95%;" | '''Spawn ID'''  
| style="width:45%;font-size:95%;" | '''Spawn ID'''  
| style="width:55%;  white-space: nowrap;" | {{{ID}}}  
| style="width:55%;" | {{{ID}}}  
|}
|}
{{#if:{{{nocat|}}}||[[Category:Items]]}}
{{#if:{{{nocat|}}}||[[Category:Items]]}}
</includeonly>
<noinclude>
<noinclude>
{{Item infobox
{{Item infobox

Revision as of 20:20, 8 October 2021

Item infobox
Basic Information
Type {{{type}}}
Usage {{{usage}}}
Other Information
Spawn {{{spawn}}}
Spawn ID {{{ID}}}
Item infobox
Basic Information
Description You're not sure why you'd want to carry this around...
Type Equipment
Usage Plugins
Other Information
Spawn Remote Admin
Spawn ID 35


An infobox for Items.

Example

{{Item infobox
|name = Example item
|image = SCP Foundation (emblem).svg
|image_size = 200
|caption = Some example image
|type = Equipment
|usage = Disarms
|spawn = [[MTF]]
|nocat = yes
}}

Syntax

{{Item infobox
|name = Name override
|image = Image (preferably png)
|caption = Caption that goes under the infobox image
|image_size = Image size override
|type = Item type (Equipment/Misc)|(Tool/Consumable)|SCP Item
|usage = What is it used for
|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.