Modul:Location map/data/Finlandia

Ti Wikipédia Sunda, énsiklopédi bébas
Loncat ke navigasi Loncat ke pencarian


Location map of Finlandia
name Finlandia
x 100*(0.5 + 1 / (1020/1643) / 10.75*(91.711356535015-($1))*sin(0.015816248061521 *($2-25.5)))
y 100/10.75 * (-21.461356535015 + (91.711356535015-($1))*cos(0.015816248061521 *($2-25.5)))
image Finland adm location map.svg
Finland adm location map.svg
Map of Finland

Modul:Location map/data/Finlandia is a location map definition used to overlay markers and labels on an equirectangular projection map of Finlandia. The markers are placed by latitude and longitude coordinates on the default map or a similar map image.

Usage

These definitions are used by the following templates when invoked with parameter "Finlandia":

Map definition

  • name = Finlandia
    Name used in the default map caption
  • x = 100*(0.5 + 1 / (1020/1643) / 10.75*(91.711356535015-($1))*sin(0.015816248061521 *($2-25.5)))
    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
  • y = 100/10.75 * (-21.461356535015 + (91.711356535015-($1))*cos(0.015816248061521 *($2-25.5)))
    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


Examples using location map templates

Location map, using default map (image)

Helsinki is located in Finlandia
Helsinki
Helsinki
Helsinki (Finlandia)
{{Location map | Finlandia
| width   = 180
| lat_deg = 60.171
| lon_deg = 24.938
| label   = Helsinki
}}

Location map many, using relief map (image1)

Location map/data/Finlandia is located in Finlandia
Helsinki
Helsinki
Ivalo
Ivalo
Two locations in Finland
{{Location map many | Finlandia
| relief   = yes
| width    = 180
| caption  = Two locations in Finland
| lat1_deg = 60.17
| lon1_deg = 24.94
| label1   = Helsinki
| lat2_deg = 68.65
| lon2_deg = 27.55
| label2   = Ivalo
}}

Location map+, using AlternativeMap

Location map/data/Finlandia is located in Citakan:Location map Finlandia<div style="position: absolute; z-index: 2; top: Salah éksprési: Tanda baca "[" teu dipikawanoh.%; left: Salah éksprési: Tanda baca "[" teu dipikawanoh.%; height: 0; width: 0; margin: 0; padding: 0;"><div style="position: relative; text-align: center; left: -Salah éksprési: Tanda baca "[" teu dipikawanoh.px; top: -Salah éksprési: Tanda baca "[" teu dipikawanoh.px; width: Citakan:Location map Finlandiapx; font-size: Citakan:Location map Finlandiapx; line-height: 0; z-index:100;" title="">[[File:Citakan:Location map Finlandia|Citakan:Location map FinlandiaxCitakan:Location map Finlandiapx|Helsinki|link=|alt=]]
<div style="font-size: 90%; line-height: 110%; z-index:90; position: relative; top: -1.5em; width: 6em; Salah éksprési: Tanda baca "[" teu dipikawanoh.">Helsinki
<div style="position: absolute; z-index: 2; top: Salah éksprési: Tanda baca "[" teu dipikawanoh.%; left: Salah éksprési: Tanda baca "[" teu dipikawanoh.%; height: 0; width: 0; margin: 0; padding: 0;"><div style="position: relative; text-align: center; left: -Salah éksprési: Tanda baca "[" teu dipikawanoh.px; top: -Salah éksprési: Tanda baca "[" teu dipikawanoh.px; width: Citakan:Location map Finlandiapx; font-size: Citakan:Location map Finlandiapx; line-height: 0; z-index:100;" title="">[[File:Citakan:Location map Finlandia|Citakan:Location map FinlandiaxCitakan:Location map Finlandiapx|Ivalo|link=|alt=]]

<div style="font-size: 90%; line-height: 110%; z-index:90; position: relative; top: -1.5em; width: 6em; Salah éksprési: Tanda baca "[" teu dipikawanoh.">Ivalo

Two locations in Finland
{{Location map+ | Finlandia
| AlternativeMap = Finland physical map.svg
| width   = 180
| caption = Two locations in Finland
| places  =
  {{Location map~ | Finlandia
  | lat_deg = 60.17
  | lon_deg = 24.94
  | label   = Helsinki
  }}
  {{Location map~ | Finlandia
  | lat_deg = 68.65
  | lon_deg = 27.55
  | label   = Ivalo
  }}
}}

See also

Location map templates
Infobox templates incorporating (passing values to) the Location map template

return {
	name = 'Finlandia',
	y = '100/10.75 * (-21.461356535015 + (91.711356535015-($1))*cos(0.015816248061521 *($2-25.5)))',
	x = '100*(0.5 + 1 / (1020/1643) / 10.75*(91.711356535015-($1))*sin(0.015816248061521 *($2-25.5)))',
	image = 'Finland adm location map.svg',
	defaultscale = 0.5
}