|
Thanks for using our site! |
Template:ImgMap: Difference between revisions
From ranchstory
Jump to navigationJump to search
imported>Kiwibasket No edit summary |
imported>Kiwibasket mNo edit summary |
||
| Line 12: | Line 12: | ||
Insert [[Template:MapCoord]] inside <code>COORDINATES</code>. | Insert [[Template:MapCoord]] inside <code>COORDINATES</code>. | ||
</noinclude><!-- | </noinclude><!-- | ||
--><includeonly><div align=center | --><includeonly><div align=center><big>''Click on an area below to jump to that location.''</big></div><!-- | ||
--><div class="mapwrapper"><!-- | --><p><div class="mapwrapper"><!-- | ||
--><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" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}">}}{{{OVERLAY|}}}{{#ifeq:{{{COLLAPSE}}}|Yes|</div>}}</div><!-- | --><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" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}">}}{{{OVERLAY|}}}{{#ifeq:{{{COLLAPSE}}}|Yes|</div>}}</div><!-- | ||
--><div style="float: right; padding: 0 0.5em;">[[File:Zoom.png]]</div></div></includeonly> | --><div style="float: right; padding: 0 0.5em;">[[File:Zoom.png]]</div></div></includeonly> | ||
Revision as of 23:37, 19 June 2021
{{MobileImgMap
| IMGNAME=
| IMGWIDTH=
| IMGHEIGHT=
| COLLAPSE=Yes
| COORDINATES=
| OVERLAY=
}}
Insert Template:MapCoord inside COORDINATES.