Vorlage:Quickbar coord

Aus Wikivoyage

Wechseln zu: Navigation, Suche

de:

  • Funktion: Die Vorlage fügt in eine beliebige Tabelle eine Tabellenzeile mit zwei Zellen für eine geografische Koordinate ein. Die erste Zelle enthält die Bezeichnung eines Kurzdatums im Fettdruck und die zweite Zelle die Breiten- und Längenangabe. Üblicherweise wird diese Vorlage in der Vorlage Quickbar Ort verwendet.
  • Verwendung: {{Quickbar coord|heading=Bezeichnung|lat=Breite|long=Länge}}
  • Erforderliche Parameter:
    • |heading= Bezeichnung für die Koordinate
    • |lat= Angabe der geografischen Breite (Latitude) von -90° (Süd) bis 90° (Nord) in Dezimaldarstellung
    • |long= Angabe der geografischen Länge (Longitude) von -180° (West) bis 180° (Ost) in Dezimaldarstellung
  • Beispiel:
{| {{Quickbar table|pos=normal|topBorder=yes}}
{{Quickbar coord|heading=Kairo|lat=30° 3' 0" N|long=31.2500}}
{{Quickbar coord|heading=San Francisco|lat=37.7600|long=-122.4100}}
{{Quickbar coord|heading=Kapstadt|lat=-33.9246|long=18.4393}}
{{Quickbar coord|heading=Rio de Janeiro|lat=-22.9083|long=-43.1964}}
|}

bewirkt:

Kairo: 30° 3' 0" N 31° 15' 0" O
San Francisco: 37° 45' 36" N 122° 24' 36" W
Kapstadt: 33° 55' 29" S 18° 26' 21" O
Rio de Janeiro: 22° 54' 30" S 43° 11' 47" W

en:

  • Function: This template inserts a table row for a geographic coordinate with two cells in a any table. The first cell contains the name of a quick bar item in bold printing, the second one its geographic position. Usually this template is used in the Quickbar Ort template.
  • Usage: {{Quickbar coord|heading=Name|lat=latitude|long=longitude}}
  • Required Parameters:
    • |heading= Name of the quick bar item
    • |lat= Value of the latitude from -90° (south) through 90° (north) as decimal degree
    • |long= Value of the longitude from -180° (west) through 180° (east) as decimal degree
  • Example:
{| {{Quickbar table|pos=normal|topBorder=yes}}
{{Quickbar coord|heading=Cairo|lat=30.0500|long=31.2500}}
{{Quickbar coord|heading=San Francisco|lat=37.7600|long=-122.4100}}
{{Quickbar coord|heading=Cape Town|lat=-33.9246|long=18.4393}}
{{Quickbar coord|heading=Rio de Janeiro|lat=-22.9083|long=-43.1964}}
|}

produces:

Cairo: 30° 3' 0" N 31° 15' 0" O
San Francisco: 37° 45' 36" N 122° 24' 36" W
Cape Town: 33° 55' 29" S 18° 26' 21" O
Rio de Janeiro: 22° 54' 30" S 43° 11' 47" W

Verwandte Vorlagen / Related Templates

quickbar, quickbar image, quickbar item, quickbar line, quickbar header
Persönliche Werkzeuge