Difference between pages "Template:Annotated image" and "Template:Annotated image/sandbox"

(Difference between pages)
Jump to navigation Jump to search
Page 1
Page 2
m (76 revisions imported)
 
m (38 revisions imported)
 
Line 5: Line 5:
 
|#default= tright
 
|#default= tright
 
}}" style="{{{outer-css|}}}; ">
 
}}" style="{{{outer-css|}}}; ">
<div class="thumbinner" style="overflow:hidden;width:{{#expr:{{{width|{{{image-width|300}}}}}}+2}}px;">
+
<div class="thumbinner" style="justify-content: initial; width:{{#expr:{{{width|{{{image-width|300}}}}}}+2}}px;">
<div class="thumbimage" style="{{#if:{{{height|}}}|height:{{#expr:{{{height}}}+2}}px;}} overflow:hidden; position:relative; background-color:{{{image-bg-color|white}}};">
+
<div class="thumbimage" style="{{#if:{{{height|}}}|height:{{#expr:{{{height}}}+2}}px;}} position:relative; 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}}}|[[File:{{{image}}}|{{{image-width|300}}}px|alt={{{alt|}}}|{{{caption}}}]]}}</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}}}|[[File:{{{image}}}|{{{image-width|300}}}px|alt={{{alt|}}}|{{{caption}}}]]}}</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:{{{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%;}}}}">