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
mNo edit summary
imported>Kiwibasket
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 13: Line 13:
</div> <!-- end image -->
</div> <!-- end image -->
<!--Start annotations-->
<!--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%}}};}}">
<div {{#if:{{{toggle|}}}|class="mw-collapsible" id="mw-customcollapsible-maplabel"}} 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%}}};}}">
<div style="background-color:{{{annot-background-color|transparent}}}; color:{{{annot-color|black}}}">{{{annotations}}}</div>
<div style="background-color:{{{annot-background-color|transparent}}}; color:{{{annot-color|black}}}">{{{annotations}}}</div>
<!--annotations has syntax: {{annotations|fromLeft|fromTop|text}}-->
<!--annotations has syntax: {{annotations|fromLeft|fromTop|text}}-->
</div><!-- end annotations -->
</div><!-- end annotations -->
</div><!-- end image wrapper -->
</div><!-- end image wrapper -->
{{#if:{{{toggle|}}}|<span class="mw-customtoggle-maplabel" style="float: right;">[toggle labels]</span>}}
{{#if:{{{caption|}}}|<div class="thumbcaption" style="clear:left">{{#ifeq:{{{icon|}}}|none||<div style="float:left;margin-right:0.5em">[[File:interactive icon.svg|18px|link=|The image above contains clickable links|alt=The image above contains clickable links]]</div>}}{{{caption}}}{{#ifeq:{{{nolink|}}}|yes|&nbsp;[[Image:Desc-20.png|15px|link=COMMONS:File:{{{image}}}]]}}</div>}}
{{#if:{{{caption|}}}|<div class="thumbcaption" style="clear:left">{{#ifeq:{{{icon|}}}|none||<div style="float:left;margin-right:0.5em">[[File:interactive icon.svg|18px|link=|The image above contains clickable links|alt=The image above contains clickable links]]</div>}}{{{caption}}}{{#ifeq:{{{nolink|}}}|yes|&nbsp;[[Image:Desc-20.png|15px|link=COMMONS:File:{{{image}}}]]}}</div>}}
</div><!-- end thumbinner -->
</div><!-- end thumbinner -->

Latest revision as of 20:19, 15 June 2021

For documentation, see w:TemplateAnnotated image 4