Navigation
Wiki Links
From SCP: Secret Laboratory English Official Wiki
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{ | <includeonly> | ||
| | {| class="infobox" style="font-size:90%; width:20%;" | ||
|- | |||
! class="infobox2" colspan="2" style="font-size:130%;" | {{{name|{{PAGENAME}}}}} | |||
|- | |||
| | {{#if:{{{image|}}} |{{!}} style="padding:0.5em; text-align:center;" colspan="2" {{!}} [[File:{{{image}}}{{!}}250px]] | ||
{{!}}- | |||
| | |}} | ||
| | {{#if:{{{caption|}}}|{{!}} style="text-align:center;" colspan="2" {{!}} <small>{{{caption}}}</small> | ||
{{!}}- | |||
|}} | |||
! class="infobox3" colspan="2" | Info | |||
|- | |||
| | {{#if:{{{type|}}}|{{!}} style="width:45%;font-size:95%;" {{!}} '''Type''' | ||
{{!}} style="width:55%;" {{!}} {{{type}}} | |||
{{!}}- | |||
| | |}} | ||
{{#if:{{{usage|}}}|{{!}} style="width:45%;font-size:95%;" {{!}} '''Usage''' | |||
{{!}} style="width:55%;" {{!}} {{{usage}}} | |||
| | {{!}}- | ||
| | |}} | ||
}} | {{#if:{{{spawn|}}}|{{!}} style="width:45%;font-size:95%;" {{!}} '''Spawn''' | ||
{{!}} style="width:55%;" {{!}} {{{spawn}}} | |||
{{!}}- | |||
|}} | |||
|} | |||
{{#if:{{{nocat|}}}||[[Category:Structures]]}} | |||
</includeonly> | |||
<noinclude> | <noinclude> | ||
{{ | {{Structure_infobox | ||
|name = Example | |name = Example Structure | ||
|image = SCP Foundation (emblem).svg | |image = SCP Foundation (emblem).svg | ||
|caption = Some example image | |caption = Some example image | ||
|type = Interactable object | |type = Interactable object | ||
|usage = Allows adding attachments | |usage = Allows adding attachments | ||
|spawn = | |spawn = LCZ | ||
|nocat = yes | |||
}} | }} | ||
[[Category:Templates]] | An infobox for [[:Category:Structures|Structures]]. | ||
[[Category:Infoboxes]] | ==Example== | ||
<code><nowiki>{{Structure infobox</nowiki></code><br> | |||
<code><nowiki>|name = Example Structure</nowiki></code><br> | |||
<code><nowiki>|image = SCP Foundation (emblem).svg</nowiki></code><br> | |||
<code><nowiki>|caption = Some example image</nowiki></code><br> | |||
<code><nowiki>|type = Interactable object</nowiki></code><br> | |||
<code><nowiki>|usage = Allows adding attachments</nowiki></code><br> | |||
<code><nowiki>|spawn = LCZ</nowiki></code><br> | |||
<code><nowiki>|nocat = yes</nowiki></code><br> | |||
<code><nowiki>}}</nowiki></code><br> | |||
==Syntax== | |||
<code><nowiki>{{Structure_infobox</nowiki></code><br> | |||
<code><nowiki>|name = Name override</nowiki></code><br> | |||
<code><nowiki>|image = Image (preferably png)</nowiki></code><br> | |||
<code><nowiki>|caption = Some example image</nowiki></code><br> | |||
<code><nowiki>|type = What kind of structure is it</nowiki></code><br> | |||
<code><nowiki>|usage = What is it used for</nowiki></code><br> | |||
<code><nowiki>|spawn = Spawn location of the structure</nowiki></code><br> | |||
<code><nowiki>|nocat = Category isn't set</nowiki></code><br> | |||
<code><nowiki>}}</nowiki></code><br> | |||
[[Category:Templates]][[Category:Infoboxes]] | |||
</noinclude> | </noinclude> |
Revision as of 19:01, 31 March 2019
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)
|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
}}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.
- This page was last edited on 31 March 2019, at 19:01.
- Content is available under CC BY-SA 3.0 unless otherwise noted.
- Privacy policy
- About SCP: Secret Laboratory English Official Wiki
- Disclaimers