Template:ItemSimple: Difference between revisions
Jump to navigation
Jump to search
m added this to Misc styling templates |
m small tweak to a margin |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<div style="box-shadow: 0 0 .3em #999; border-radius: .2em; margin: | <div style="box-shadow: 0 0 .3em #999; border-radius: .2em; margin: .25em .25em .25em .25em; border: .2em solid {{{bgcolor1|#444444}}}; width: 80%; background: {{{bgcolor1|#444444}}}; width: 27%; height:100%"> | ||
<div style="overflow: auto; align-items: stretch;"> | <div style="overflow: auto; align-items: stretch;"> | ||
<div style="display: flex;"><div style="background: {{{bgcolor1|#444}}}; padding: .4em .8em .5em; width: 25%;"><div style="margin:7%"><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> | <div style="display: flex;"><div style="background: {{{bgcolor1|#444}}}; padding: .4em .8em .5em; width: 25%;"><div style="margin:7%"><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> | ||
<div style="border: .2em solid {{{bgcolor1|#444444}}}; border-radius: .5em; width: 75%; background: #FFFFFF; height:43%;> | <div style="border: .2em solid {{{bgcolor1|#444444}}}; border-radius: .5em; width: 75%; background: #FFFFFF; height:43%;> | ||
<div style="background: {{{bgcolor2|#444444}}}2e; padding: 1.65em .8em 14%; margin: | <div style="background: {{{bgcolor2|#444444}}}2e; padding: 1.65em .8em 14%; margin: .25em; border-radius: 0.2em; height:43%;">'''{{{name|Item}}}''' | ||
</div></div></div></div></div> | </div></div></div></div></div> | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
Line 10: | Line 10: | ||
Use [[:Template:Item]] instead | Use [[:Template:Item]] instead | ||
{{ItemSimple}} | |||
{{ItemSimple}} | {{ItemSimple}} | ||
{{ItemSimple | {{ItemSimple |