Template:Annotated image: Difference between revisions

From KDE Wiki Sandbox
(Undo revision 350689 by Lundin (talk))
(Undo revision 350688 by Lundin (talk))
Line 1: Line 1:
<div class="thumb" style="width:{{#expr:{{{width|{{size}}px; {{{outer-css|}}}; ">
<div class="thumb" style="float:{{#if:{{{float|}}}|{{{float}}}|right}}; clear:{{#if:{{{float|}}}|{{{float}}}|right}}; border:solid #ccc 1px; padding:2px; width:{{#expr:{{{width|{{size}}px; {{{outer-css|}}}; ">
<div class="thumbinner image"  
<div class="thumbinner image"  
style="position:relative;  
style="position:relative;  
Line 5: Line 5:
width:{{{size}}}px;  
width:{{{size}}}px;  
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;"> {{#if:{{{imagemap|}}}|{{{imagemap}}}|[[Image:{{{image}}}|{{{image-width}}}px|alt={{{alt|}}}|{{{caption}}}]]}}</div>


<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>
{{{annotations}}}
<div style="visibility:hidden">[[ Image:{{{image}}}| {{{image-width}}}px ]]</div>


</div>
<div style="visibility:hidden">{{#if:{{{imagemap|}}}|{{{imagemap}}}|[[Image:{{{image}}}|{{{image-width}}}px|frameless|alt={{{alt|}}}]]}}</div>
<div class="thumbcaption" style="width:{{{width}}}px;">{{{caption}}}</div>
</div><div class="thumbcaption" style="width:{{{width|300}}}px;">{{{caption}}}</div>
</div>
</div>

Revision as of 14:08, 11 August 2015

[[Image:{{{image}}}|{{{image-width}}}px|alt=|{{{caption}}}]]

{{{annotations}}}

[[Image:{{{image}}}|{{{image-width}}}px|frameless|alt=]]
{{{caption}}}