|
Thanks for using our site! |
Template:Annotated image: Difference between revisions
From ranchstory
Jump to navigationJump to search
imported>Kiwibasket mNo edit summary |
imported>Kiwibasket mNo edit summary |
||
| Line 14: | Line 14: | ||
<!--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 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- | <div {{#if:{{{toggle|}}}|class="mw-collapsible" id="mw-collapsibletoggle"}} 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- | {{#if:{{{toggle|}}}|<span class="mw-collapsibletoggle" 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| [[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| [[Image:Desc-20.png|15px|link=COMMONS:File:{{{image}}}]]}}</div>}} | ||
</div><!-- end thumbinner --> | </div><!-- end thumbinner --> | ||
Revision as of 19:45, 15 June 2021
For documentation, see w:TemplateAnnotated image 4