Template:PositionMap

Da Wikitravel.

Lage von Hamburg
Hamburg

Hamburg

Lage von Paris
Paris

Paris

Funzione
il template PositonMap genera una mappa con il pallino rosso che indica la posizione della località scelta.
Uso
{{PositionMap| <country code> | <latitude> | <longitude> | <place name> | <width>}}
Parametri
  • country code → definisce quale mappa usare. Vedi la tabella a fondo pagina.
  • latitude → latitudine geografica della località scelta.
  • longitude → longitudine geografica della località scelta.
    ... in decimal notation, e.g. "45.5" not "45 30 00". For southern and western coordinates use negativ numbers, "-73.6", not "73.6W". If you want to use the usual degree/minutes/seconds notation, use the Template:Deg2Dez (see example).
  • place name → nome della località che apparirà quando il mouse punterà sul pallino rosso. In a later version of this template it might appear under the red dot, too.
  • width → larghezza della mappa in px, ma non bisogna aggiuntere "px"! La misura di default è di 300px.
Esempi
{{PositionMap| FR | 48.86 | 2.33 | Parigi | 200}}
{{PositionMap| DE | {{Deg2Dez|53|33|0|N}} | {{Deg2Dez|10|0|0|E}} | Hamburg | 200}}

[Modifica sezione] Codici delle nazioni

[Modifica sezione] Europa

Code Country Map Code Country Map
DE Germania FR
BE
*
France
Belgio
AT Austria IT Italia
ES
PT
*
Spain
Portogallo
GR Grecia
CH Svizzera PL Polonia
BA Bosnia e
Erzegovina
HR Croazia
SI Slovenia TR Turchia

* maybe not quite political correct, for this country the map of its bigger neighbor might be used. Please use the correct country code, so we can easily add a new map.

[Modifica sezione] America

Code Country Map Code Country Map
US USA BZ Belize

[Modifica sezione] Africa

Code Country Map Code Country Map
NA Namibia

[Modifica sezione] Asia

Code Country Map Code Country Map
IN India
KH Cambogia

...e altre in arrivo.

If you want to add another map add an entry to the switch-statement below (you can only see it if you edit this page). For an explaination of the parameters see Template:PositionMap_general.