Template:ItemMedium: Difference between revisions
Jump to navigation
Jump to search
m added this to Misc styling templates |
m small tweak to a margin |
||
Line 4: | Line 4: | ||
<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> | <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> | ||
<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: 83.5%;"> | ||
*'''Found in: '''{{{foundin|Undefined}}}<br> | *'''Found in: '''{{{foundin|Undefined}}}<br> | ||
*'''Used for:''' {{{usedfor|Undefined}}}<br> | *'''Used for:''' {{{usedfor|Undefined}}}<br> | ||
Line 11: | Line 11: | ||
<div style="background: {{{bgcolor1|#444444}}}; padding: .2em .4em .3em; color: white"><center>'''Description'''</center></div> | <div style="background: {{{bgcolor1|#444444}}}; padding: .2em .4em .3em; color: white"><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> |