Difference between revisions of "Template:AlbumUnit"
From Unofficial Fantasica Wiki
Line 1: | Line 1: | ||
{{#ifeq: {{{u|}}}|| | {{#ifeq: {{{u|}}}|| | ||
− | <div style="position: relative; width: {{{s|86}}}px; height: {{#expr:101*{{{s|86}}}/86 round 0}}px;float: left; cellspacing:0; cellpadding:0">[[Image:Unknown_{{{r|6}}}_album.jpg|{{{s|86}}}px|link=]]</div> | + | <div style="position: relative; width: {{{s|86}}}px; height: {{#expr:101*{{{s|86}}}/86 round 0}}px;float: left; cellspacing:0; cellpadding:0;border: 1px solid white">[[Image:Unknown_{{{r|6}}}_album.jpg|{{{s|86}}}px|link=]]</div> |
|<div style="position: relative; width: {{{s|86}}}px; height: {{#expr:101*{{{s|86}}}/86 round 0}}px; float: left; cellspacing:0;cellpadding:0{{#ifeq: {{{t|}}}||;border: 1px solid white|;border: 1px solid red}}"> | |<div style="position: relative; width: {{{s|86}}}px; height: {{#expr:101*{{{s|86}}}/86 round 0}}px; float: left; cellspacing:0;cellpadding:0{{#ifeq: {{{t|}}}||;border: 1px solid white|;border: 1px solid red}}"> | ||
<div style="position: absolute; left: {{#expr:11*{{{s|86}}}/86 round 0}}px; top: {{#expr:11*{{{s|86}}}/86 round 0}}px; float: left; cellspacing:0;cellpadding:0">[[Image:{{{u}}}_icon.png|{{#expr:64*{{{s|86}}}/86 round 0}}px|link={{{u}}}|alt={{{u|}}}]]</div>[[Image:Blank_album_{{{r|6}}}.png|{{{s|86}}}px|link=]]</div> | <div style="position: absolute; left: {{#expr:11*{{{s|86}}}/86 round 0}}px; top: {{#expr:11*{{{s|86}}}/86 round 0}}px; float: left; cellspacing:0;cellpadding:0">[[Image:{{{u}}}_icon.png|{{#expr:64*{{{s|86}}}/86 round 0}}px|link={{{u}}}|alt={{{u|}}}]]</div>[[Image:Blank_album_{{{r|6}}}.png|{{{s|86}}}px|link=]]</div> | ||
}} | }} |