Template:ItemMedium: Difference between revisions

From Skyrat
Jump to navigation Jump to search
m added NR tag
m Added a text color parameter
 
(7 intermediate revisions by the same user not shown)
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: {{{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>
|'''Found in: '''{{{foundin|Undefined}}}<br>'''Used for:''' {{{usedfor|Undefined}}}<br>'''Strategy:''' {{{strategy|Undefined}}}
<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: .25em; border-radius: 0.2em; height: 83.5%;">
{|width="100%" cellspacing="0" cellpadding="2"
*'''Found in: '''{{{foundin|Undefined}}}<br>
| style="background-color:{{{bgcolor2|#bbbbbb}}};" |'''Description'''
*'''Used for:''' {{{usedfor|Undefined}}}<br>
|-
*'''Strategy:''' {{{strategy|Undefined}}}
|{{#if:{{{description|}}}|{{{description}}}|No description}}
</div></div></div>
|}
<div style="background: {{{bgcolor1|#444444}}}; padding: .2em .4em .3em; color: {{{TextColor|#FFF}}}"><center>'''Description'''</center></div>
|}</includeonly><noinclude>
<div style="border: .2em solid {{{bgcolor1|#444444}}}; border-radius: .5em; background: #FFFFFF">
 
<div style="background: {{{bgcolor2|#444444}}}2e; padding: .4em .8em .5em; margin: .25em; border-radius: 0.2em;">
 
{{#if:{{{description|}}}|{{{description}}}|No description}}
 
</div></div></div></div>
{{Needsrevision|reason = styling needs to be updated to be more in line with [[Template:ItemSimple]]}}
</includeonly><noinclude>


== DO NOT USE THIS TEMPLATE ==
== DO NOT USE THIS TEMPLATE ==
Line 21: Line 21:
{{Template:ItemMedium}}
{{Template:ItemMedium}}


[[Category:Templates]]</noinclude>
[[Category:Templates]][[Category:Misc Styling Templates]]</noinclude>

Latest revision as of 15:15, 8 September 2022


DO NOT USE THIS TEMPLATE

Use Template:Item instead.

Item
Item
  • Found in: Undefined
  • Used for: Undefined
  • Strategy: Undefined
Description

No description