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
gonna do this for other infoboxes
No edit summary
Line 23: Line 23:
| style="width:55%; white-space: nowrap;" | {{{usage}}}  
| style="width:55%; white-space: nowrap;" | {{{usage}}}  
|-
|-
{{#if:{{{weight|}}}|{{!}} style="width:45%;font-size:95%;" {{!}} '''Weight'''
{{!}} style="width:55%;" {{!}} {{Mvar|{{{weight}}}kg}}
{{!}}-
|}}
{{#if:{{{pickup_time|{{{weight}}}}}}|{{!}} style="width:45%;font-size:95%;" {{!}} {{Hoverimage|Higher weight increases time|text='''Pick-Up Time'''}}
{{!}} style="width:55%;" {{!}} {{Hoverimage|Unrounded value: {{#expr:0.245+0.175*{{{weight}}}}}s|text={{#expr:0.245+0.175*{{{weight}}} round 2}}s}}}}
{{!}}-
|}}
{{#if:{{{bodyProtection|}}}|{{!}} class="infobox3" colspan="2" {{!}} '''Stats'''  
{{#if:{{{bodyProtection|}}}|{{!}} class="infobox3" colspan="2" {{!}} '''Stats'''  
{{!}}-
{{!}}-

Revision as of 21:34, 29 August 2022

Item infobox
Basic Information
Type {{{type}}}
Usage {{{usage}}}
Pick-Up Time Higher weight increases time Expression error: Unrecognized punctuation character "{".s Unrounded value: Expression error: Unrecognized punctuation character "{".s

}





| class="infobox3" colspan="2" | Other Information |- | style="width:45%;font-size:95%;" | Spawn | style="width:55%; white-space: nowrap;" | {{{spawn}}} |- | style="width:45%;font-size:95%; white-space: nowrap;" | Obtainable from 914? | style="width:55%;" | True |- |-


| style="width:45%;font-size:95%;" | Spawn ID | style="width:55%;" | {{{ID}}} |}

Item infobox
Basic Information
Description You're not sure why you'd want to carry this around...
Type Equipment
Usage Plugins
Pick-Up Time Higher weight increases time Expression error: Unrecognized punctuation character "{".s Unrounded value: Expression error: Unrecognized punctuation character "{".s

}





| class="infobox3" colspan="2" | Other Information |- | style="width:45%;font-size:95%;" | Spawn | style="width:55%; white-space: nowrap;" | Remote Admin |- | style="width:45%;font-size:95%; white-space: nowrap;" | Obtainable from 914? | style="width:55%;" | True |- |-


| style="width:45%;font-size:95%;" | Spawn ID | style="width:55%;" | 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.