Template:ItemUsedFor: Difference between revisions
Jump to navigation
Jump to search
m Fixed some weirdness going on with longer item names |
Added a text color parameter |
||
(3 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
<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}}};"> | <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}}};"> | ||
<div style="overflow: auto; align-items: stretch;"> | <div style="overflow: auto; align-items: stretch;"> | ||
<div style="display: flex;"><div style="background: {{{bgcolor1|#444444}}}; padding: .4em .8em .5em; width: 15%; color: | <div style="display: flex;"><div style="background: {{{bgcolor1|#444444}}}; padding: .4em .8em .5em; width: 15%; color: {{{TextColor|#FFF}}}"><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> | ||
<div style="border: .2em solid {{{bgcolor1|#444444}}}; border-radius: .5em; width: 85%; background: #FFFFFF"> | <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: | <div style="background: {{{bgcolor2|#444444}}}2e; padding: .4em .8em .5em; margin: .25em; border-radius: 0.2em; height: 82.5%;"> | ||
'''Found in: '''{{{foundin|Undefined}}}<br>'''Used for:''' {{{usedfor|Undefined}}}<br><br> | '''Found in: '''{{{foundin|Undefined}}}<br>'''Used for:''' {{{usedfor|Undefined}}}<br><br> | ||
</div></div></div> | </div></div></div> | ||
<div style="background: {{{bgcolor1|#444444}}}; padding: .2em .4em .3em; color: | <div style="background: {{{bgcolor1|#444444}}}; padding: .2em .4em .3em; color: {{{TextColor|#FFF}}}"><center>'''Description'''</center></div> | ||
<div style="border: .2em solid {{{bgcolor1|#444444}}}; border-radius: .5em; background: #FFFFFF"> | <div style="border: .2em solid {{{bgcolor1|#444444}}}; border-radius: .5em; background: #FFFFFF"> | ||
<div style="background: {{{bgcolor2|#444444}}}2e; padding: .4em .8em .5em; margin: | <div style="background: {{{bgcolor2|#444444}}}2e; padding: .4em .8em .5em; margin: .25em; border-radius: 0.2em;"> | ||
{{#if:{{{description|}}}|{{{description}}}|No description}} | {{#if:{{{description|}}}|{{{description}}}|No description}} | ||
</div></div></div></div> | </div></div></div></div> | ||
Line 27: | Line 27: | ||
|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. | |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. | ||
}} | }} | ||
[[Category:Templates]][[Category:Misc Styling Templates]] | |||
</noinclude> | </noinclude> | ||
Latest revision as of 15:18, 8 September 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
Found in: emergency lockers and storage areas
Used for: Contains tools which are useful in emergencies
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.