Thanks for using our site!

If you're looking to become an editor, please read the Becoming an Editor section carefully.

Template:Annotated image: Difference between revisions

From ranchstory
Jump to navigationJump to search
imported>Kiwibasket
No edit summary
imported>Kiwibasket
mNo edit summary
Line 10: Line 10:
<div style="position:relative; width:{{{width|300}}}px; height:{{{height}}}px; overflow:hidden; border:{{#if:{{{frameless|}}}|0px|solid #ccc 1px}}; background-color:{{{image-bg-color|white}}};">
<div style="position:relative; width:{{{width|300}}}px; height:{{{height}}}px; overflow:hidden; border:{{#if:{{{frameless|}}}|0px|solid #ccc 1px}}; background-color:{{{image-bg-color|white}}};">
<!--Start annotated image-->
<!--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 style="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|}}}|{{#ifeq:{{{nolink|}}}|yes|link=|link={{{link|COMMONS:File:{{{image}}}}}}}}]]}}
</div> <!-- end image -->
</div> <!-- end image -->
<!--Start annotations-->
<!--Start annotations-->

Revision as of 16:43, 15 June 2021

For documentation, see w:TemplateAnnotated image 4