Template:Structure infobox: Difference between revisions
Template page
More actions
No edit summary |
No edit summary |
||
(13 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{| class=" | {| class="floatright" style="font-size:90%; width: 100%; max-width:400px"" | ||
|- | |- | ||
! class="infobox2" colspan="2" style="font-size:130%;" | {{{name|{{PAGENAME}}}}} | ! class="infobox2" colspan="2" style="font-size:130%; white-space: nowrap;" | {{{name|{{PAGENAME}}}}} | ||
|- | |- | ||
{{#if:{{{image|}}} |{{!}} style="padding:0.5em; text-align:center;" colspan="2" {{!}} [[File:{{{image}}}{{!}}{{{ | {{#if:{{{image|}}} |{{!}} style="padding:0.5em; text-align:center;" colspan="2" {{!}} [[File:{{{image}}}{{!}}{{{image_size|300}}}px|link=File:{{{image}}}]] | ||
{{!}}- | {{!}}- | ||
|}} | |}} | ||
{{#if:{{{ | {{#if:{{{image1|}}} |{{!}} style="padding:0.5em; text-align:center;" colspan="2" {{!}} <div class="infobox-tabber"> <tabber> Standard Cabinet=[[File:{{{image1}}}{{!}}{{{image_size|300}}}px]]|-|Adrenaline Cabinet=[[File:{{{image2}}}{{!}}{{{image_size|300}}}px]]</tabber></div> | ||
{{!}}- | |||
|}} | |||
{{#if:{{{caption|}}}|{{!}} style="text-align:center;" colspan="2" {{!}} {{{caption}}} | |||
{{!}}- | {{!}}- | ||
|}} | |}} |
Latest revision as of 04:15, 27 May 2025
Example Structure | |
---|---|
![]() | |
Some example image | |
Info | |
Type | Interactable object |
Usage | Allows adding attachments |
Spawn | LCZ |
An infobox for Structures.
Example
{{Structure infobox
|name = Example Structure
|image = SCP Foundation (emblem).svg
|caption = Some example image
|type = Interactable object
|usage = Allows adding attachments
|spawn = LCZ
|nocat = yes
}}
Syntax
{{Structure_infobox
|name = Name override
|image = Image (preferably png)
|image_size = Set image size
|caption = Some example image
|type = What kind of structure is it
|usage = What is it used for
|spawn = Spawn location of the structure
|nocat = Category isn't set
}}