Template:ItemUsedFor: Difference between revisions

From Skyrat
Jump to navigation Jump to search
m added NR tag
m Updated the styling of this template and removed the NR tag
Line 1: Line 1:
<includeonly>{| style="border:1px solid {{{bgcolor2|#bbbbbb}}};" cellpadding="0" cellspacing="0"
<includeonly>
|
<div style="box-shadow: 0 0 .3em #999; border-radius: .2em; margin: 1em 0 1em 1; border: .2em solid {{{bgcolor1|#444444}}}; width: 80%; background: {{{bgcolor1|#444444}}};">
{|width="100%" cellspacing="0" cellpadding="2"
<div style="overflow: auto; align-items: stretch;">
|align=center width="150" style="background-color:{{{bgcolor1|#cccccc}}}"|{{#if:{{{OverrideImage|}}}|{{{image|}}}|[[File:{{{image|{{{name|Unknown}}}.png}}}{{!}}64px{{!}}{{{name|Item}}}]]}}<br>'''{{{name|Item}}}'''
<div style="display: flex;"><div style="background: {{{bgcolor1|#444444}}}; padding: .4em .8em .5em; width: 15%; color: white"><center>{{#if:{{{OverrideImage|}}}|{{{image|}}}|{{#ifexist: File:{{{image|{{{name|Unknown}}}.png}}}| [[File:{{{image|{{{name|Unknown}}}.png}}}{{!}}64px|class=pixelart{{!}}{{{name|Item}}}]]}}|no image}}<br>'''{{{name|Item}}}'''</center></div>
|'''Found in: '''{{{foundin|Undefined}}}<br>'''Used for:''' {{{usedfor|Undefined}}}<br>
<div style="border: .2em solid {{{bgcolor1|#444444}}}; border-radius: .5em; width: 85%; background: #FFFFFF">
|}
<div style="background: {{{bgcolor2|#444444}}}2e; padding: .4em .8em .5em; margin: 0.3%; border-radius: 0.2em;">
{|width="100%" cellspacing="0" cellpadding="2"
'''Found in: '''{{{foundin|Undefined}}}<br>'''Used for:''' {{{usedfor|Undefined}}}<br><br>
| style="background-color:{{{bgcolor2|#bbbbbb}}};" |'''Description'''
</div></div></div>
|-
<div style="background: {{{bgcolor1|#444444}}}; padding: .2em .4em .3em; color: white"><center>'''Description'''</center></div>
|{{#if:{{{description|}}}|{{{description}}}|No description}}
<div style="border: .2em solid {{{bgcolor1|#444444}}}; border-radius: .5em; background: #FFFFFF">
|}
<div style="background: {{{bgcolor2|#444444}}}2e; padding: .4em .8em .5em; margin: 0.2%; border-radius: 0.2em;">
|}</includeonly><noinclude>
{{#if:{{{description|}}}|{{{description}}}|No description}}
</div></div></div></div>
</includeonly><noinclude>
 


{{Needsrevision|reason = styling needs to be updated to be more in line with [[Template:ItemSimple]]}}


== DO NOT USE THIS TEMPLATE ==
== DO NOT USE THIS TEMPLATE ==
Line 18: Line 20:
{{ItemUsedFor
{{ItemUsedFor
  |name=Test Item
  |name=Test Item
  |bgcolor1 = #FFEE88
  |bgcolor1 = #FF9D00
  |bgcolor2 = #FFDD66
  |bgcolor2 = #FF9D00
  |image = Redtoolbox.png
  |image = Redtoolbox.png
  |foundin = emergency lockers and storage areas
  |foundin = emergency lockers and storage areas

Revision as of 22:24, 12 February 2022



DO NOT USE THIS TEMPLATE

Use Template:Item instead, this template is automatically called when an item has Found in and Used For set

Test Item
Test Item

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.