Template:Item infobox: Difference between revisions
Template page
More actions
No edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
|subheader = {{ifempty|{{{other_name|}}}|{{{alt_name|}}}}} | |subheader = {{ifempty|{{{other_name|}}}|{{{alt_name|}}}}} | ||
| suheaderclass = nickname | |suheaderclass = nickname | ||
|image1 = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=256px|alt={{{alt|}}}}} | |image1 = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=256px|alt={{{alt|}}}}} | ||
Line 22: | Line 22: | ||
|data3 = {{{spawn|}}} | |data3 = {{{spawn|}}} | ||
}} | }} | ||
{{#if:{{{nocat|}}}||[[Category:Items]]}} | |||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> |
Revision as of 21:53, 23 March 2019
Item infobox | |
---|---|
![]() Some example image | |
Type | Equipment |
Usage | Disarms |
Spawn | MTF |
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)
|image_size = Image size override
|caption = Caption that goes under the infobox image
|Type = Item type (Equipment/Misc)|(Tool/Consumable)
|Usage = What is it used for
|Spawn = Spawn locations (both zones and classes)
|nocat = Doesn't include category
}}