Template:Annotated image: Difference between revisions

From KDE Wiki Sandbox
(trying a smaller version)
No edit summary
 
(19 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<div class="thumb" style="border:solid #ccc 1px;  
<div class="thumb" style="width:{{#expr:{{{width| {{#expr:{{{image-width}}}px; {{{outer-css|}}}; ">
padding:2px;  
<div class="thumbinner image" style="position:relative; width:{{{width}}}px; height:{{{height}}}px;">
width:{{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| alt={{{alt}}}| {{{caption}}}]]}}
</div>
<div>
{{{annotations}}}
</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>


{{#if:{{{image- style|}}}|[[Category:Pages screwed up by automated editing]]}}
<div class="thumbinner image"
style="position:relative;
overflow:hidden;
width:{{{size}}}px;
height:{{{size}}}px;">


<noinclude>
    <div style="{{{image-css|}}};
{{documentation}}
    left:{{{image-left|0}}}px;
</noinclude>
    top:{{{image-top|0}}}px;
    width:{{{image-width}}}px;
    position:absolute;">
        [[Image:{{{image}}}]]
    </div>
    {{{annotations}}}
    <div>[[Image:{{{image}}}|frameless]]</div>
 
</div>
<div class="thumbcaption" style="width:{{{width|300}}}px;">{{{caption}}}</div>
</div>

Latest revision as of 14:56, 11 August 2015

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