Template:Annotated image: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<div class="thumb" style="width:{{#expr:{{{width| {{#expr:{{{image-width}}}px; {{{outer-css|}}}; "> | <div class="thumb" style="width:{{#expr:{{{width| {{#expr:{{{image-width}}}px; {{{outer-css|}}}; "> | ||
<div class="thumbinner image" style="width:{{{width}}}px; height:{{{height}}}px;"> | <div class="thumbinner image" style="width:{{{width|image-width}}}px; height:{{{height|image-height}}}px;"> | ||
<div style="{{{image-css|}}}; left:{{{image-left|0}}}px; top:{{{image-top|0}}}px; width:{{{image-width}}}px;"> | <div style="{{{image-css|}}}; left:{{{image-left|0}}}px; top:{{{image-top|0}}}px; width:{{{image-width}}}px;"> | ||
{{ [[Image:{{{image}}}| {{{image-width}}}px| alt={{{alt}}}| {{{caption}}}]]}} | {{ [[Image:{{{image}}}| {{{image-width}}}px| alt={{{alt}}}| {{{caption}}}]]}} |