Difference between revisions of "Template:AlbumUnit"
From Unofficial Fantasica Wiki
(37 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | {{#ifeq: {{{u}}}|| | + | {{#ifeq: {{{u|}}}|| |
− | [[Image:Unknown_{{{r|6}}}_album.jpg|{{{s|86}}}px]] | + | <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;"> | + | |<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: | + | <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> |
− | [[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]] | + | |
− | </div> | + | |
}} | }} |