Vorlage

QuickbarDorf: Unterschied zwischen den Versionen

Aus VolynWiki

K
K
Zeile 1: Zeile 1:
 
<noinclude>
 
<noinclude>
 
{{QuickbarDorf
 
{{QuickbarDorf
|Ort=Dresden
+
|Ort=Rowno
 +
|Alt=(Riwne, Równe, Рівне, Rivne, Ровно)
 
|Bild=[[Bild:Dresden_Frauenkirche.jpg|noframe|300px|Dresdener Frauenkirche]]
 
|Bild=[[Bild:Dresden_Frauenkirche.jpg|noframe|300px|Dresdener Frauenkirche]]
|Positionskarte=DE
+
|Positionskarte=GW
|GeoLat=51.052344
+
|GeoLat=50.621835
|GeoLong=13.728121
+
|GeoLong=26.243935
|Website=http://www.dresden.de
+
|Info4      = bla
|Notruf=112
 
|Polizei=110
 
|Feuerwehr=112
 
|Notarzt=112
 
 
}}
 
}}
  
Zeile 21: Zeile 18:
 
|Alt        = <!-- andere Namen -->
 
|Alt        = <!-- andere Namen -->
 
|Bild      = <!-- [[Bild:|noframe|300px|]] -->
 
|Bild      = <!-- [[Bild:|noframe|300px|]] -->
|Positionskarte=UKR
+
|Positionskarte=GW
 
|Ujesd      =
 
|Ujesd      =
 
|Wolost    =
 
|Wolost    =
Zeile 43: Zeile 40:
 
<includeonly>
 
<includeonly>
 
<div style="float: right; margin: 0 0 1em 1em;">
 
<div style="float: right; margin: 0 0 1em 1em;">
{| cellpadding="2" cellspacing="0" style="border: 1px solid #082567; background-color: #f3f3ff" width="300"
+
{| cellpadding="2" cellspacing="0" style="border: 1px solid #AAA; background-color: #f3f3ff" width="300"
 
|-
 
|-
| colspan="2" style="font-size: larger; text-align: center; border-bottom: 1px solid #082567; background-color: #ddddff" | '''{{{Ort}}}'''{{if|test={{{Alt|}}}|then=<br/>''{{{Alt}}}''|else=}}
+
| colspan="2" style="font-size: larger; text-align: center; border-bottom: 10px solid #AAA; background-color: #DBE0EB" | '''{{{Ort}}}'''{{if|test={{{Alt|}}}|then=<br/><br/>''{{{Alt}}}''|else=}}
 
|-
 
|-
 
{{if|test={{{Positionskarte|}}}|then={{quickbar image|heading=Lage|image={{Positionskarte|{{{Positionskarte}}}|{{{GeoLat}}}|{{{GeoLong}}}|{{{Ort}}} }} }} }}
 
{{if|test={{{Positionskarte|}}}|then={{quickbar image|heading=Lage|image={{Positionskarte|{{{Positionskarte}}}|{{{GeoLat}}}|{{{GeoLong}}}|{{{Ort}}} }} }} }}
 
|-
 
|-
| colspan="2" style="text-align: center; border-top: 1px solid #082567; border-bottom: 1px solid #082567; background-color: #ddddff" | '''Kurzdaten'''
+
| colspan="2" style="text-align: center; border-top: 1px solid #AAA; border-bottom: 1px solid #AAA; background-color: #DBE0EB" | '''Kurzdaten'''
 
{{if|test={{{Ujesd|}}}|then={{quickbar item|heading=Ujesd|value={{{Ujesd|}}}}}|else={{quickbar empty}}}}
 
{{if|test={{{Ujesd|}}}|then={{quickbar item|heading=Ujesd|value={{{Ujesd|}}}}}|else={{quickbar empty}}}}
 
{{if|test={{{Wolost|}}}|then={{quickbar item|heading=Wolost|value={{{Wolost|}}}}}|else={{quickbar empty}}}}
 
{{if|test={{{Wolost|}}}|then={{quickbar item|heading=Wolost|value={{{Wolost|}}}}}|else={{quickbar empty}}}}
 
{{if|test={{{Namen|}}}|then={{quickbar item|heading=andere Namen|value={{{Namen|}}}}}|else={{quickbar empty}}}}
 
{{if|test={{{Namen|}}}|then={{quickbar item|heading=andere Namen|value={{{Namen|}}}}}|else={{quickbar empty}}}}
 
{{if|test={{{GeoLat}}}|{{{GeoLong}}}|then={{quickbar item|heading=Koordinaten|value={{Dez2Deg|{{{GeoLat}}}|{{{GeoLong}}}}}}}||else={{quickbar empty}}}}
 
{{if|test={{{GeoLat}}}|{{{GeoLong}}}|then={{quickbar item|heading=Koordinaten|value={{Dez2Deg|{{{GeoLat}}}|{{{GeoLong}}}}}}}||else={{quickbar empty}}}}
{{if|test={{{Einwohner1|}}}|then={{quickbar item|heading=Einwohner 1888:|value={{{Einwohner1|}}}}}|else={{quickbar empty}}}}
+
{{if|test={{{Einwohner1|}}}|then={{quickbar item|heading=Einwohner 1888|value={{{Einwohner1|}}}}}|else={{quickbar empty}}}}
{{if|test={{{Einwohner2|}}}|then={{quickbar item|heading=Einwohner 1906:|value={{{Einwohner2|}}}}}|else={{quickbar empty}}}}
+
{{if|test={{{Einwohner2|}}}|then={{quickbar item|heading=Einwohner 1906|value={{{Einwohner2|}}}}}|else={{quickbar empty}}}}
{{if|test={{{Kirchspiel|}}}|then={{quickbar item|heading=Kirchspiel:|value={{{Kirchspiel|}}}}}|else={{quickbar empty}}}}
+
{{if|test={{{Kirchspiel|}}}|then={{quickbar item|heading=Kirchspiel|value={{{Kirchspiel|}}}}}|else={{quickbar empty}}}}
{{if|test={{{Stadt_Website|}}}|then={{quickbar item|heading=Website:|value=[{{{Stadt_Website|}}}}} offizielle Website von {{{Ort}}}]|else={{quickbar empty}}}}
+
{{if|test={{{Stadt_Website|}}}|then={{quickbar item|heading=Website|value=[{{{Stadt_Website|}}}}} offizielle Website von {{{Ort}}}]|else={{quickbar empty}}}}
 
{{if|test={{{Info1|}}}|then={{Heading|Zusatzinfo}} |  
 
{{if|test={{{Info1|}}}|then={{Heading|Zusatzinfo}} |  
 
   else={{if|test={{{Info2|}}}|then={{Heading|Zusatzinfo}} |  
 
   else={{if|test={{{Info2|}}}|then={{Heading|Zusatzinfo}} |  
Zeile 63: Zeile 60:
 
   else={{if|test={{{Info4|}}}|then={{Heading|Zusatzinfo}}  
 
   else={{if|test={{{Info4|}}}|then={{Heading|Zusatzinfo}}  
 
}} }} }} }}
 
}} }} }} }}
{{if|test={{{Info1|}}}|then={{quickbar item|heading=Info1:|value={{{Info1|}}}}}|else={{quickbar empty}}}}
+
{{if|test={{{Info1|}}}|then={{quickbar item|heading=Info1|value={{{Info1|}}}}}|else={{quickbar empty}}}}
{{if|test={{{Info2|}}}|then={{quickbar item|heading=Info2:|value={{{Info2|}}}}}|else={{quickbar empty}}}}
+
{{if|test={{{Info2|}}}|then={{quickbar item|heading=Info2|value={{{Info2|}}}}}|else={{quickbar empty}}}}
{{if|test={{{Info3|}}}|then={{quickbar item|heading=Info3:|value={{{Info3|}}}}}|else={{quickbar empty}}}}
+
{{if|test={{{Info3|}}}|then={{quickbar item|heading=Info3|value={{{Info3|}}}}}|else={{quickbar empty}}}}
{{if|test={{{Info4|}}}|then={{quickbar item|heading=Info4:|value={{{Info4|}}}}}|else={{quickbar empty}}}}
+
{{if|test={{{Info4|}}}|then={{quickbar item|heading=Info4|value={{{Info4|}}}}}|else={{quickbar empty}}}}
 
|}
 
|}
  
 
</includeonly>
 
</includeonly>

Version vom 6. November 2009, 23:27 Uhr


Rowno
(Riwne, Równe, Рівне, Rivne, Ровно)
Lage
{{#switch: GW GW =
Lage von Rowno
Rowno
Rowno
{{#if:|
[[Image:{{{insetLL}}}|{{{insetsize}}}px|noframe|Rowno]]
}}{{#if:|
[[Image:{{{insetUR}}}|{{{insetsize}}}px|noframe|Rowno]]
}}{{#if:|
[[Image:{{{insetLR}}}|{{{insetsize}}}px|noframe|Rowno]]
}}{{#if:|
[[Image:{{{insetUL}}}|{{{insetsize}}}px|noframe|Rowno]]
}}


USH =
Lage von Rowno
Rowno
Rowno
{{#if:|
[[Image:{{{insetLL}}}|{{{insetsize}}}px|noframe|Rowno]]
}}{{#if:|
[[Image:{{{insetUR}}}|{{{insetsize}}}px|noframe|Rowno]]
}}{{#if:|
[[Image:{{{insetLR}}}|{{{insetsize}}}px|noframe|Rowno]]
}}{{#if:|
[[Image:{{{insetUL}}}|{{{insetsize}}}px|noframe|Rowno]]
}}


TE =
Lage von Rowno
Rowno
Rowno
{{#if:|
[[Image:{{{insetLL}}}|{{{insetsize}}}px|noframe|Rowno]]
}}{{#if:|
[[Image:{{{insetUR}}}|{{{insetsize}}}px|noframe|Rowno]]
}}{{#if:|
[[Image:{{{insetLR}}}|{{{insetsize}}}px|noframe|Rowno]]
}}{{#if:|
[[Image:{{{insetUL}}}|{{{insetsize}}}px|noframe|Rowno]]
}}


WR =
Lage von Rowno
Rowno
Rowno
{{#if:|
[[Image:{{{insetLL}}}|{{{insetsize}}}px|noframe|Rowno]]
}}{{#if:|
[[Image:{{{insetUR}}}|{{{insetsize}}}px|noframe|Rowno]]
}}{{#if:|
[[Image:{{{insetLR}}}|{{{insetsize}}}px|noframe|Rowno]]
}}{{#if:|
[[Image:{{{insetUL}}}|{{{insetsize}}}px|noframe|Rowno]]
}}


DE =
Lage von Rowno
Rowno
Rowno
{{#if:|
[[Image:{{{insetLL}}}|{{{insetsize}}}px|noframe|Rowno]]
}}{{#if:|
[[Image:{{{insetUR}}}|{{{insetsize}}}px|noframe|Rowno]]
}}{{#if:|
[[Image:{{{insetLR}}}|{{{insetsize}}}px|noframe|Rowno]]
}}{{#if:|
[[Image:{{{insetUL}}}|{{{insetsize}}}px|noframe|Rowno]]
}}

}}

Kurzdaten
Koordinaten {{#ifexpr: 50.621835>=0 {{#expr: (-50.621835-0.49999) round 0 }}° {{#expr: (-50.621835*60-0.49999 round 0) mod 60 }}'

{{#expr: (-50.621835*3600 round 0) mod 60 }}" S, }} {{#ifexpr: 26.243935>=0 | {{#expr: (26.243935-0.49999) round 0 }}° {{#expr: (26.243935*60-0.49999 round 0) mod 60 }}' {{#expr: (26.243935*3600 round 0) mod 60 }}" O | {{#expr: (-26.243935-0.49999) round 0 }}° {{#expr: (-26.243935*60-0.49999 round 0) mod 60 }}' {{#expr: (-26.243935*3600 round 0) mod 60 }}" W }}

Zusatzinfo
Info bla
Funktion
Erzeugt eine Informationsbox mit Positionskarte und wichtigen Daten eines Ortes.
Kopiervorlage
(Kommentare bei Bedarf entfernen!)
{{QuickbarDorf
|Ort        ={{PAGENAME}}
|Alt        = <!-- andere Namen -->
|Bild       = <!-- [[Bild:|noframe|300px|]] -->
|Positionskarte=GW
|Ujesd      =
|Wolost     =
|GeoLat     =
|GeoLong    =
|Einwohner1 = <!-- 1888 -->
|Einwohner2 = <!-- 1906 -->
|Kirchspiel = 
|Website    =
|Info1      =
|Info2      =
|Info3      =
|Info4      = 
}}
Parameter
  • Positionskarte → Legt die verwendete Karte fest. Mögliche Codes siehe Vorlage:Positionskarte
  • GeoLat und GeoLat → Die geografischen Koordinaten der Stadt im dezimalen Format. Aus ihnen wird die Position des roten Punktes ermittelt, der die Lage markiert. Ermitteln kann man die Werte z.B. indem man im entsprechenden WikiPedia-Artikel auf die Koordinaten rechts oben klickt. Es öffnet sich die Seite "Map Sources/GeoHack". Rechts neben den fettgedruckten Koordinaten im Grad/Minuten/Sekunden-Format steht die benötigte dezimale Schreibweise.