Changes
Jump to navigation
Jump to search
← Older edit
Template:Annotated image noframe
(view source)
Revision as of 20:11, 27 March 2014
24 bytes added
,
20:11, 27 March 2014
use same shift
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 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;">
−
<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%;}}}}">
+
[[Image:
{{
{image}}}|
{{{
image-width
|
300
}}}
px
|
alt=
{{{
alt|
}}}|
link={{{link|}}}]]</div>
−
<
!--annotation|left|top--
>
+
{{#if
:{{{
box|
}}}|
<div style="left:
{{{image-
left
|
0
}}}px
; {{{box-pos
|
top}}}:0; width:300px; height:60px; background-color:rgba(255,255,255,
{{{
box-alpha
|
0.65
}}}
); position:absolute;">|
}}
−
{{{
annotations
}}}
+
<div style="
position:relative; {{{annot-css|}}};
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%;}}}}">
{{{annotations}}}
<
/div
>
−
</div>
+
{{#if:
{{{
box|
}}}
|
</div>
|}}
<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><noinclude
>
{{Documentation}}
</
noinclude
>
Matt
Bureaucrats
,
Administrators
1,298
edits
Navigation menu
Personal tools
Log in
Namespaces
Template
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help pages
Tools
Special pages
Printable version