|
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 14: | Line 14: | ||
</noinclude><!-- | </noinclude><!-- | ||
--><includeonly><div class="mapwrapper"><!-- | --><includeonly><div class="mapwrapper"><!-- | ||
--><div align=center style="padding-bottom: 0. | --><div align=center style="padding-bottom: 0.8em;"><big>''Click on an area below to jump to that location.''</big></div><!-- | ||
--><p><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><!-- | --><p><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.3em;">[[File:Zoom.png|link=File:{{{IMGNAME}}}|Full image]]</div></div></includeonly> | --><div style="float: right; padding: 0 0.3em;">[[File:Zoom.png|link=File:{{{IMGNAME}}}|Full image]]</div></div></includeonly> | ||
Revision as of 01:01, 20 June 2021
{{MobileImgMap
| IMGNAME=
| IMGWIDTH=
| IMGHEIGHT=
| COLLAPSE=Yes
| REDUCESIZE=Yes
| COORDINATES=
| OVERLAY=
}}
Insert Template:MapCoord inside COORDINATES.