Template:ItemUsedFor

Revision as of 20:06, 23 April 2020 by Helpful Herbert (talk | contribs) (Fixed leaking category outside noinclude. Added details to documentation. Added TODO-note on default-handling.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


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) 20:06, 23 April 2020 (UTC)"



DO NOT USE THIS TEMPLATE

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

About

Displays the details of an item including information on where the Item can be found and in which contexts it can be used.

This template is automatically called in Template:Item, when the foundin- and usedfor-parameters are set.

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
description No description A free description of the items, its properties and use-contexts.

Examples

Bare 1

{{ItemUsedFor}}
Unknown.png
Item
Found in: Undefined
Used for: Undefined
Description
No description

Bare 2

{{ItemUsedFor
|name=
|bgcolor1=
|bgcolor2=
|image=
|foundin=
|usedfor=
|description=
}}
[[File:|64px]]
'
Found in:
Used for:
Description
No description

Normal

{{ItemUsedFor
|name=Emergency Toolbox
|bgcolor1 = #FFEE88
|bgcolor2 = #FFDD66
|image = Redtoolbox.png
|foundin = Emergency lockers and storage areas
|usedfor = Contains tools which are useful in emergencies
|description = The toolbox contains a flashlight, a crowbar, a radio and a fire extinguisher. All of which are very useful not only when emergencies hit but also when trying to cause an emergency.<br><br>Be quick in getting one as they tend to get looted quickly if you want until an emergency strikes.
}}
Redtoolbox.png
Emergency Toolbox
Found in: Emergency lockers and storage areas
Used for: Contains tools which are useful in emergencies
Description
The toolbox contains a flashlight, a crowbar, a radio and a fire extinguisher. All of which are very useful not only when emergencies hit but also when trying to cause an emergency.

Be quick in getting one as they tend to get looted quickly if you want until an emergency strikes.

Real life use of Item-Template

{{Item
|bgcolor1 = #FFEE88
|bgcolor2 = #FFDD66
|name = Emergency Toolbox
|image = Redtoolbox.png
|foundin = Emergency lockers and storage areas
|usedfor = Contains tools which are useful in emergencies
|strategy = It is very heavy, useful for the beating up of people. Contains a flashlight which is very useful as well as a crowbar.
|description = The toolbox contains a flashlight, a crowbar, a radio and a fire extinguisher. All of which are very useful not only when emergencies hit but also when trying to cause an emergency.

Be quick in getting one as they tend to get looted quickly if you want until an emergency strikes.
}}
Redtoolbox.png
Emergency Toolbox
Found in: Emergency lockers and storage areas
Used for: Contains tools which are useful in emergencies
Description
The toolbox contains a flashlight, a crowbar, a radio and a fire extinguisher. All of which are very useful not only when emergencies hit but also when trying to cause an emergency.

Be quick in getting one as they tend to get looted quickly if you want until an emergency strikes.