Difference between revisions of "Template:Annotated image noframe"

From AAPG Wiki
Jump to navigation Jump to search
(try class)
(remove div)
Line 1: Line 1:
<includeonly><div class="frameless" style="float:{{#if:{{{float|}}}|{{{float}}}|right}}; clear:{{#if:{{{float|}}}|{{{float}}}|right}}; width:{{{width|{{{image-width|300}}}px; {{{outer-css|}}}; ">
+
<includeonly>
 
<div class="thumbinner image" style="position:relative; width:{{{width|{{{image-width|300}}}}}}px; height:{{{height}}}px; background-color:{{{image-bg-color|white}}};">
 
<div class="thumbinner image" style="position:relative; width:{{{width|{{{image-width|300}}}}}}px; height:{{{height}}}px; background-color:{{{image-bg-color|white}}};">
 
<div style="{{{image-css|}}};left:{{{image-left|0}}}px; top:{{{image-top|0}}}px; width:{{{image-width|300}}}px; position:absolute;"> {{#if:{{{imagemap|}}}|{{{imagemap}}}|[[Image:{{{image}}}|{{{image-width|300}}}px|alt={{{alt|}}}]]}}</div>
 
<div style="{{{image-css|}}};left:{{{image-left|0}}}px; top:{{{image-top|0}}}px; width:{{{image-width|300}}}px; position:absolute;"> {{#if:{{{imagemap|}}}|{{{imagemap}}}|[[Image:{{{image}}}|{{{image-width|300}}}px|alt={{{alt|}}}]]}}</div>
Line 8: Line 8:
 
<div style="visibility:hidden">[[Image:{{{image}}}|{{{image-width|300}}}px|frameless|alt={{{alt|}}}]]</div>
 
<div style="visibility:hidden">[[Image:{{{image}}}|{{{image-width|300}}}px|frameless|alt={{{alt|}}}]]</div>
 
</div>
 
</div>
</div></includeonly>
+
</includeonly>

Revision as of 17:59, 23 January 2014