Template:Structure infobox: Difference between revisions
Template page
More actions
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
{| class="infobox" style="font-size:90%; width:20%;" | {| 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%; white-space: nowrap;" | {{{name|{{PAGENAME}}}}} | ||
|- | |- | ||
{{#if:{{{image|}}} |{{!}} style="padding:0.5em; text-align:center;" colspan="2" {{!}} [[File:{{{image}}}{{!}}{{{image_size|250}}}px]] | {{#if:{{{image|}}} |{{!}} style="padding:0.5em; text-align:center;" colspan="2" {{!}} [[File:{{{image}}}{{!}}{{{image_size|250}}}px]] | ||
{{!}}- | {{!}}- | ||
|}} | |}} | ||
{{#if:{{{image1|}}} |{{!}} style="padding:0.5em; text-align:center;" colspan="2" {{!}} <tabber> | {{#if:{{{image1|}}} |{{!}} style="padding:0.5em; text-align:center;" colspan="2" {{!}} <tabber> Normal=[[File:{{{image1}}}{{!}}{{{image_size|250}}}px]]|-|Adrenaline=[[File:{{{image2}}}{{!}}{{{image_size|250}}}px]]</tabber> | ||
{{!}}- | {{!}}- | ||
|}} | |}} |
Latest revision as of 02:19, 12 August 2021
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
}}