Malline:Sijaintikartta


Mallineen ohje [näytä] [muokkaa] [päivitä]


Ohje muokkaa

Mallineen avulla saadaan karttapohjaan yksi markkeri, johin voi lisätä klikattavan linkin.

Käyttö muokkaa

{{Location map 
 |''location''
 |label      = ''label text''
 |label_size = map font size, per cent
 |alt        = [[WP:ALT|Alt text]] for image (defaults to generic description)
 |position   = left ''or'' right ''or'' top ''or'' bottom ''or'' none – 
                position of the label relative to the mark, defaults to ''right''
 |background = ''color'', background color for the label, defaults to none 
 |lon_dir=W    longitude: W=west, E=east (default)
 |lat_dir=S    latitude: S=south, N=north (default)
 |lat_deg    = ''latitude'' degrees
 |lat_min    = ''latitude'' minutes
 |lat_sec    = ''latitude'' seconds
 |lon_deg    = ''longitude'' degrees
 |lon_min    = ''longitude'' minutes
 |lon_sec    = ''longitude'' seconds
 |lat        = ''latitude'' (decimal format; enter negative numbers for southern latitude)
 |long       = ''longitude'' (decimal format; enter negative numbers for western longitude)
 |mark       = ''marker image file name'', a red dot by default
 |marksize   = ''marker size'', default=8
 |border     = ''border color'' or ''none''
 |caption    = ''map caption''; for no caption enter "caption="; if the parameter is omitted then the caption will be "Marker text (location map name)"
 |float      = left ''or'' right ''or'' center ''or'' none
 |width      = ''map width'' (omit "px" or will stretch across page)
 |AlternativeMap = Alternative map, must use same border coordinates as the default map
}}

Valmiita karttoja muokkaa

Esimerkkejä muokkaa

Kartta vakiotekstillä (asteet/minuutit) muokkaa

Pag (Croatia)
{{Location map
 |Kroatia | label=Pag
 |alt=Pag is on an island off the Croatian coast.
 |mark=Locator Dot2.gif  <!--Sykkivä täplä-->
 |marksize=20 <!--Täplän koko-->
 |lat_deg=44|lat_min=26
 |lon_deg=15|lon_min=3
 |position=right
 |width=300
 |float=right
}}
Pag is on an island off the Croatian coast, about a third of the way from the north to the south end of the coast.
Pag is on an island off the Croatian coast, about a third of the way from the north to the south end of the coast.
Pag

Kartta vakiotekstillä ja vakiopointterilla (koordinaatit desimaaleina) muokkaa

Pag (Croatia)
{{Location map | Kroatia
 |label=Pag
 |lat= <!--decimal form--> 44.44
 |long=15.05
 |position=right
 |width= <!--smaller--> 200
 |float=right
}}

{{{alt}}}
Pag

Kartta omalla tekstillä ja tekstin taustalla muokkaa

Imotski
{{Location map
 |Kroatia
 |label=Imotski
 |lat=43.44
 |long=17.21
 |position=right
 |width=300
 |float=right
 |background=#FFFFDD
 |caption=Imotski on the map of Croatia
 }}

{{{alt}}}
Imotsky
Imotski on the map of Croatia

Markkeri/teksti kartan ulkopuolella muokkaa

Pag (Croatia)
{{Location map | Kroatia
 |label=Pag
 |lat=44.44
 |long=<!--outside map-->11.05
 |position=right
 |width=200
 |float=right
}}

{{{alt}}}
Pag

Teksti ja markkeri isolla muokkaa

Pag (Croatia)
{{Location map
 |Kroatia
 |label=Pag
 |label_size=200
 |lat=44.44
 |long=15.05
 |marksize=14
 |position=right
 |width=300
 |float=right
 |background=#FFFFDD
 |caption=Pag Island on the map of Croatia
 }}

{{{alt}}}
Pag
Pag Island on the map of Croatia

Ei kuvatekstiä muokkaa

Katla-tulivuori (Islanti)
{{{Location map
 |Islanti 
 |label=Katla
 |label_size=150 
 |alt=Katla on Mýrdalsjökull-jäätikön alla sijaitseva tulivuori Islannissa
 |mark=Mountain sign.svg  <!--Vuorimarkkeri-->
 |marksize=20
 |lat_deg=63|lat_min=38
 |lon_deg=19|lon_min=3|lon_dir=W <!-- W = länteen Greenwichistä-->
 |caption=   <!--Ei kuvatekstiä -->
 |position=right
 |width=300
 |float=right
}}


Katla on Mýrdalsjökull-jäätikön alla sijaitseva tulivuori Islannissa
Katla on Mýrdalsjökull-jäätikön alla sijaitseva tulivuori Islannissa
Katla

Läntinen pallonpuolisko muokkaa

Lockerbie (Scotland)
{{Location map | Yhdistynyt kuningaskunta
 |label=Lockerbie  | marksize=9
 |mark=Blue_pog.svg
 |lat_dir=N | lat_deg=55 | lat_min=07 
            | lat_sec=16
 |lon_dir=W | lon_deg=03 | lon_min=21
            | lon_sec=19
 |position=right
 |width=170
 |float=right
 |caption=Lockerbie in Scotland
}}

{{{alt}}}
Lockerbie
Lockerbie in Scotland

Maa ylittää 180° meridiaanin muokkaa

Uelen (Russia)
{{Location map
 |Venäjä
 |label=Uelen  | marksize=7
 |mark=Locator_Dot.png
 |lat_deg=66|lat_min=09
 |lon_deg=169|lon_min=48|lon_dir=W
 |position=left
 |width=500
 |float=left
 |background=yellow
}}

{{{alt}}}
Uelen

Vaihtoehtoinen karttapohja ("Alternative Map") muokkaa

Biratnagarin lentokenttä on Nepalin koilliskulmassa
Biratnagarin lentokenttä on Nepalin koilliskulmassa
Biratnagar
Biratnagarin lentokenttä Nepalissa
{{Location map | Nepal
| lat_deg = 26 | lat_min = 28 | lat_sec = 53 | lat_dir = N
| lon_deg = 87 | lon_min = 15 | lon_sec = 50 | lon_dir = E
| label = Biratnagar
| position = top
| mark = Airplane silhouette.svg
| marksize = 10
| caption = Biratnagarin lentokenttä Nepalissa
| alt = Biratnagarin lentokenttä on Nepalin koilliskulmassa
}}


Biratnagarin lentokenttä on Nepalin koilliskulmassa
Biratnagarin lentokenttä on Nepalin koilliskulmassa
Biratnagar
Biratnagarin lentokenttä Nepalissa
{{Location map | Nepal
| lat_deg = 26 | lat_min = 28 | lat_sec = 53 | lat_dir = N
| lon_deg = 87 | lon_min = 15 | lon_sec = 50 | lon_dir = E
| label = Biratnagar
| position = top
| mark = Airplane silhouette.svg
| marksize = 10
| caption = Biratnagarin lentokenttä Nepalissa
| alt = Biratnagarin lentokenttä on Nepalin koilliskulmassa
| AlternativeMap = Nepal relief location map.jpg
}}

Pointtereita muokkaa

Commons Category:Map_pointers

Katso myös muokkaa