Template:Annotated image: Difference between revisions

From KDE UserBase Wiki
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="thumbinner image" style="width:{{{width|image-width}}}px; height:{{{height|image-height}}}px;">
<div style="
<div style="{{{image-css|}}}; left:{{{image-left|0}}}px; top:{{{image-top|0}}}px; width:{{{image-width}}}px;">
background-image: url('{{image}}');  
{{ [[Image:{{{image}}}| {{{image-width}}}px| alt={{{alt}}}| {{{caption}}}]]}}
width: {{width}};  
</div>
height: {{height}};  
<div>
background-position: {{left}}, {{right}};  
{{{annotations}}}
outline: 1px solid magenta;">
</div>
 
<div style="visibility:hidden">
[[ Image:{{{image}}}| {{{image-width}}}px| frameless| alt={{{alt}}} ]]
</div>
</div>
<div class="thumbcaption" style="width:{{{width|300}}}px;">
{{{caption}}}
</div>
</div>
</includeonly>
</includeonly>



Revision as of 13:04, 11 August 2015