Template:Annotated image: Difference between revisions
No edit summary |
|||
Line 1: | Line 1: | ||
<div class="thumb" style="width:{{|{{size}}px; {{{outer-css|}}}; "> | <div class="thumb" style="width:{{#expr:{{{width|{{size}}px; {{{outer-css|}}}; "> | ||
<div class="thumbinner image" | <div class="thumbinner image" | ||
style="position:relative; | style="position:relative; | ||
Line 7: | Line 6: | ||
height:{{{size}}}px;"> | height:{{{size}}}px;"> | ||
<div style="{{{image-css|}}};left:{{{image-left|0}}}px; | <div style="{{{image-css|}}};left:{{{image-left|0}}}px; top:{{{image-top|0}}}px; width:{{{image-width}}}px; position:absolute;"> [[Image:{{{image}}}| {{{image-width}}}px|</div> | ||
top:{{{image-top|0}}}px; | <div>[[ Image:{{{image}}}| {{{image-width}}}px ]]</div> | ||
width:{{{image-width}}}px; | |||
position:absolute;"> | |||
[[Image:{{{image}}}| {{{ | |||
</div> | </div> | ||
</div> | <div class="thumbcaption" style="width:{{{width}}}px;">{{{caption}}}</div> | ||
</div> | </div> |