Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Item: Difference between revisions

Template page
No edit summary
(Change description to notes and other stuff who cares)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<onlyinclude>{| style="border: 1px solid {{{bgcolor2|#000000}}}; margin: 1em 0em;" {{#if:{{{foundin|}}}{{{usedfor|}}}{{{strategy|}}}{{{description|}}}{{{contents|}}}|width="90%"|}} cellspacing="0" cellpadding="2"
<onlyinclude>{| style="border: 1px solid {{{bgcolor2|#000000}}}; margin: 1em 0em;" {{#if:{{{foundin|}}}{{{usedfor|}}}{{{description|}}}{{{description|}}}{{{contents|}}}|width="90%"|}} cellspacing="0" cellpadding="2"
{{#if:{{{name|}}}|! colspan="2" style="background-color: {{{bgcolor2|#bbbbbb}}};" {{!}} {{{name}}}
{{#if:{{{name|}}}|! colspan="2" style="background-color: {{{bgcolor2|#bbbbbb}}};" {{!}} {{{name}}}
{{!}}-|}}
{{!}}-|}}
| style="background-color: {{{bgcolor1|#cccccc}}};" align="center" width="150" {{#if:{{{foundin|}}}{{{usedfor|}}}{{{strategy|}}}||colspan=2}} | [[File:{{{image|{{{name|Wrench}}}.png}}}|64px]]
| style="background-color: {{{bgcolor1|#cccccc}}};" align="center" width="150" {{#if:{{{description|}}}{{{foundin|}}}{{{usedfor|}}}||colspan=2}} | [[File:{{{image|{{{name|Wrench}}}.png}}}|64px]]
{{#if:{{{foundin|}}}{{{usedfor|}}}{{{strategy|}}}|{{!}} valign="top" {{!}} {{#if:{{{foundin|}}}|'''Found in:''' {{{foundin}}}<br />|}}{{#if:{{{usedfor|}}}|'''Used for:''' {{{usedfor}}}<br />|}}{{#if:{{{strategy|}}}|'''Strategy:''' {{{strategy}}}<br />|}}
{{#if:{{{description|}}}{{{foundin|}}}{{{usedfor|}}}|{{!}} valign="top" {{!}} {{#if:{{{description|}}}|"''{{{description}}}''"<br />|}}{{#if:{{{foundin|}}}|'''Found in:''' {{{foundin}}}<br />|}}{{#if:{{{usedfor|}}}|'''Used for:''' {{{usedfor}}}<br />|}}
|{{!}} style="padding: 0;" {{!}}}}
|{{!}} style="padding: 0;" {{!}}}}
{{#if:{{{contents|}}}|{{!}}- style="background-color: {{{bgcolor2|#bbbbbb}}};" align="center"
{{#if:{{{contents|}}}|{{!}}- style="background-color: {{{bgcolor2|#bbbbbb}}};" align="center"
{{!}} colspan="1" {{!}} '''Contents'''
{{!}} colspan="1" {{!}} '''Contents'''
{{!}} colspan="1" {{!}} '''Description'''
{{!}} colspan="1" {{!}} '''Notes'''
{{!}}-
{{!}}-
{{!}} colspan="1" style="background-color: {{{bgcolor1|#cccccc}}};" align=center {{!}}
{{!}} colspan="1" style="background-color: {{{bgcolor1|#cccccc}}};" align=center {{!}}
{{{contents}}}
{{{contents}}}
{{!}} colspan="1" {{!}}
{{!}} colspan="1" style="text-align:center;" {{!}}
{{{description}}}|{{#if:{{{description|}}}|{{!}}- style="background-color: {{{bgcolor2|#bbbbbb}}};" align="center"
{{{notes}}}|{{#if:{{{notes|}}}|{{!}}- style="background-color: {{{bgcolor2|#bbbbbb}}};" align="center"
{{!}} colspan="2" {{!}} '''Description'''
{{!}} colspan="2" {{!}} '''Notes'''
{{!}}- valign="top"
{{!}}- valign="top"
{{!}} colspan="2" {{!}}
{{!}} colspan="2" style="text-align:center;"{{!}}
{{{description}}}|}}}}
{{{notes}}}|}}}}
|}</onlyinclude>
|}</onlyinclude>


<noinclude>{| style="border: 1px solid {{{bgcolor2|#000000}}}; margin: 1em 0em;" {{#if:{{{foundin|}}}{{{usedfor|}}}{{{strategy|}}}{{{description|}}}{{{contents|}}}|width="90%"|}} cellspacing="0" cellpadding="2"
<noinclude>{| style="border: 1px solid {{{bgcolor2|#000000}}}; margin: 1em 0em;" {{#if:{{{foundin|}}}{{{usedfor|}}}{{{description|}}}{{{notes|}}}{{{contents|}}}|width="90%"|}} cellspacing="0" cellpadding="2"
{{#if:{{{name|}}}|! colspan="2" style="background-color: {{{bgcolor2|#bbbbbb}}};" {{!}} {{{name}}}
{{#if:{{{name|}}}|! colspan="2" style="background-color: {{{bgcolor2|#bbbbbb}}};" {{!}} {{{name}}}
{{!}}-|}}
{{!}}-|}}
| style="background-color: {{{bgcolor1|#cccccc}}};" align="center" width="150" {{#if:{{{foundin|}}}{{{usedfor|}}}{{{strategy|}}}||colspan=2}} | [[File:{{{image|{{{name|Wrench}}}.png}}}|64px]]
| style="background-color: {{{bgcolor1|#cccccc}}};" align="center" width="150" {{#if:{{{description|}}}{{{foundin|}}}{{{usedfor|}}}||colspan=2}} | [[File:{{{image|{{{name|Wrench}}}.png}}}|64px]]
{{#if:{{{foundin|}}}{{{usedfor|}}}{{{strategy|}}}|{{!}} valign="top" {{!}} {{#if:{{{foundin|}}}|'''Found in:''' {{{foundin}}}<br />|}}{{#if:{{{usedfor|}}}|'''Used for:''' {{{usedfor}}}<br />|}}{{#if:{{{strategy|}}}|'''Strategy:''' {{{strategy}}}<br />|}}
{{#if:{{{description|}}}{{{foundin|}}}{{{usedfor|}}}|{{!}} valign="top" {{!}} {{#if:{{{description|}}}|"''{{{description}}}''"<br />|}}{{#if:{{{foundin|}}}|'''Found in:''' {{{foundin}}}<br />|}}{{#if:{{{usedfor|}}}|'''Used for:''' {{{usedfor}}}<br />|}}
|{{!}} style="padding: 0;" {{!}}}}
|{{!}} style="padding: 0;" {{!}}}}
{{#if:{{{description|}}}|{{!}}- style="background-color: {{{bgcolor2|#bbbbbb}}};" align="center"
{{#if:{{{notes|}}}|{{!}}- style="background-color: {{{bgcolor2|#bbbbbb}}};" align="center"
{{!}} colspan="2" {{!}} '''Description'''
{{!}} colspan="2" {{!}} '''Notes'''
{{!}}- valign="top"
{{!}}- valign="top"
{{!}} colspan="2" {{!}}
{{!}} colspan="2" style="text-align:center;" {{!}}
{{{description}}}|}}
{{{notes}}}|}}
{{#if:{{{contents|}}}|{{!}}- style="background-color: {{{bgcolor2|#bbbbbb}}};" align="center"
{{#if:{{{contents|}}}|{{!}}- style="background-color: {{{bgcolor2|#bbbbbb}}};" align="center"
{{!}} colspan="2" {{!}} '''Contents'''
{{!}} colspan="2" {{!}} '''Contents'''
Line 36: Line 36:
{{{contents}}}|}}
{{{contents}}}|}}
|}</noinclude>
|}</noinclude>
{{Item
| bgcolor1 = #95813b
| bgcolor2 = #7b6827
| name = Emergency Toolbox
| image = ToolboxRed.png
| description = It is very heavy, useful for the beating up of people. Contains a flashlight which is very useful, as well as a crowbar.
| foundin = Emergency lockers and storage areas.
| usedfor = Contains tools which are useful in emergencies.
| contents = [[File:Screwdriver.png]] [[File:Wrench.png]] [[File:Welder.png]] [[File:Crowbar.png]] [[File:Multitool.png]] [[File:Wirecutter.png]]
| notes = 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.
}}




Line 53: Line 67:
   <nowiki>| bgcolor1 = #95813b</nowiki>
   <nowiki>| bgcolor1 = #95813b</nowiki>
   <nowiki>| bgcolor2 = #7b6827</nowiki>
   <nowiki>| bgcolor2 = #7b6827</nowiki>
   <nowiki>| image = ToolboxElectrical.png</nowiki>
   <nowiki>| image = ToolboxRed.png</nowiki>
   <nowiki>}}</nowiki>
   <nowiki>}}</nowiki>


Line 60: Line 74:
| bgcolor1 = #95813b
| bgcolor1 = #95813b
| bgcolor2 = #7b6827
| bgcolor2 = #7b6827
| image = ToolboxElectrical.png
| image = ToolboxRed.png
}}
}}


=== Typical item ===
=== Typical item ===
If the <code>description</code> parameter is set, this template will show:
If the <code>notes</code> parameter is set, this template will show:


   <nowiki>{{Item</nowiki>
   <nowiki>{{Item</nowiki>
Line 70: Line 84:
   <nowiki>| bgcolor2 = #7b6827</nowiki>
   <nowiki>| bgcolor2 = #7b6827</nowiki>
   <nowiki>| name = Emergency Toolbox</nowiki>
   <nowiki>| name = Emergency Toolbox</nowiki>
   <nowiki>| image = ToolboxElectrical.png</nowiki>
   <nowiki>| image = ToolboxRed.png</nowiki>
  <nowiki>| description = It is very heavy, useful for the beating up of people. Contains a flashlight which is very useful as well as a crowbar.</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>
   <nowiki>| strategy = It is very heavy, useful for the beating up of people. Contains a flashlight which is very useful as well as a crowbar.</nowiki>
   <nowiki>| notes = 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.</nowiki>
  <nowiki>| 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.</nowiki>
   <nowiki>Be quick in getting one as they tend to get looted quickly if you want until an emergency strikes.</nowiki>
   <nowiki>Be quick in getting one as they tend to get looted quickly if you want until an emergency strikes.</nowiki>
   <nowiki>}}</nowiki>
   <nowiki>}}</nowiki>
Line 82: Line 96:
| bgcolor2 = #7b6827
| bgcolor2 = #7b6827
| name = Emergency Toolbox
| name = Emergency Toolbox
| image = ToolboxElectrical.png
| image = ToolboxRed.png
| description = It is very heavy, useful for the beating up of people. Contains a flashlight which is very useful, as well as a crowbar.
| 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.
| strategy = It is very heavy, useful for the beating up of people. Contains a flashlight which is very useful, as well as a crowbar.
| notes = 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.
| 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.
Be quick in getting one as they tend to get looted quickly if you want until an emergency strikes.
}}
}}
Line 97: Line 111:
   <nowiki>| bgcolor2 = #7b6827</nowiki>
   <nowiki>| bgcolor2 = #7b6827</nowiki>
   <nowiki>| name = Emergency Toolbox</nowiki>
   <nowiki>| name = Emergency Toolbox</nowiki>
   <nowiki>| image = ToolboxElectrical.png</nowiki>
   <nowiki>| image = ToolboxRed.png</nowiki>
  <nowiki>| description = It is very heavy, useful for the beating up of people. Contains a flashlight which is very useful, as well as a crowbar.</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>
  <nowiki>| strategy = It is very heavy, useful for the beating up of people. Contains a flashlight which is very useful, as well as a crowbar.</nowiki>
   <nowiki>| contents = [[File:Screwdriver.png]] [[File:Wrench.png]] [[File:Welder.png]] [[File:Crowbar.png]] [[File:Multitool.png]] [[File:Wirecutter.png]] </nowiki>
   <nowiki>| contents = [[File:Screwdriver.png]] [[File:Wrench.png]] [[File:Welder.png]] [[File:Crowbar.png]] [[File:Multitool.png]] [[File:Wirecutter.png]] </nowiki>
   <nowiki>| 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.</nowiki>
   <nowiki>| notes = 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.</nowiki>
   <nowiki>Be quick in getting one as they tend to get looted quickly if you want until an emergency strikes.</nowiki>
   <nowiki>Be quick in getting one as they tend to get looted quickly if you want until an emergency strikes.</nowiki>
   <nowiki>}}</nowiki>
   <nowiki>}}</nowiki>
Line 110: Line 124:
| bgcolor2 = #7b6827
| bgcolor2 = #7b6827
| name = Emergency Toolbox
| name = Emergency Toolbox
| image = ToolboxElectrical.png
| image = ToolboxRed.png
| description = It is very heavy, useful for the beating up of people. Contains a flashlight which is very useful, as well as a crowbar.
| 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.
| 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.png]] [[File:Wrench.png]] [[File:Welder.png]] [[File:Crowbar.png]] [[File:Multitool.png]] [[File:Wirecutter.png]]  
| contents = [[File:Screwdriver.png]] [[File:Wrench.png]] [[File:Welder.png]] [[File:Crowbar.png]] [[File:Multitool.png]] [[File:Wirecutter.png]]  
| 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.
| notes = 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.
Be quick in getting one as they tend to get looted quickly if you want until an emergency strikes.
}}
}}


[[Category:Templates]]<!-- Template originally from https://paradisestation.org/wiki/index.php?title=User:White_In_Sky/Template -->
[[Category:Templates]]<!-- Template originally from https://paradisestation.org/wiki/index.php?title=User:White_In_Sky/Template -->

Latest revision as of 06:23, 12 February 2024



Emergency Toolbox
"It is very heavy, useful for the beating up of people. Contains a flashlight which is very useful, as well as a crowbar."
Found in: Emergency lockers and storage areas.
Used for: Contains tools which are useful in emergencies.
Contents Notes

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.


Usage

This template is intended to help list item descriptions in a consistent fashion across articles.

With no parameters

 {{Item}}

With minimal parameters

The bare minimum is with the name parameter:

 {{Item
 | name = Test Item
 | bgcolor1 = #95813b
 | bgcolor2 = #7b6827
 | image = ToolboxRed.png
 }}
Test Item

Typical item

If the notes parameter is set, this template will show:

 {{Item
 | bgcolor1 = #95813b
 | bgcolor2 = #7b6827
 | name = Emergency Toolbox
 | image = ToolboxRed.png
 | description = It is very heavy, useful for the beating up of people. Contains a flashlight which is very useful as well as a crowbar.
 | foundin = emergency lockers and storage areas
 | usedfor = Contains tools which are useful in emergencies
 | notes = 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.
 }}
Emergency Toolbox
"It is very heavy, useful for the beating up of people. Contains a flashlight which is very useful, as well as a crowbar."
Found in: Emergency lockers and storage areas.
Used for: Contains tools which are useful in emergencies.
Notes

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 parameter is set, this template will show:

 {{Item
 | bgcolor1 = #95813b
 | bgcolor2 = #7b6827
 | name = Emergency Toolbox
 | image = ToolboxRed.png
 | description = It is very heavy, useful for the beating up of people. Contains a flashlight which is very useful, as well as a crowbar.
 | foundin = Emergency lockers and storage areas.
 | usedfor = Contains tools which are useful in emergencies.
 | contents = [[File:Screwdriver.png]] [[File:Wrench.png]] [[File:Welder.png]] [[File:Crowbar.png]] [[File:Multitool.png]] [[File:Wirecutter.png]] 
 | notes = 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.
 }}
Emergency Toolbox
"It is very heavy, useful for the beating up of people. Contains a flashlight which is very useful, as well as a crowbar."
Found in: Emergency lockers and storage areas.
Used for: Contains tools which are useful in emergencies.
Contents Notes

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.