Thanks for using our site!

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

Template:ImgMap: Difference between revisions

From ranchstory
Jump to navigationJump to search
imported>Kiwibasket
mNo edit summary
imported>Kiwibasket
mNo edit summary
Line 13: Line 13:
</noinclude><!--
</noinclude><!--
--><includeonly><div class="mapwrapper"><!--
--><includeonly><div class="mapwrapper"><!--
--><div class="imgwrapper {{#ifeq:{{{COLLAPSE}}}|Yes|mw-collapsible" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}} }}" style="max-width: {{#expr:{{{IMGWIDTH}}}{{#ifeq:{{{REDUCESIZE}}}|Yes|/4 * 3}}}}px; max-height: {{#expr:{{{IMGHEIGHT}}}{{#ifeq:{{{REDUCESIZE}}}|Yes|/4 * 3}}}}px;">[[File:{{{IMGNAME}}}|{{#expr:{{{IMGWIDTH}}}{{#ifeq:{{{REDUCESIZE}}}|Yes|/4 * 3}}}}px|link=]]{{{COORDINATES}}}{{#ifeq:{{{COLLAPSE}}}|Yes|<div class="mw-collapsible-content">}}{{{OVERLAY|}}}{{#ifeq:{{{COLLAPSE}}}|Yes|</div>}}</div>
-->{{#ifeq:{{{COLLAPSE}}}|Yes|<div class="mw-collapsible" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}"> }}<div class="imgwrapper" style="max-width: {{#expr:{{{IMGWIDTH}}}{{#ifeq:{{{REDUCESIZE}}}|Yes|/4 * 3}}}}px; max-height: {{#expr:{{{IMGHEIGHT}}}{{#ifeq:{{{REDUCESIZE}}}|Yes|/4 * 3}}}}px;">[[File:{{{IMGNAME}}}|{{#expr:{{{IMGWIDTH}}}{{#ifeq:{{{REDUCESIZE}}}|Yes|/4 * 3}}}}px|link=]]{{{COORDINATES}}}{{#ifeq:{{{COLLAPSE}}}|Yes|<div class="mw-collapsible-content">}}{{{OVERLAY|}}}{{#ifeq:{{{COLLAPSE}}}|Yes|</div>}}</div>
<div align=center><p><big>''Click on an area above to jump to that location.''</big></div></div></includeonly>
<div align=center><p><big>''Click on an area above to jump to that location.''</big></div></div></includeonly>

Revision as of 23:23, 19 June 2021

{{MobileImgMap
| IMGNAME=
| IMGWIDTH=
| IMGHEIGHT=
| COLLAPSE=Yes
| COORDINATES=
| OVERLAY=
}}

Insert Template:MapCoord inside COORDINATES.