Content deleted Content added
Jackmcbarn (talk | contribs) m Jackmcbarn moved page Template:Location map Alps/doc to Module:Location map/data/Alps/doc |
Jackmcbarn (talk | contribs) m update for module |
||
Line 1:
<!-- Categories and interwikis go at the bottom of this page. -->
{{#invoke:Location map/info|main}}
[[File:Alps with borders.jpg|thumb|300px|Map of the Alps]]
'''
== Usage ==
Line 13:
== Map definition ==
* <tt>'''name''' = {{
*: Name used in the default map caption
* <tt>'''image''' = [[:File:{{
*: The default map image, without "Image:" or "File:"
{{#if:{{
* <tt>'''image1''' = [[:File:{{
*: An alternative map image, usually a relief map, can be displayed via the ''relief'' or ''AlternativeMap'' parameters
}}{{#if:{{
* <tt>'''image2''' = [[:File:{{
*: A second alternative map image, can be displayed via the ''AlternativeMap'' parameter only
}}{{#if:{{
* <tt>'''top''' = {{
*: [[Latitude]] at top edge of map, in [[decimal degrees]]
* <tt>'''bottom''' = {{
*: Latitude at bottom edge of map, in decimal degrees
* <tt>'''left''' = {{
*: [[Longitude]] at left edge of map, in decimal degrees
* <tt>'''right''' = {{
*: Longitude at right edge of map, in decimal degrees
}}{{#if:{{
* <tt>'''x''' = {{
*: An expression to calculate a ___location on the map via its [[longitude]]; evaluates as 0 along the left edge and 100 along the right edge
* <tt>'''y''' = {{
*: An expression to calculate a ___location on the map via its [[latitude]]; evaluates as 0 along the top edge and 100 along the bottom edge
}}{{#if:{{
* <tt>'''mark''' = [[:File:{{
*: The default mark image to display with this map. This can be overridden by the <code>mark</code> parameter in [[Template:Location map]], which would otherwise default to [[:File:Red pog.svg|Red pog.svg]] ([[File:Red pog.svg|8px]]).
}}{{#if:{{
* <tt>'''marksize''' = {{
*: The default mark size (in [[pixel]]s) for the mark image displayed with this map (should not include <code>px</code>, for example <code>marksize={{
}}
{{#if:{{
== Alternative map ==
The map defined as '''image1''' (<tt>{{
{{{!}}
{{!}}
|