Template:Annotated image: Difference between revisions

From KDE Wiki Sandbox
No edit summary
No edit summary
Line 1: Line 1:
<div class="thumb" style="float:{{#if:{{{float|}}}|{{{float}}}|right}}; clear:{{#if:{{{float|}}}|{{{float}}}|right}}; margin-{{#switch:{{{float}}}|left=right|#default=left}}:5px; border:solid #ccc 1px; padding:2px; 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" style="position:relative; overflow:hidden; width:{{{size}}}px; height:{{{size}}}px;">
<div class="thumbinner image"  
style="position:relative;  
overflow:hidden;  
width:{{{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;"> {{#if:{{{imagemap|}}}|{{{imagemap}}}|[[Image:{{{image}}}|{{{image-width}}}px|alt={{{alt|}}}|{{{caption}}}]]}}</div>



Revision as of 13:46, 11 August 2015

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

{{{annotations}}}

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