Revision 164353 of "Template:SimplePositionMap" on itwikivoyage<includeonly>{{PositionMap/{{#switch: {{{1|}}}
| af = af
| AF = af
| au = au
| AU = au
| be = fr
| BE = fr
| bz = bz
| BZ = bz
| de = de
| DE = de
| es = es
| ES = es
| fr = fr
| FR = fr
| gr = gr
| GR = gr
| in = in
| IN = in
| ir = ir
| IR = ir
| it = it
| IT = it
| pt = es
| PT = es
| tr = tr
| TR = tr
| KZ = kz
| kz = kz
| #default = NoMap
}}|x={{{3|}}}|y={{{2|}}}|site={{{4|}}}|caption=yes}}</includeonly>
<noinclude>
<div style="float: right; border: solid 2px #888; margin: 5px; padding: 5px">
{{SimplePositionMap | de | {{Coord DMS to DD|53 33 0 N}} | {{Coord DMS to DD|10 0 0 E}} | Hamburg}}
'''Hamburg'''
</div>
<div style="clear: right; float: right; border: solid 2px #888; margin: 5px; padding: 5px">
{{SimplePositionMap | fr | 48.86 | 2.33 | Paris}}
'''Paris'''
</div>
; Funzione: il template '''SimplePositonMap''' genera una mappa con il pallino rosso che indica la posizione della località scelta.
; Uso: <code><nowiki> {{SimplePositonMap| <country code> | <latitude> | <longitude> | <place name>}} </nowiki></code>
; Parametri:
:* <code>country code</code> → definisce quale mappa usare. Vedi la tabella a fondo pagina.
:* <code>latitude</code> → latitudine geografica della località scelta.
:* <code>longitude</code> → longitudine geografica della località scelta. <br> ... 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:Coord DMS to DD]] (see example).
:* <code>place name</code> → 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.
; Esempi: <code><nowiki>{{PositionMap| FR | 48.86 | 2.33 | Parigi}}</nowiki></code>
:<code><nowiki>{{PositionMap| DE | {{Coord DMS to DD|53 33 0 N}} | {{Coord DMS to DD|10 0 0 E}} | Hamburg}}</nowiki></code>
== Codici delle nazioni ==
=== Europa ===
{| {{Prettytable}}
! Code
! Country
! Map
!
! Code
! Country
! Map
|-
| '''de''' || Germania || [[Image:Germany-States.svg|50px]] ||
|| '''FR<br />BE'''<sup>*</sup> || France <br /> Belgio || [[Image:France map modern.png|50px]]
|-
| '''AT''' || Austria || [[Image:Austria map modern.png|50px]] ||
|| '''IT''' || Italia || [[Image:Italy map modern.png|50px]]
|-
| '''ES<br />PT'''<sup>*</sup> || Spain <br /> Portogallo || [[Image:Spain map modern.png|50px]] ||
|| '''GR''' || Grecia || [[Image:Greece map modern.png|50px]]
|-
| '''CH''' || Svizzera || [[Image:Switzerland map modern.png|50px]] ||
|| '''PL''' || Polonia || [[Image:Poland map modern with voivodeships.png|50px]]
|-
| '''BA''' || Bosnia e <br /> Erzegovina || [[Image:Bosnia-Herzegovina map modern.png|50px]] ||
|| '''HR''' || Croazia || [[Image:Croatia map modern.png|50px]]
|-
| '''SI''' || Slovenia || [[Image:Slovenia_map_modern.png|50px]] ||
|| '''tr''' || Turchia || [[Image:Turkey-pozKarta.png|50px]]
|}
<small><sup>*</sup> 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.
</small>
=== America ===
{| {{Prettytable}}
! Code
! Country
! Map
!
! Code
! Country
! Map
|-
| '''US''' || USA || [[Image:Continental U.S.PNG|50px]] ||
|| '''BZ''' || Belize || [[Image:Map of Belize Demis.png|35px]]
|}
=== Africa ===
{| {{Prettytable}}
! Code
! Country
! Map
!
! Code
! Country
! Map
|-
| '''NA''' || Namibia || [[Image:Nambia-Landsat7.jpg|50px]] ||
|| || ||
|}
=== Asia ===
{| {{Prettytable}}
! Code
! Country
! Map
!
! Code
! Country
! Map
|-
| '''IN''' || India || [[Image:India-locator-map-blank.png|50px]] ||
|-
| '''AF'''|| Afghanistan || [[Image:Afghanistan Locator.png|50px]] ||
|-
| '''KH''' || Cambogia || [[Image:Cambodia locator map.png|50px]] ||
|-
| '''KZ''' || Kazakistan || [[Image:Kazakhstan_Locator.png|50px]] ||
|| || ||
|}
=== Oceania ===
=== Africa ===
{| {{Prettytable}}
! Code
! Country
! Map
!
! Code
! Country
! Map
|-
| '''au''' || Australia || [[Image:Australia location map.svg|50px]] ||
|| || ||
|}
...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]].
{{Related|template:PositionMap && PositionMap}}
{{Related|template:Coord DMS to DD && Coord DMS to DD}}
[[de:Vorlage:Lagekarte]]
__NOTOC__ [[Category:Templates:Maps|SimplePositionMap]]</noinclude>All content in the above text box is licensed under the Creative Commons Attribution-ShareAlike license Version 4 and was originally sourced from https://it.wikivoyage.org/w/index.php?oldid=164353.
![]() ![]() This site is not affiliated with or endorsed in any way by the Wikimedia Foundation or any of its affiliates. In fact, we fucking despise them.
|