Difference between revisions of "Template:MapSiteLink"

From Geohashing
Line 1: Line 1:
<!-- I made this to help with including links to the National Land Survey of Finland's topographic map view.
+
<noinclude>
    Usage:
+
Author: [[User:Kripakko|Kripakko]]
    {{MapSiteLink
+
 
        | N = ETRS-TM35FIN north coordinate
+
I made this template to help with including links to the National Land Survey of Finland's topographic map view.
        | E = ETRS-TM35FIN east coordinate
+
 
        | title = the title to be displayed on the marker on the map,
+
Usage:
                  formatted in a certain way required by the MapSite – optional
+
: {{MapSiteLink
        | zoom = map zoom level – optional, defaults to 10
+
:: | N = ETRS-TM35FIN north coordinate
        | label = the label for the link on the wikipage – optional
+
:: | E = ETRS-TM35FIN east coordinate
    }}
+
:: | title = the title to be displayed on the marker on the map, formatted in a certain way required by the MapSite – optional
-->
+
:: | zoom = map zoom level – optional, defaults to 10
 +
:: | label = the label for the link on the wikipage – optional
 +
: }}
 +
</noinclude>
 +
<includeonly>
 
[https://asiointi.maanmittauslaitos.fi/karttapaikka/?lang=en&share=customMarker&n={{{N}}}&e={{{E}}}&title={{{title|}}}&desc=&zoom={{{zoom|10}}} {{{label|}}}]
 
[https://asiointi.maanmittauslaitos.fi/karttapaikka/?lang=en&share=customMarker&n={{{N}}}&e={{{E}}}&title={{{title|}}}&desc=&zoom={{{zoom|10}}} {{{label|}}}]
 +
</includeonly>

Revision as of 14:35, 12 April 2021

Author: Kripakko

I made this template to help with including links to the National Land Survey of Finland's topographic map view.

Usage:

{{MapSiteLink
| N = ETRS-TM35FIN north coordinate
| E = ETRS-TM35FIN east coordinate
| title = the title to be displayed on the marker on the map, formatted in a certain way required by the MapSite – optional
| zoom = map zoom level – optional, defaults to 10
| label = the label for the link on the wikipage – optional
}}