|
Thanks for using our site! |
Template:ImgMap: Difference between revisions
From ranchstory
Jump to navigationJump to search
imported>Kiwibasket mNo edit summary |
imported>Kiwibasket No edit summary |
||
| Line 10: | Line 10: | ||
Insert [[Template:MapCoord]] inside <code>COORDINATES</code>. | Insert [[Template:MapCoord]] inside <code>COORDINATES</code>. | ||
</noinclude><!-- | </noinclude><!-- | ||
--><includeonly><div class="imgwrapper" style="max-width: {{#expr:{{{IMGWIDTH}}}/4 * 3}}px; max-height: {{#expr:{{{IMGHEIGHT}}}/4 * 3}}px;">[[File:{{{IMGNAME}}}|{{#expr:{{{IMGWIDTH}}}/4 * 3}}px|link=]]{{{COORDINATES}}}{{#if:{{{COLLAPSE | --><includeonly><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}}}{{#if:{{{COLLAPSE}}}|Yes|<div class="mw-collapsible" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}">}}{{{OVERLAY|}}}{{#if:{{{COLLAPSE}}}|Yes|</div>}}</div></includeonly> | ||
Revision as of 12:02, 19 June 2021
{{MobileImgMap
| IMGNAME=
| IMGWIDTH=
| IMGHEIGHT=
| COORDINATES=
}}
Insert Template:MapCoord inside COORDINATES.