Difference between revisions of "Template:MapSiteLink"

From Geohashing
(Undo revision 831186 by Kripakko (talk))
(Tag: Undo)
Line 1: Line 1:
<includeonly>[https://asiointi.maanmittauslaitos.fi/karttapaikka/?lang=en&share=customMarker&n={{#if: {{{N|}}} | {{{N}}} | {{#expr: {{Kripakko TM35FIN N | lat = {{{lat}}} | lon = {{{lon}}} }}round1 }} }}&e={{#if: {{{E|}}} | {{{E}}} | {{#expr: {{Kripakko TM35FIN E | lat = {{{lat}}} | lon = {{{lon}}} }}round1 }} }}&title={{{title|}}}&desc=&zoom={{{zoom|10}}} {{{label|}}}]</includeonly><noinclude>Author: [[User:Kripakko|Kripakko]]
+
<includeonly>[https://asiointi.maanmittauslaitos.fi/karttapaikka/?lang=en&share=customMarker&n={{#if: {{{N|}}} | {{{N}}} | {{#expr: {{Kripakko TM35FIN N | lat = {{{lat}}} | lon = {{{lon}}} }}round0 }} }}&e={{#if: {{{E|}}} | {{{E}}} | {{#expr: {{Kripakko TM35FIN E | lat = {{{lat}}} | lon = {{{lon}}} }}round0 }} }}&title={{{title|}}}&desc=&zoom={{{zoom|10}}} {{{label|}}}]</includeonly><noinclude>Author: [[User:Kripakko|Kripakko]]
  
 
I made this template to help with including links to the National Land Survey of Finland's topographic map view.
 
I made this template to help with including links to the National Land Survey of Finland's topographic map view.

Revision as of 21:44, 1 June 2022

Author: Kripakko

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

Coordinates can be specified in the ETRS-TM35FIN coordinate system (ETRS-TM35 extended in longitudinal direction to cover all of Finland) or as geographical coordinates (latitude and longitude). If both are specified simultaneously, the ETRS-TM35FIN coordinates take preference.

You can use this in Finland if you want to. Outside of Finland it is all but useless, so do not even bother to try.

Usage:

{{MapSiteLink
| N = ETRS-TM35FIN north coordinate
| E = ETRS-TM35FIN east coordinate
| lat = geographical latitude – ignored if N is specified
| lon = geographical longitude – ignored if E is specified
| 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
(the lowest zoom level where the most detailed map is shown)
| label = the label for the link on the wikipage – optional
}}