Anonymous

Template:Item Infobox: Difference between revisions

From The Blockheads Wiki
m
no edit summary
>Abcboy
mNo edit summary
>Abcboy
mNo edit summary
Line 2: Line 2:
! 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; background-image:-webkit-gradient(linear, left top, left bottom, from(#aed6e3), to(#caefec)); background-image:-webkit-linear-gradient(top, #aed6e3, #caefec); background-image:-moz-linear-gradient(top, #aed6e3, #caefec); background-image:-o-linear-gradient(top, #aed6e3, #caefec); background-image:linear-gradient(to bottom, #aed6e3, #caefec); width:160px; height:160px; margin:auto; line-height: 160px;">[[File:{{{Image|{{{Name|Image}}}.png}}}|160x160px|center|{{{Name|}}}]]</div>
| colspan="2" style="text-align:center;" | <div style="background-color:#BCE2E7; background-image:-webkit-gradient(linear, left top, left bottom, from(#aed6e3), to(#caefec)); background-image:-webkit-linear-gradient(top, #aed6e3, #caefec); background-image:-moz-linear-gradient(top, #aed6e3, #caefec); background-image:-o-linear-gradient(top, #aed6e3, #caefec); background-image:linear-gradient(to bottom, #aed6e3, #caefec); width:160px; height:160px; margin:auto; line-height:155px">[[File:{{{Image|{{{Name|Image}}}.png}}}|160x160px|center|{{{Name|}}}]]</div>
|-
|-
| colspan="2" style="text-align:center; {{#switch:{{{Imageicon}}}|None=display:none;}}"|  
| colspan="2" style="text-align:center; {{#ifeq:{{{Imageicon|None}}}|None|display:none;}}"|  
[[File:{{#switch:{{{Imageicon}}}|None=None.png|{{{Imageicon|{{{Name}}} Icon.png}}}}}|40px]][[File:{{#switch:{{{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|None.png|{{{Imageicon|{{{Name}}} Icon.png}}}}}|40px]][[File:{{#ifeq:{{{ImageiconHD|None}}}|None|None.png|{{{ImageiconHD|{{{Name}}} HD Icon.png}}}}}|40px]]{{#if:{{{Imageicon2|}}}|[[File:{{{Imageicon2|Image.png}}}|40px]]}}{{#if:{{{Imageicon2HD|}}}|[[File:{{{Imageicon2HD|Image.png}}}|40px]]}}
|- style="{{#if:{{{Category|}}}||display:none;}}"
|- style="{{#if:{{{Category|}}}||display:none;}}"
! style="background-color:#d4e3e5;" | Category
! style="background-color:#d4e3e5;" | Category
Anonymous user