Template:Annotated image: Difference between revisions

From KDE Wiki Sandbox
No edit summary
No edit summary
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="thumb" style="width:{{#expr:{{{width|{{size}}px; {{{outer-css|}}}; ">
<div class="thumb" style="border:solid #ccc 1px;
padding:2px;
width:{{size}}px; ">
 
<div class="thumbinner image"  
<div class="thumbinner image"  
style="position:relative;  
style="position:relative;  
Line 6: Line 9:
height:{{{size}}}px;">
height:{{{size}}}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>
    <div style="{{{image-css|}}};
<div style="visibility:hidden">[[ Image:{{{image}}}| {{{image-width}}}px ]]</div>
    left:{{{image-left|0}}}px;  
    top:{{{image-top|0}}}px;  
    width:{{{image-width}}}px;  
    position:absolute;">
        [[Image:{{{image}}}]]
    </div>
    {{{annotations}}}
    <div>[[Image:{{{image}}}|frameless]]</div>


</div>
</div>
<div class="thumbcaption" style="width:{{{width}}}px;">{{{caption}}}</div>
<div class="thumbcaption" style="width:{{{width|300}}}px;">{{{caption}}}</div>
</div>
</div>

Latest revision as of 14:56, 11 August 2015

       [[Image:{{{image}}}]]
   {{{annotations}}}
[[Image:{{{image}}}|frameless]]
{{{caption}}}