Template:Annotated image: Difference between revisions
(Created page with "<includeonly><div class="thumb" style="float:{{#if:{{{float|}}}|{{{float}}}|right}}; clear:{{#if:{{{float|}}}|{{{float}}}|right}}; margin-{{#switch:{{{float}}}|left=right|#def...") |
(trying a smaller version) |
||
Line 1: | Line 1: | ||
<includeonly><div class="thumb" style=" | <includeonly> | ||
<div class="thumbinner image" style="position:relative; width:{{{width | <div class="thumb" style="width:{{#expr:{{{width| {{#expr:{{{image-width}}}px; {{{outer-css|}}}; "> | ||
<div style="{{{image-css|}}};left:{{{image-left|0}}}px; top:{{{image-top|0}}}px; width:{{{image-width | <div class="thumbinner image" style="position:relative; width:{{{width}}}px; height:{{{height}}}px;"> | ||
<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| alt={{{alt}}}| {{{caption}}}]]}} | |||
{{{annotations}}} | </div> | ||
</div> | <div> | ||
<div style="visibility:hidden"> | {{{annotations}}} | ||
</div><div class="thumbcaption" style="width:{{{width|300}}}px;">{{{caption}}}</div> | </div> | ||
</div></includeonly>{{#if:{{{image- style|}}}|[[Category:Pages screwed up by automated editing]]}}<noinclude> | <div style="visibility:hidden"> | ||
{{documentation}} | [[ 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]]}} | |||
<noinclude> | |||
{{documentation}} | |||
</noinclude> | </noinclude> |