Template:Annotated image: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE --> This template allows the addition of explanatory notes to images in the form of actual tex...") |
No edit summary |
||
Line 1: | Line 1: | ||
{{ | <includeonly>{{#ifeq:{{{float}}}|center|<div class="center">}}<div class="thumb {{#switch:{{{float}}} | ||
|left= tleft | |||
|center | none= tnone | |||
|right | |||
|#default= tright | |||
}}" style="{{{outer-css|}}}; "> | |||
<div class="thumbinner" style="overflow:hidden;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 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%;}}}}"> | |||
< | <!--annotation|left|top--> | ||
{{ | {{{annotations}}} | ||
</div> | |||
| | <div style="visibility:hidden">{{#if:{{{imagemap|}}}|{{{imagemap}}}|[[Image:{{{image}}}|{{{image-width|300}}}px|frameless|alt={{{alt|}}}]]}}</div> | ||
</div> | |||
| | <div class="thumbcaption">{{#if:{{{image|}}}|{{magnify icon|link=File:{{{image}}}}}}}{{{caption}}}</div> | ||
| | </div></div>{{#ifeq:{{{float}}}|center|</div>}}</includeonly>{{#if:{{{image- style|}}}|[[Category:Pages screwed up by automated editing]]}}<noinclude> | ||
| | {{documentation}} | ||
| | </noinclude> | ||
| | |||
}} | |||
< | |||
| | |||
|- | |||
|- | |||
| | |||
| | |||
}} | |||
</ | |||
<div style=" | |||
{{ | |||
| | |||
| | |||
| image | |||
| image- | |||
| | |||
| | |||
| | |||
| | |||
}} | |||
<div | |||
{{ | |||
{{ | |||
<includeonly>{{# | |||
[[Category: | |||
}}</ |
Latest revision as of 19:20, 12 July 2017
[create]
Template documentation

Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |