Template:ItemSimple: Difference between revisions
Jump to navigation
Jump to search
Tag: Undo |
m small tweak |
||
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: 27%"> | <div style="box-shadow: 0 0 .3em #999; border-radius: .2em; margin: 1em 0 1em 1; border: .2em solid {{{bgcolor1|#444444}}}; width: 27%"> | ||
<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: 35%;"><center>{{#if:{{{OverrideImage|}}}|{{{image|}}}|{{#ifexist: File:{{{image|{{{name|Unknown}}}.png}}}| [[File:{{{image|{{{name|Unknown}}}.png}}}{{!}}64px{{!}}{{{name|Item}}}]]}}|no image}}</center></div><div style="background: {{{bgcolor2|#444444}}}1e; padding: .4em .8em .5em; width:65%; margin: .15em .15em .15em; border-radius: 0.2em;"><div style="transform: translate(.2em,1.4em);>'''{{{name|Item}}}'''</div></div></div> | <div style="display: flex;"><div style="background: {{{bgcolor1|#444444}}}; padding: .4em .8em .5em; width: 35%;"><center>{{#if:{{{OverrideImage|}}}|{{{image|}}}|{{#ifexist: File:{{{image|{{{name|Unknown}}}.png}}}| [[File:{{{image|{{{name|Unknown}}}.png}}}{{!}}64px|class=pixelart{{!}}{{{name|Item}}}]]}}|no image}}</center></div><div style="background: {{{bgcolor2|#444444}}}1e; padding: .4em .8em .5em; width:65%; margin: .15em .15em .15em; border-radius: 0.2em;"><div style="transform: translate(.2em,1.4em);>'''{{{name|Item}}}'''</div></div></div> | ||
</div></div> | </div></div> | ||
</includeonly><noinclude> | </includeonly><noinclude> |