Difference between revisions of "Template:Item"
Jump to navigation
Jump to search
m (Redtext fix.) |
m (Redtext fix.) |
||
Line 37: | Line 37: | ||
<nowiki>|bgcolor2 = #FFDD66</nowiki> | <nowiki>|bgcolor2 = #FFDD66</nowiki> | ||
<nowiki>|name = Emergency Toolbox</nowiki> | <nowiki>|name = Emergency Toolbox</nowiki> | ||
<nowiki>|image = | <nowiki>|image = rat</nowiki> | ||
<nowiki>|foundin = emergency lockers and storage areas</nowiki> | <nowiki>|foundin = emergency lockers and storage areas</nowiki> | ||
<nowiki>|usedfor = Contains tools which are useful in emergencies</nowiki> | <nowiki>|usedfor = Contains tools which are useful in emergencies</nowiki> | ||
Line 50: | Line 50: | ||
|bgcolor2 = #FFDD66 | |bgcolor2 = #FFDD66 | ||
|name = Emergency Toolbox | |name = Emergency Toolbox | ||
|image = | |image = Screwdriver tool.png | ||
|foundin = emergency lockers and storage areas | |foundin = emergency lockers and storage areas | ||
|usedfor = Contains tools which are useful in emergencies | |usedfor = Contains tools which are useful in emergencies | ||
Line 81: | Line 81: | ||
|bgcolor2 = #FFDD66 | |bgcolor2 = #FFDD66 | ||
|name = Emergency Toolbox | |name = Emergency Toolbox | ||
|image = | |image = Screwdriver tool.png | ||
|foundin = emergency lockers and storage areas | |foundin = emergency lockers and storage areas | ||
|usedfor = Contains tools which are useful in emergencies | |usedfor = Contains tools which are useful in emergencies |
Revision as of 06:21, 21 July 2019
The item needs to have the name defined.
How to use
template intended for lists of objects to clean them up a bit.
With no parameters
{{Item}}
The item needs to have the name defined.
With minimum parameters
The bare minimum is the name parameter.
{{Item |name=Test Item |bgcolor1 = #FFEE88 |bgcolor2 = #FFDD66 |image = Redtoolbox.png }}
|
Normal item
If the description is set, this template will show.
{{Item |bgcolor1 = #FFEE88 |bgcolor2 = #FFDD66 |name = Emergency Toolbox |image = rat |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. }}
Container items
If the contents variable is set, this template will thow:
{{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. |contents = [[File:Screwdriver tool.png|link=Screwdriver]] [[File:Wrench.png|link=Wrench]] [[File:Welder.png|link=Welding Tool]]<br> [[File:Crowbar.png|link=Crowbar]] <nowiki>[[File:Analyzer.png|link=Analyzer]] [[File:Wirecutters.png|link=Wirecutters]] |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 <nowiki>trying to cause an emergency. Be quick in getting one as they tend to get looted quickly if you want until an emergency strikes. }}