Template:ItemSimple

From Yogstation-13
Revision as of 03:29, 3 May 2020 by Helpful Herbert (talk | contribs) (Added documentation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Pen.png This page needs revising!

The following page is out of date and/or needs to be revised. If the page's guide needs revision, see here for an example.
The revision reason is: "Fix missing parameters and empty parameters to behave the same."
Marked by: "Helpful Herbert (talk) 03:29, 3 May 2020 (UTC)"



DO NOT USE THIS TEMPLATE

This is a case-specific subtemplate. Use Template:Item instead.

About

Display of a single item without further details.

This template is called in Template:Item.

Parameter-Usage

Parameter Default Description
bgcolor1 #cccccc Background-color 1
bgcolor2 #bbbbbb Background-color 2
OverrideImage When set, the image parameter is directly inserted like [[File:Unknown.png]]. By default the image-paramter is used as an image-name like Unknown.png.
image Unknown.png Name of the item's image. See OverrideImage-parameter for alternative usage.
name Item Name of the item

Examples

Bare

{{ItemSimple}}
Unknown.png
Item
Item

Empty template

{{ItemSimple
|name=
|image=
}}
[[File:|64px]]
'
'

Without image

{{ItemSimple
|name=Syndicate Suit
}}
Unknown.png
Syndicate Suit
Syndicate Suit

With image

{{ItemSimple
|name=Syndicate Suit
|image=SyndicateSuit.png
}}
SyndicateSuit.png
Syndicate Suit
Syndicate Suit