Template:Annotated image 4: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Documentation subpage}} <!-- Categories at the bottom of this page, please; interwikis at Wikidata. --> {{Annotated image 4 | caption = This is a barnstar from WP:MED th...") |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{ | <includeonly><div class="thumb {{#switch: {{{align|}}} | left = tleft|center = center|centre = center| right|#default = tright}}" {{#ifeq: {{{align|}}}|center|style="margin: 1em auto;"}}> | ||
<div class="thumbinner" style="width:{{#expr:{{{width|300}}}+2}}px;{{#if:{{{frameless|}}}|border:0px;background-color:#fff}} "> | |||
{{#if:{{{header|}}}| | |||
| | <div style="clear: both; font-weight: bold; font-size: 106.4%; text-align: {{{header_align|center}}}; background-color: {{{header_background|transparent}}};margin-bottom:3px">{{{header}}}</div> | ||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
{ | |||
{{ | |||
}} | }} | ||
<!--Start image wrapper--> | |||
<div style="position:relative; width:{{{width|300}}}px; height:{{{height}}}px; overflow:hidden; border:solid #ccc 1px; {{#if:{{{frameless|}}}|border:0px;}} background-color:{{{image-bg-color|white}}};"> | |||
<!--Start annotated image--> | |||
<div style="left:{{{image-left|0}}}px; top:{{{image-top|0}}}px; width:{{{image-width|300}}}px; position:absolute"> [[Image:{{{image}}}|{{{image-width|300}}}px|alt={{{alt|}}}|{{#ifeq:{{{nolink|}}}|yes|link=|link={{{link|COMMONS:File:{{{image}}}}}}}}]] | |||
</div> <!-- end image --> | |||
<!--Start annotations--> | |||
<div style="text-align:{{{annot-text-align|center}}}; {{ifeq|{{{annot-font-size|}}}||line-height:110%;|font-size:{{{annot-font-size|}}}px; line-height:{{{annot-line-height|110%}}};}}"> | |||
<span style="background-color:{{{annot-background-color|transparent}}}; color:{{{annot-color|black}}}">{{{annotations}}}</span> | |||
<!--annotations has syntax: {{annotations|fromLeft|fromTop|text}}--> | |||
</div><!-- end annotations --> | |||
</div><!-- end image wrapper --> | |||
{{#if:{{{caption|}}}|<div class="thumbcaption" style="clear:left">{{#ifeq:{{{icon|}}}|none||[[File:interactive icon.svg|left|18px|link=|The image above contains clickable links|alt=The image above contains clickable links]]}}{{{caption}}}{{#ifeq:{{{nolink|}}}|yes| [[Image:Desc-20.png|15px|link=COMMONS:File:{{{image}}}]]}}</div>}} | |||
</div><!-- end thumbinner --> | |||
</div><!-- end thumb --></includeonly><noinclude> | |||
{{Documentation}} | |||
</noinclude> | |||
{ | |||
{{ | |||
} | |||
{{ | |||
{ | |||
{{ | |||
{{ | |||
{ | |||
{{ | |||
{ | |||
{ | |||
| | |||
{{ | |||
| | |||
| alt | |||
| | |||
{{ | |||
{ | |||
{{ | |||
{{ | |||
{ | |||
{{ | |||
{{ | |||
{{ | |||
{ | |||
{{ | |||
{ | |||
{{ | |||
{{ | |||
{ | |||
{{ | |||
} | |||
{{ | |||
< | |||
{{ | |||
{{ | |||
| | |||
| | |||
| | |||
| image | |||
| | |||
{{ | |||
{{ | |||
{ | |||
{{ | |||
}} | |||
< | |||
Latest revision as of 19:21, 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. |