Template:Annotated image: Difference between revisions
Jump to navigation
Jump to search
Created page with "<includeonly> <div name="OuterBorder" class="thumb" style="float:{{#if:{{{float|}}}|{{{float}}}|right}}; margin-{{#switch:{{{float}}}|left=right|#default=left}}:5px; border:so..." |
No edit summary |
||
Line 3: | Line 3: | ||
<div name="InnerBorder" class="thumbinner image" style="position:relative; width:{{{width|{{#expr:{{{image-width|300}}}+4}}}}}px; height:{{{height}}}px; border:solid #ccc 1px; background-color:{{{image-bg-color|white}}};"> | <div name="InnerBorder" class="thumbinner image" style="position:relative; width:{{{width|{{#expr:{{{image-width|300}}}+4}}}}}px; height:{{{height}}}px; border:solid #ccc 1px; background-color:{{{image-bg-color|white}}};"> | ||
<div name="Image" style="{{{image-css|}}};left:{{{image-left|0}}}px; top:{{{image-top|0}}}px; width:{{{image-width|300}}}px; position:absolute;"> | <div name="Image" 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 name="caption" class="thumbcaption" style="font-size:90%; width:{{{width|300}}}px;">{{{caption}}}</div> </div></includeonly><noinclude>{{documentation}}{{#ifeq: {{NAMESPACE}}|Template| | {{#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 name="caption" class="thumbcaption" style="font-size:90%; width:{{{width|300}}}px;">{{{caption}}}</div> </div></includeonly><noinclude>{{documentation}}{{#ifeq: {{NAMESPACE}}|Template| }}</noinclude> |
Latest revision as of 21:09, 1 November 2012
[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. |