Template:Storage

From Yogstation-13
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:19, 3 May 2020 (UTC)"



DO NOT USE THIS TEMPLATE

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

About

Displays a storage-item like boxes and bags with icons for its contents.

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 Name of the item
foundin Short information on where to find the item
usedfor Short information on the item's purpose
strategy Undefined A short description of the usage context
description No description A free description of the items, its properties and use-contexts.
contents Contents not defined Contents of the storage item

Examples

Bare

{{Storage}}
Unknown.png
Item
Found in: Undefined
Used for: Undefined
Strategy: Undefined
Contents Description
Contents not defined No description

Empty template

{{Storage
|bgcolor1=
|bgcolor2=
|image=
|name=
|foundin=
|usedfor=
|strategy=
|description=
|contents=
}}
[[File:|64px]]
'
Found in:
Used for:
Strategy:
Contents Description

Normal

{{Storage
|name=Test Item
|bgcolor1 = #FFEE88
|bgcolor2 = #FFDD66
|image = Redtoolbox.png
}}
Redtoolbox.png
Test Item
Found in: Undefined
Used for: Undefined
Strategy: Undefined
Contents Description
Contents not defined No description