|
|
Zeile 1: |
Zeile 1: |
− | <noinclude>
| |
− | __NOTOC__
| |
− | <center>
| |
− | <div align="center" style="border:solid 1px #888; text-align:center; width:30em; margin:20px;">
| |
− | [[Vorlage:Positionskarte/Links|Links]] • [[Vorlage:Positionskarte/Test|Test]]
| |
− | </div>
| |
− | </center>
| |
− |
| |
− | ----
| |
− |
| |
− | <div style="float:right; border:solid 2px #888; margin:5px; padding:5px">
| |
− | {{Positionskarte| DE | {{Deg2Dez|53|33|0|N}} | {{Deg2Dez|10|0|0|E}} | Hamburg | 200}}
| |
− | <br clear="both">
| |
− | '''Hamburg'''
| |
− | </div>
| |
− | <div style="float:right; border:solid 2px #888; margin:5px; padding:5px">
| |
− | {{Positionskarte|FR|48.86|2.33|Paris|200}}
| |
− | <br clear="both">
| |
− | '''Paris'''
| |
− | </div>
| |
− |
| |
− |
| |
− | ; Funktion: Die Vorlage '''Positionskarte''' erzeugt eine Landkarte mit einem roten Punkt, der die Position eines Ortes in dieser Karte markiert.
| |
− |
| |
− | ; Verwendung: <tt><nowiki> {{Positionskarte| <Ländercode> | <geogr.Breite> | <geogr.Länge> | <Ortsname> | <Breite>}} </nowiki></tt>
| |
− |
| |
− | ; Parameter:
| |
− | :* <tt>Ländercode</tt> → Legt die verwendete Karte fest. Mögliche Codes siehe Tabelle weiter unten.
| |
− | :* <tt>geogr.Breite</tt> → die geographische Breite des zu markierenden Ortes...
| |
− | :* <tt>geogr.Länge</tt> → die geographische Länge des zu markierenden Ortes... <br> ... in Dezimalschreibweise, d.h. z.B. "45.5", nicht "45 30 00". Für südliche und westliche Koordinaten sind negative Zahlen zu verwenden, also "-73.6", nicht "73.6W". Sollen die Koordinaten in der üblichen Grad/Minuten/Sekunden-Schreibweise angegeben werden kann die Vorlage [[Vorlage:Deg2Dez| Deg2Dez]] verwendet werden (siehe dort oder Beispiel unten).
| |
− | :* <tt>Ortsname</tt> → der Name des Ortes, er erscheint, wenn man sich mit der Maus über dem roten Punkt befindet. In einer späteren Version evtl. auch unter dem roten Punkt.
| |
− | :* <tt>Breite</tt> → Breite der Karte in px, aber ''ohne'' "px"! Optional, default ist 300px.
| |
− |
| |
− | ; Beispiele: <tt><nowiki>{{Positionskarte| FR | 48.86 | 2.33 | Paris | 200}}</nowiki></tt>
| |
− | :<tt><nowiki>{{Positionskarte| DE | {{Deg2Dez|53|33|0|N}} | {{Deg2Dez|10|0|0|E}} | Hamburg | 200}}</nowiki></tt>
| |
− |
| |
− |
| |
− | == gültige Ländercodes ==
| |
− | === Europa ===
| |
− | {| {{Prettytable}}
| |
− | ! style="background:#CCCCFF;" | Code
| |
− | ! style="background:#CCCCFF;" | Land
| |
− | ! style="background:#CCCCFF;" | Karte
| |
− | ! style="background:#8888BB;" |
| |
− | ! style="background:#CCCCFF;" | Code
| |
− | ! style="background:#CCCCFF;" | Land
| |
− | ! style="background:#CCCCFF;" | Karte
| |
− | |-
| |
− | | '''DE<br>LU'''<sup>*</sup> || Deutschland <br> Luxemburg || [[Bild:Germany map modern.png|50px]] ||
| |
− | || '''FR<br>BE'''<sup>*</sup> || Frankreich <br> Belgien || [[Bild:France map modern.png|50px]]
| |
− | |-
| |
− | | '''AT''' || Österreich || [[Bild:Austria map modern.png|50px]] ||
| |
− | || '''IT''' || Italien || [[Bild:Italy map modern.png|50px]]
| |
− | |-
| |
− | | '''ES<br>PT'''<sup>*</sup> || Spanien <br> Portugal || [[Bild:Spain map modern.png|50px]] ||
| |
− | || '''GR<br>AL'''<sup>*</sup>|| Griechenland <br> Albanien || [[Bild:Greece map modern.png|50px]]
| |
− | |-
| |
− | | '''CH''' || Schweiz || [[Bild:Switzerland map modern.png|50px]] ||
| |
− | || '''PL''' || Polen || [[Bild:Poland map modern with voivodeships.png|50px]]
| |
− | |-
| |
− | | '''BA''' || Bosnien und <br> Herzegowina || [[Bild:Bosnia-Herzegovina map modern.png|50px]] ||
| |
− | || '''HR<br>SI'''<sup>*</sup> || Kroatien <br> Slowenien ||[[Image:Croatia map modern.png|50px]]
| |
− | |-
| |
− | | '''TR''' || Türkei || [[Image:Turkey Locator Map.png|50px]] ||
| |
− | || '''NL''' || Benelux || ||
| |
− | |-
| |
− | | '''MK'''<sup>*</sup>|| Mazedonien f.J.R.|| [[Bild:Greece map modern.png|50px]]||
| |
− | || '''FI''' || Finnland || [[Bild:Finland locator map.png|50px]]
| |
− | |-
| |
− | |}
| |
− | <small><sup>*</sup> evtl. nicht ganz politsch korrekt, kann für dieses Land auch die Karte seines größeren Nachbarn eingetragen werden. Bitte trotzdem den richtigen Ländercode verwenden, damit das einfach geändert werden kann, sobald neue Karten vorhanden sind.
| |
− | </small>
| |
− |
| |
− | === Amerika ===
| |
− | {| {{Prettytable}}
| |
− | ! style="background:#CCCCFF;" | Code
| |
− | ! style="background:#CCCCFF;" | Land
| |
− | ! style="background:#CCCCFF;" | Karte
| |
− | ! style="background:#8888BB;" |
| |
− | ! style="background:#CCCCFF;" | Code
| |
− | ! style="background:#CCCCFF;" | Land
| |
− | ! style="background:#CCCCFF;" | Karte
| |
− | |-
| |
− | | '''US''' || USA || [[Bild:Continental U.S.PNG|50px]] ||
| |
− | || '''BZ''' || Belize || [[Bild:Map of Belize Demis.png|35px]]
| |
− | |}
| |
− |
| |
− |
| |
− | === Afrika ===
| |
− | {| {{Prettytable}}
| |
− | ! style="background:#CCCCFF;" | Code
| |
− | ! style="background:#CCCCFF;" | Land
| |
− | ! style="background:#CCCCFF;" | Karte
| |
− | ! style="background:#8888BB;" |
| |
− | ! style="background:#CCCCFF;" | Code
| |
− | ! style="background:#CCCCFF;" | Land
| |
− | ! style="background:#CCCCFF;" | Karte
| |
− | |-
| |
− | | '''NA''' || [[Namibia]] || [[Image:Namibia Locator.png|50px]] ||
| |
− | || || ||
| |
− | |}
| |
− |
| |
− | === Asien ===
| |
− | {| {{Prettytable}}
| |
− | ! style="background:#CCCCFF;" | Code
| |
− | ! style="background:#CCCCFF;" | Land
| |
− | ! style="background:#CCCCFF;" | Karte
| |
− | ! style="background:#8888BB;" |
| |
− | ! style="background:#CCCCFF;" | Code
| |
− | ! style="background:#CCCCFF;" | Land
| |
− | ! style="background:#CCCCFF;" | Karte
| |
− | |-
| |
− | | '''IN''' || [[Indien]]<sup>*</sup> || [[Image:India-locator-map-blank.png|50px]] ||
| |
− | || '''IN_Goa''' || Goa || [[Image:Goa locator map.png|50px]]
| |
− | |-
| |
− | | '''TH''' || [[Vorlage:Positionskarte/Thailand|Thailand]]<sup>*</sup> || [[Image:BlankMap Thailand.png|50px]] ||
| |
− | || '''TH_South''' || Thailand-Süd || [[Bild:Thailand South locator map.png|50px]]
| |
− | |-
| |
− |
| |
− | | '''TH_Central''' || Thailand-Zentral || [[Image:Thailand Central locator map.png|50px]] ||
| |
− | || '''TH_North ''' || Thailand-Nord || [[Image:Thailand North locator map.png|50px]]
| |
− | |-
| |
− |
| |
− | | '''TH_East''' || Thailand-Ost || [[Image:BlankMap Thailand.png|50px]] ||
| |
− | || '''TH_Isaan''' || Thailand-Nordost || [[Image:BlankMap Thailand.png|50px]]
| |
− | |-
| |
− |
| |
− | | '''JA''' || [[Japan]] || [[Image:Japan equirectangular projection.png|50px]] ||
| |
− | || '''KH''' || [[Kambodscha]] || [[Image:Cambodia locator map.png|50px]]
| |
− | |}
| |
− | <sub>* Zu Indien und Thailand gibt es Regionalkarten, mit denen eine bessere Darstellung möglich ist. Weiteres demnächst. </sup>
| |
− |
| |
− |
| |
− |
| |
− | Die Karten werden laufend ergänzt.
| |
− |
| |
− | {{Related|Vorlage:Positionskarte_allg}}
| |
− | {{Related|Vorlage:Deg2Dez}}
| |
− |
| |
− | [[en:Template:PositionMap]]
| |
− | [[it:Template:PositionMap]]
| |
− |
| |
− | </noinclude>
| |
| <includeonly> | | <includeonly> |
| {{#switch: {{{1}}} | | {{#switch: {{{1}}} |
Zeile 153: |
Zeile 10: |
| |factlat=-0.1280624652 | | |factlat=-0.1280624652 |
| |factlong=0.07742139676 }} | | |factlong=0.07742139676 }} |
− | | LU <!-- (noch) keine eigene Karte ==> die von Deutschland missbrauchen -->
| |
| | DE = {{Positionskarte_allg|map=Germany map modern.png | | | DE = {{Positionskarte_allg|map=Germany map modern.png |
| |mapsize={{{5|300}}} | | |mapsize={{{5|300}}} |
Zeile 163: |
Zeile 19: |
| |factlat=-0.11803462899 | | |factlat=-0.11803462899 |
| |factlong=0.08866101825 }} | | |factlong=0.08866101825 }} |
− | | BE <!-- (noch) keine eigene Karte ==> die von Frankreich missbrauchen -->
| |
− | | FR = {{Positionskarte_allg|map=France map modern.png
| |
− | |mapsize={{{5|300}}}
| |
− | |lat={{{2}}}
| |
− | |long={{{3}}}
| |
− | |caption={{{4}}}
| |
− | |top=51.85949
| |
− | |left=-5.35226
| |
− | |factlat=-0.09646503865
| |
− | |factlong=0.07223240458 }}
| |
− | | AT = {{Positionskarte_allg|map=Austria map modern.png
| |
− | |mapsize={{{5|300}}}
| |
− | |lat={{{2}}}
| |
− | |long={{{3}}}
| |
− | |caption={{{4}}}
| |
− | |top=50.75525
| |
− | |left=9.334468
| |
− | |factlat= {{#expr: -0.167016566 /300*283 }}
| |
− | |factlong=0.118187216 }}
| |
− | | IT = {{Positionskarte_allg|map=Italy map modern.png
| |
− | |mapsize={{{5|300}}}
| |
− | |lat={{{2}}}
| |
− | |long={{{3}}}
| |
− | |caption={{{4}}}
| |
− | |top=47.26047
| |
− | |left=5.824271
| |
− | |factlat=-0.092282336
| |
− | |factlong=0.069398714 }}
| |
− | | PT <!-- (noch) keine eigene Karte ==> die von Spanien missbrauchen -->
| |
− | | ES = {{Positionskarte_allg|map=Spain map modern.png
| |
− | |mapsize={{{5|300}}}
| |
− | |lat={{{2}}}
| |
− | |long={{{3}}}
| |
− | |caption={{{4}}}
| |
− | |top=45.31831
| |
− | |left=-9.93478
| |
− | |factlat=-0.092979577
| |
− | |factlong=0.069433075 }}
| |
− | | MK <!-- (noch) keine eigene Karte ==> die von Griechenland missbrauchen -->
| |
− | | AL <!-- (noch) keine eigene Karte ==> die von Griechenland missbrauchen -->
| |
− | | GR = {{Positionskarte_allg|map=Greece map modern.png
| |
− | |mapsize={{{5|300}}}
| |
− | |lat={{{2}}}
| |
− | |long={{{3}}}
| |
− | |caption={{{4}}}
| |
− | |top=42.83846
| |
− | |left=18.84432
| |
− | |factlat=-0.116991220
| |
− | |factlong=0.086671486 }}
| |
− | | CH = {{Positionskarte_allg|map=Switzerland map modern.png
| |
− | |mapsize={{{5|300}}}
| |
− | |lat={{{2}}}
| |
− | |long={{{3}}}
| |
− | |caption={{{4}}}
| |
− | |top=48.76469
| |
− | |left=5.832141
| |
− | |factlat=-0.269735174
| |
− | |factlong=0.202310835 }}
| |
| | PL = {{Positionskarte_allg|map=Poland map modern with voivodeships.png | | | PL = {{Positionskarte_allg|map=Poland map modern with voivodeships.png |
| |mapsize={{{5|300}}} | | |mapsize={{{5|300}}} |
Zeile 230: |
Zeile 28: |
| |factlat=-0.116136465 | | |factlat=-0.116136465 |
| |factlong=0.086553109 }} | | |factlong=0.086553109 }} |
− | | BA = {{Positionskarte_allg|map=Bosnia-Herzegovina map modern.png
| |
− | |mapsize={{{5|300}}}
| |
− | |lat={{{2}}}
| |
− | |long={{{3}}}
| |
− | |caption={{{4}}}
| |
− | |top=45.515
| |
− | |left=15.517
| |
− | |factlat=-0.330906684
| |
− | |factlong=0.238720458 }}
| |
− | | SI <!-- (noch) keine eigene Karte ==> die von Kroatien missbrauchen -->
| |
− | | HR = {{Positionskarte_allg|map=Croatia map modern.png
| |
− | |mapsize={{{5|300}}}
| |
− | |lat={{{2}}}
| |
− | |long={{{3}}}
| |
− | |caption={{{4}}}
| |
− | |top=47.25916
| |
− | |left=13.20747
| |
− | |factlat=-0.192970472
| |
− | |factlong=0.154201291 }}
| |
− | | TR = {{Positionskarte_allg|map=Turkey Locator Map.png
| |
− | |mapsize={{{5|300}}}
| |
− | |lat={{{2}}}
| |
− | |long={{{3}}}
| |
− | |caption={{{4}}}
| |
− | |top=43
| |
− | |left=25
| |
− | |factlat={{#expr: -0.125 /300*120 }}
| |
− | |factlong=0.05 }}
| |
− | | FI = {{Positionskarte_allg|map=Finland locator map.png
| |
− | |mapsize={{{5|300}}}
| |
− | |lat={{{2}}}
| |
− | |long={{{3}}}
| |
− | |caption={{{4}}}
| |
− | |top=70.25
| |
− | |left=16.75
| |
− | |factlat={{#expr: -0.093896714 /300*386 }}
| |
− | |factlong=0.054704595 }}
| |
− |
| |
− | <!-- Amerika -->
| |
− | | US = {{Positionskarte_allg|map=Continental U.S.PNG
| |
− | |mapsize={{{5|300}}}
| |
− | |lat={{{2}}}
| |
− | |long={{{3}}}
| |
− | |caption={{{4}}}
| |
− | |top=50
| |
− | |left=-125
| |
− | |factlat=-0.0212
| |
− | |factlong=0.016666667 }}
| |
− | | US_new = {{Positionskarte_USA|map=Blank US states map.PNG
| |
− | |mapsize={{{5|300}}}
| |
− | |lat={{{2}}}
| |
− | |long={{{3}}}
| |
− | |caption={{{4}}}
| |
− | |top=50
| |
− | |left=-125
| |
− | |factlat=-0.0212
| |
− | |factlong=0.016666667 }}
| |
− | | BZ = {{Positionskarte_allg|map=Map of Belize Demis.png
| |
− | |mapsize={{{5|300}}}
| |
− | |lat={{{2}}}
| |
− | |long={{{3}}}
| |
− | |caption={{{4}}}
| |
− | |top=18.9
| |
− | |left=-89.5
| |
− | |factlat={{#expr: -0.294117647 /300*445 }} <!-- die Karte hat eine andere Höhe als Breite, dies muss mit einberechnet werden! -->
| |
− | |factlong=0.416666667 }}
| |
− |
| |
− | <!-- Afrika -->
| |
− | | NA = {{Positionskarte_allg|map=Namibia Locator.png
| |
− | |mapsize={{{5|300}}}
| |
− | |lat={{{2}}}
| |
− | |long={{{3}}}
| |
− | |caption={{{4}}}
| |
− | |top=-16
| |
− | |left=10
| |
− | |factlat={{#expr: -0.084 /300*240 }} <!-- die Karte hat eine andere Höhe als Breite, dies muss mit einberechnet werden! -->
| |
− | |factlong=0.059 }}
| |
− |
| |
− | <!-- Asien -->
| |
− | | JA = {{Positionskarte_allg|map=Japan equirectangular projection.png
| |
− | |mapsize={{{5|300}}}
| |
− | |lat={{{2}}}
| |
− | |long={{{3}}}
| |
− | |caption={{{4}}}
| |
− | |top=45.82
| |
− | |left=128.24
| |
− | |factlat={{#expr: -0.063532402 /300*226 }} <!-- die Karte hat eine andere Höhe als Breite, dies muss mit einberechnet werden! -->
| |
− | |factlong=0.047596383 }}
| |
− |
| |
− | | IN = {{Positionskarte_allg|map=India-locator-map-blank.png
| |
− | |mapsize={{{5|300}}}
| |
− | |lat={{{2}}}
| |
− | |long={{{3}}}
| |
− | |caption={{{4}}}
| |
− | |top=38.4
| |
− | |left=67.8
| |
− | |factlat={{#expr: -0.031446541 /300*350 }} <!-- die Karte hat eine andere Höhe als Breite, dies muss mit einberechnet werden! -->
| |
− | |factlong=0.034129693 }}
| |
− | | IN_Goa = {{Positionskarte_allg|map=Goa locator map.png
| |
− | |mapsize={{{5|300}}}
| |
− | |insetLL=India Goa location map.png
| |
− | |insetsize=100
| |
− | |lat={{{2}}}
| |
− | |long={{{3}}}
| |
− | |caption={{{4}}}
| |
− | |top=15.811
| |
− | |left=73.567
| |
− | |factlat={{#expr: -1.052631579 /300*362 }} <!-- die Karte hat eine andere Höhe als Breite, dies muss mit einberechnet werden! -->
| |
− | |factlong=1.388888889 }}
| |
− |
| |
− | | TH = {{Positionskarte_allg|map=BlankMap Thailand.png
| |
− | |mapsize={{{5|300}}}
| |
− | |lat={{{2}}}
| |
− | |long={{{3}}}
| |
− | |caption={{{4}}}
| |
− | |top=20.5
| |
− | |left=97
| |
− | |factlat={{#expr: -0.0673/300*504 }}
| |
− | |factlong=0.11 }}
| |
− | | TH_South = {{Positionskarte_allg|map=Thailand South locator map.png
| |
− | |mapsize={{{5|300}}}
| |
− | |insetUR=Thailand South location map.PNG
| |
− | |insetsize=80
| |
− | |lat={{{2}}}
| |
− | |long={{{3}}}
| |
− | |caption={{{4}}}
| |
− | |top=11.2
| |
− | |left=97.14
| |
− | |factlat=-0.178
| |
− | |factlong=0.178 }}
| |
− | | TH_Central = {{Positionskarte_allg|map=Thailand Central locator map.png
| |
− | |mapsize={{{5|300}}}
| |
− | |insetUR=Thailand Central location map.png
| |
− | |insetsize=80
| |
− | |lat={{{2}}}
| |
− | |long={{{3}}}
| |
− | |caption={{{4}}}
| |
− | |top=15.8
| |
− | |left=97.85
| |
− | |factlat=-0.205
| |
− | |factlong=0.205 }}
| |
− | | TH_North = {{Positionskarte_allg|map=Thailand North locator map.png
| |
− | |mapsize={{{5|300}}}
| |
− | |insetUR=Thailand North location map.png
| |
− | |insetsize=80
| |
− | |lat={{{2}}}
| |
− | |long={{{3}}}
| |
− | |caption={{{4}}}
| |
− | |top=20.5
| |
− | |left=97.2
| |
− | |factlat=-0.18
| |
− | |factlong=0.18 }}
| |
− | | TH_East = {{Positionskarte_allg|map=BlankMap Thailand.png <!-- noch nicht vorhanden! -->
| |
− | |mapsize={{{5|300}}}
| |
− | |lat={{{2}}}
| |
− | |long={{{3}}}
| |
− | |caption={{{4}}}
| |
− | |top=20.5
| |
− | |left=97
| |
− | |factlat={{#expr: -0.0673/300*504 }}
| |
− | |factlong=0.11 }}
| |
− | | TH_Isaan = {{Positionskarte_allg|map=BlankMap Thailand.png <!-- noch nicht vorhanden! -->
| |
− | |mapsize={{{5|300}}}
| |
− | |lat={{{2}}}
| |
− | |long={{{3}}}
| |
− | |caption={{{4}}}
| |
− | |top=20.5
| |
− | |left=97
| |
− | |factlat={{#expr: -0.0673/300*504 }}
| |
− | |factlong=0.11 }}
| |
− |
| |
− | | KH = {{Positionskarte_allg|map=Cambodia locator map.png
| |
− | |mapsize={{{5|300}}}
| |
− | |lat={{{2}}}
| |
− | |long={{{3}}}
| |
− | |caption={{{4}}}
| |
− | |top=14.68
| |
− | |left=101.9
| |
− | |factlat=-0.169
| |
− | |factlong=0.165 }}
| |
− |
| |
− |
| |
− | <!-- Aprilscherz -->
| |
− | | SOL = {{Positionskarte_allg|map=800px-Solar sys.jpg
| |
− | |mapsize={{{5|300}}}
| |
− | |lat={{{2}}}
| |
− | |long={{{3}}}
| |
− | |caption={{{4}}}
| |
− | |top=0
| |
− | |left=0
| |
− | |factlat={{#expr: 1/157 }}
| |
− | |factlong={{#expr: 1/250 }} }}
| |
| | #default = <font color="red"> [[Vorlage:Positionskarte]]: unbekannter Ländercode ("{{{1}}}")! </font> | | | #default = <font color="red"> [[Vorlage:Positionskarte]]: unbekannter Ländercode ("{{{1}}}")! </font> |
| }} | | }} |