Template:Item Infobox: Difference between revisions
Attempt to improve mobile compatibility
FloofyPlasma (talk | contribs) m (Reverted edit by FloofyPlasma (talk) to last revision by [[User:>Abcboy|>Abcboy]]) Tag: Rollback |
FloofyPlasma (talk | contribs) (Attempt to improve mobile compatibility) |
||
Line 1: | Line 1: | ||
{| style="vertical-align:top; margin: 0 0 0.5em | {| style="vertical-align:top; float:right; margin:0 0 0.5em 0; border:1px solid silver; text-align:left; font-size:90%; background-color:white; max-width:30%; padding:5px; width:100%;" | ||
! colspan="2" style="font-size:110%; text-align:center; background-color:#d4e3e5;" | {{{Name}}} | ! colspan="2" style="font-size:110%; text-align:center; background-color:#d4e3e5;" | {{{Name}}} | ||
|- | |- | ||
| colspan="2" style="text-align:center;" | <div style="background-color:#BCE2E7 | | colspan="2" style="text-align:center;" | <div style="background-color:#BCE2E7; background-image:linear-gradient(to bottom, #aed6e3, #caefec); max-width:160px; margin:auto;"> | ||
[[File:{{{Image|{{{Name|Image}}}.png}}}|frameless|center|160px|{{{Name|}}}]] | |||
</div> | |||
|- | |- | ||
| colspan="2" style="text-align:center; {{#ifeq:{{{Imageicon|}}}|None|display:none;}}"| | | colspan="2" style="text-align:center; {{#ifeq:{{{Imageicon|}}}|None|display:none;}}"| | ||
[[File:{{#ifeq:{{{Imageicon|}}}|None|None.png|{{{Imageicon|{{{Name}}} Icon.png}}}}}|40px]][[File:{{#ifeq:{{{ImageiconHD|}}}|None|None.png|{{{ImageiconHD|{{{Name}}} HD Icon.png}}}}}|40px]]{{#if:{{{Imageicon2|}}}|[[File:{{{Imageicon2|Image.png}}}|40px]]}}{{#if:{{{Imageicon2HD|}}}|[[File:{{{Imageicon2HD|Image.png}}}|40px]]}} | [[File:{{#ifeq:{{{Imageicon|}}}|None|None.png|{{{Imageicon|{{{Name}}} Icon.png}}}}}|40px]] | ||
|- | [[File:{{#ifeq:{{{ImageiconHD|}}}|None|None.png|{{{ImageiconHD|{{{Name}}} HD Icon.png}}}}}|40px]] | ||
{{#if:{{{Imageicon2|}}}|[[File:{{{Imageicon2|Image.png}}}|40px]]}} | |||
{{#if:{{{Imageicon2HD|}}}|[[File:{{{Imageicon2HD|Image.png}}}|40px]]}} | |||
|- | |||
! style="background-color:#d4e3e5;" | Category | ! style="background-color:#d4e3e5;" | Category | ||
| | | style="width:100%;" | {{{Category|}}} | ||
|- | |||
! style="background-color:#d4e3e5;" | Use | ! style="background-color:#d4e3e5;" | Use | ||
| | | style="width:100%;" | {{{Use|}}} | ||
|- | |||
! style="background-color:#d4e3e5;" | Tool | ! style="background-color:#d4e3e5;" | Tool | ||
| {{{Tool|}}} | | style="width:100%;" | {{{Tool|}}} | ||
|- | |- | ||
! style="background-color:#d4e3e5;"| Stackable | ! style="background-color:#d4e3e5;" | Stackable | ||
| {{{Stackable|Yes (99)}}} | | style="width:100%;" | {{{Stackable|Yes (99)}}} | ||
|- | |- | ||
|}<noinclude> | |} | ||
<noinclude> | |||
<pre> | <pre> | ||
{{Item Infobox | {{Item Infobox |