Template:Item infobox: Difference between revisions
Template page
More actions
Template documented a bit better |
No edit summary |
||
Line 4: | Line 4: | ||
|aboveclass = fn org | |aboveclass = fn org | ||
|abovestyle = background-color:black | |abovestyle = background-color:black | ||
|above = {{#ifeq:{{{ | |above = {{#ifeq:{{{name|}}}||{{PAGENAME}}}} | ||
|subheader = {{ifempty|{{{other_name|}}}|{{{alt_name|}}}}} | |subheader = {{ifempty|{{{other_name|}}}|{{{alt_name|}}}}} | ||
Line 13: | Line 13: | ||
|label1 = Type | |label1 = Type | ||
|data1 = {{{ | |data1 = {{{type|}}} | ||
|label2 = Usage | |label2 = Usage | ||
|data2 = {{{ | |data2 = {{{usage|}}} | ||
|label3 = Spawn | |label3 = Spawn | ||
|data3 = {{{ | |data3 = {{{spawn|}}} | ||
}} | }} | ||
<noinclude> | <noinclude> | ||
{{Item infobox | {{Item infobox | ||
|Name = Example item | |Name = Example item | ||
|image = SCP Foundation (emblem).svg | |image = SCP Foundation (emblem).svg | ||
|image_size = 200 | |image_size = 200 | ||
|caption = Some example image | |caption = Some example image | ||
|Type = Equipment | |Type = Equipment | ||
|Usage = Disarms | |Usage = Disarms | ||
|Spawn = [[MTF]] | |Spawn = [[MTF]] | ||
}} | }} | ||
__NOTOC__ | __NOTOC__ |
Revision as of 20:44, 23 March 2019
Item infobox |
---|
Item infobox | |
---|---|
![]() Some example image |
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]]
}}
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)
}}