Difference between revisions of "Template:Annotated image noframe"

From AAPG Wiki
Jump to navigation Jump to search
(try 5)
(try another way)
Line 4: Line 4:
 
[[Image:{{{image}}}|{{{image-width|300}}}px|alt={{{alt|}}}|link={{{link|}}}]]
 
[[Image:{{{image}}}|{{{image-width|300}}}px|alt={{{alt|}}}|link={{{link|}}}]]
 
</div>
 
</div>
<div style="text-align:{{{annot-text-align|left}}}; background-color:{{{annot-background-color|transparent}}}; {{#if:{{{annot-font-family|}}}|font-family:{{{annot-font-family}}};|}} {{#if:{{{annot-font-size|}}}|font-size:{{{annot-font-size}}}px;|}} {{#if:{{{annot-font-weight|}}}|font-weight:{{{annot-font-weight}}};|}} {{#if:{{{annot-font-style|}}}|font-style:{{{annot-font-style}}};|}} {{#if:{{{annot-color|}}}|color:{{{annot-color}}};|}} {{#if:{{{annot-line-height|}}}|line-height:{{{annot-line-height}}};|{{#if:{{{annot-font-size|}}}|line-height:{{#expr:{{{annot-font-size|}}}+2}}px;  |line-height:110%;}}}}">
+
<div style="text-align:{{{annot-text-align|left}}}; background-color:{{{annot-background-color|transparent}}}; {{#if:{{{annot-font-family|}}}|font-family:{{{annot-font-family}}};|}} {{#if:{{{annot-font-size|}}}|font-size:{{{annot-font-size}}}px;|}} {{#if:{{{text-shadow|}}}|text-shadow:{{{text-shadow}}};|}} {{#if:{{{annot-font-weight|}}}|font-weight:{{{annot-font-weight}}};|}} {{#if:{{{annot-font-style|}}}|font-style:{{{annot-font-style}}};|}} {{#if:{{{annot-color|}}}|color:{{{annot-color}}};|}} {{#if:{{{annot-line-height|}}}|line-height:{{{annot-line-height}}};|{{#if:{{{annot-font-size|}}}|line-height:{{#expr:{{{annot-font-size|}}}+2}}px;  |line-height:110%;}}}}">
 
<!--annotation|left|top-->
 
<!--annotation|left|top-->
 
{{{annotations}}}
 
{{{annotations}}}
 
</div>
 
</div>
<div style="visibility:hidden">[[Image:{{{image}}}|{{{image-width|300}}}px|frameless|alt={{{alt|}}}]]<div style="background:blue; float:left; width:4em; height:4em;"></div></div>
+
<div style="visibility:hidden">[[Image:{{{image}}}|{{{image-width|300}}}px|frameless|alt={{{alt|}}}]]</div>
 
</div>
 
</div>
 
</includeonly>
 
</includeonly>

Revision as of 18:57, 23 January 2014