|
|
(5 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt) |
Zeile 1: |
Zeile 1: |
− | <onlyinclude>{{Coordinate{{#if:{{#switch:{{{NS|}}}||/|//|///|///N|///S=1}}{{#switch:{{{EW|}}}||/|//|///|///E|///W=1}}|NO{{#if:{{NAMESPACE}}|x}}|MAIN}} | + | <onlyinclude>{{#iferror:{{{NS|}}}{{{EW|}}} |
− | |NS={{CoordinateLAT|{{{NS|}}}}} | + | |{{CoordinateMSG|1|{{{NS|}}}|{{{EW|}}}}} |
− | |EW={{CoordinateLONG|{{{EW|}}}}} | + | |<!-- |
− | <!-- Wertebereichstest type, pop und elevation auch in Vorlage:Positionskarte~ --> | + | |
− | |type={{#switch: {{{type|{{#ifeq:{{NAMESPACE}}|{{ns:6}}|landmark}}}}} | + | text output |
− | |country|state|adm1st|adm2nd|city|isle|airport|mountain|waterbody|forest|landmark={{{type}}}
| + | |
− | |example={{#if:{{NAMESPACE}}
| + | -->{{#if:{{{text|}}}|{{#if:{{{sortkey|}}}|{{CoordinateSORT|{{{NS|0}}}|{{{EW|0}}}|key={{{sortkey|}}}}}}}<span id="{{#if:{{{name|}}}|{{anchorencode:{{{name}}}}}|text_coordinates}}" class="coordinates plainlinks-print">{{#iferror:{{{type|}}}|{{{type}}}|{{#ifeq:{{{type|}}}|example|<span style="background: white">''Beispiel'' </span>}} |
− | |{{{type}}}
| + | }}{{#if:{{{article|}}}{{{name|}}}||{{CoordinateMSG|8}}}}{{CoordinateLINK |
− | |{{CoordinateMSG|3|{{{type}}}}}
| + | |NS ={{{NS|0}}} |
− | }}
| + | |EW ={{{EW|0}}} |
− | |#default={{CoordinateMSG|3|{{{type|}}}}}
| + | |globe ={{{globe|}}} |
− | }} | + | |type ={{{type|}}} |
− | |pop={{{pop|}}} | + | |pop={{#if:{{IstZahl|0{{{pop|}}}|N}}|{{{pop|}}}}} |
− | |elevation={{{elevation|}}} | + | |elevation={{#if:{{IstZahl|0{{{elevation|}}}|R|2}}|{{{elevation|}}}}} |
− | |dim={{{dim|}}} | + | |dim ={{{dim|}}} |
| + | |region ={{{region|}}} |
| + | |label ={{urlencode:{{{name|}}}}} |
| + | |name ={{#if:{{{name|}}}|{{{name|}}}|{{FULLPAGENAME}}}} |
| + | |sortkey={{{sortkey|}}} |
| + | |0 ={{#switch: {{uc:{{ParmPart|1|{{{text|}}}}}}} |
| + | |<!--leer--> |OSGB36|UTM<!--nicht implementiert--> |DMS|DM|DEC|CH1903= <!--leer--> |
| + | |ICON0=⊙ |
| + | |ICON =⦁ |
| + | |ICON1=<sup>▼</sup> |
| + | |#default= {{{text|}}} |
| + | }} |
| + | |1 ={{#switch: {{uc:{{ParmPart|1|{{{text|}}}}}}} |
| + | |<!--leer-->={{#titleparts:{{CoordinateRR DEFAULT|{{{region|}}}}}|1|1}} |
| + | |OSGB36|UTM<!--nicht implementiert--> |DMS= DMS |
| + | |DM= DM |
| + | |DEC= DEC |
| + | |CH1903= CH1903 |
| + | }} |
| + | |2 ={{#switch: {{uc:{{ParmPart|2|{{{text|}}}}}}} |
| + | |<!--leer-->= {{#if:{{#titleparts:{{{text|}}}|1|1}}||{{#titleparts:{{CoordinateRR DEFAULT|{{{region|}}}}}|1|2}} }} |
| + | |DMS= DMS |
| + | |DEC= DEC |
| + | |CH1903= CH1903 |
| + | <!-- |UTM|OSGB3 = nicht implementiert--> |
| + | }} |
| + | }}</span>}}{{ImDruckVerbergen|1=<{{#if:{{{text|}}}|span|div}} class="geo microformat"><span class="latitude">{{{NS|0}}}</span><span class="longitude">{{#ifexpr:(0{{{NS|0}}})<90 and (0{{{NS|0}}})>-90|{{{EW|0}}}|0}}</span><span class="elevation">{{{elevation|}}}</span></{{#if:{{{text|}}}|span|div}}> |
| + | }}{{#if:{{{region|}}}||{{#switch:{{{globe|}}}|<!--void-->|earth={{CoordinateMSG|6}}}} |
| + | }}{{#if:{{IstZahl|0{{{pop|}}}|N}}|<!--void-->|{{CoordinateMSG|9|{{{pop|}}}}} |
| + | }}{{#if:{{IstZahl|0{{{elevation|}}}|R|2}}|<!--void-->|{{CoordinateMSG|7|{{{elevation|}}}}} |
| + | }}<!-- |
| + | |
| + | article output |
| + | |
| + | -->{{#if:{{{article|}}} |
| + | |{{#if:{{{text|}}}|<span|<div}} id="coordinates" class="coordinates plainlinks-print"><span title="Koordinatensystem WGS84">Koordinaten: </span>{{#iferror:{{{type|}}}|{{{type}}}|{{#ifeq:{{{type|}}}|example|<span style="background: white"> ''Beispiel'' </span>}}}}{{CoordinateLINK |
| + | |NS ={{{NS|0}}} |
| + | |EW ={{{EW|0}}} |
| + | |globe ={{{globe|}}} |
| + | |type ={{{type|}}} |
| + | |pop={{#if:{{IstZahl|0{{{pop|}}}|N}}|{{{pop|}}}}} |
| + | |elevation={{#if:{{IstZahl|0{{{elevation|}}}|R|2}}|{{{elevation|}}}}} |
| + | |dim ={{{dim|}}} |
| + | |region ={{{region|}}} |
| + | |label ={{urlencode:{{{name|}}}}} |
| + | |name =coordinates |
| + | |sortkey={{{sortkey|}}} |
| + | |1 =DMS |
| + | |2 ={{#switch: {{uc:{{{article|}}}}} |
| + | |DMS|DM= <!--leer--> |
| + | |CH1903|CH1903/DMS|DMS/CH1903= CH1903 |
| + | |OSGB36|OSGB36/DMS|DMS/OSGB36= <!--OSGB36--> |
| + | |UTM|UTM/DMS|DMS/UTM= <!--UTM--> |
| + | |#default= {{#titleparts:{{CoordinateRR DEFAULT|{{{region|}}}}}|1|2}} |
| + | }} |
| + | }}</{{#if:{{{text|}}}|span|div}}>}} |
| + | {{#if:{{{text|}}}|<span|<div}} id="minimap"> |
| + | {{Minimap with marker |
| + | |NS ={{{NS|0}}} |
| + | |EW ={{{EW|0}}} |
| |region={{{region|}}} | | |region={{{region|}}} |
− | |text={{{text|}}}
| |
− | |article={{#if:{{{article|}}}|{{{article|}}}|{{#if:{{{text|}}}{{{map|}}}||/}}}}
| |
− | |name={{#ifeq:{{{name|}}}|coordinates||{{{name|}}}}}
| |
− | |sortkey={{#if:{{{text|}}}|{{{sortkey|}}}}}
| |
− | |globe={{{globe|}}}
| |
− | }}{{#if:{{{1|}}}
| |
− | |{{CoordinateMSG|5|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}}}
| |
− | }}{{#if:{{{map|}}}|{{Positionskarte+
| |
− | |{{#switch:
| |
− | {{#if:{{ParmPart|1|{{{region|}}}}}
| |
− | |{{#ifexpr:{{#switch:{{{maplevel|}}}|global=-2|continental=-1|national=0|adm1st=1|adm2nd=2|#default=0}}>
| |
− | {{#switch:{{Info ISO-3166-2|code={{ParmPart|1|{{{region|}}}}}|map}}
| |
− | |Erde=-2
| |
− | |Afrika|Amerika|Antarktis|Asien|Australien|Eurasien|Europa|Nordamerika|Südamerika
| |
− | |Nordpolarmeer|Atlantik|Indik|Pazifik|Südpolarmeer=-1
| |
− | |{{Info ISO-3166-2|code={{Info ISO-3166-2|code={{ParmPart|1|{{{region|}}}}}|top}}|map}}=0
| |
− | |{{Info ISO-3166-2|code={{Info ISO-3166-2|code={{ParmPart|1|{{{region|}}}}}|upper}}|map}}=1
| |
− | |#default={{Info ISO-3166-2|code={{ParmPart|1|{{{region|}}}}}|level}}
| |
− | }}
| |
− | |{{#switch:{{Info ISO-3166-2|code={{ParmPart|1|{{{region|}}}}}|map}}
| |
− | |Erde=-2
| |
− | |Afrika|Amerika|Antarktis|Asien|Australien|Eurasien|Europa|Nordamerika|Südamerika
| |
− | |Nordpolarmeer|Atlantik|Indik|Pazifik|Südpolarmeer=-1
| |
− | |{{Info ISO-3166-2|code={{Info ISO-3166-2|code={{ParmPart|1|{{{region|}}}}}|top}}|map}}=0
| |
− | |{{Info ISO-3166-2|code={{Info ISO-3166-2|code={{ParmPart|1|{{{region|}}}}}|upper}}|map}}=1
| |
− | |#default={{Info ISO-3166-2|code={{ParmPart|1|{{{region|}}}}}|level}}
| |
− | }}
| |
− | |{{#switch:{{{maplevel|}}}|global=-2|continental=-1|national=0|adm1st=1|adm2nd=2|#default=0}}
| |
− | }}
| |
− | |-2
| |
− | }}
| |
− | |-2={{Info globe|globe={{{globe|earth}}}|map}}
| |
− | |-1={{Info ISO-3166-2|code={{ParmPart|1|{{{region|}}}}}|continent}}
| |
− | |1={{#switch:{{Info ISO-3166-2|code={{ParmPart|1|{{{region|}}}}}|level}}
| |
− | |2={{#ifeq:{{Info ISO-3166-2|code={{ParmPart|1|{{{region|}}}}}|upper}}
| |
− | |{{Info ISO-3166-2|code={{ParmPart|1|{{{region|}}}}}|top}}
| |
− | |{{Info ISO-3166-2|code={{ParmPart|1|{{{region|}}}}}|map}}
| |
− | |{{Info ISO-3166-2|code={{Info ISO-3166-2|code={{ParmPart|1|{{{region|}}}}}|upper}}|map}}}}
| |
− | |#default={{Info ISO-3166-2|code={{ParmPart|1|{{{region|}}}}}|map}}
| |
− | }}
| |
− | |2={{Info ISO-3166-2|code={{ParmPart|1|{{{region|}}}}}|map}}
| |
− | |#default={{#ifeq:
| |
− | {{Info ISO-3166-2|code={{Info ISO-3166-2|code={{ParmPart|1|{{{region|}}}}}|top}}|continent}}
| |
− | |{{Info ISO-3166-2|code={{ParmPart|1|{{{region|}}}}}|continent}}
| |
− | |{{Info ISO-3166-2|code={{Info ISO-3166-2|code={{ParmPart|1|{{{region|}}}}}|top}}|map}}
| |
− | |{{Info ISO-3166-2|code={{ParmPart|1|{{{region|}}}}}|continent}}
| |
− | }}
| |
− | }}
| |
− |
| |
− | |caption = {{#switch:
| |
− | {{#if:{{ParmPart|1|{{{region|}}}}}
| |
− | |{{#ifexpr:{{#switch:{{{maplevel|}}}|global=-2|continental=-1|national=0|adm1st=1|adm2nd=2|#default=0}}>
| |
− | {{#switch:{{Info ISO-3166-2|code={{ParmPart|1|{{{region|}}}}}|map}}
| |
− | |Erde=-2
| |
− | |Afrika|Amerika|Antarktis|Asien|Australien|Eurasien|Europa|Nordamerika|Südamerika
| |
− | |Nordpolarmeer|Atlantik|Indik|Pazifik|Südpolarmeer=-1
| |
− | |{{Info ISO-3166-2|code={{Info ISO-3166-2|code={{ParmPart|1|{{{region|}}}}}|top}}|map}}=0
| |
− | |{{Info ISO-3166-2|code={{Info ISO-3166-2|code={{ParmPart|1|{{{region|}}}}}|upper}}|map}}=1
| |
− | |#default={{Info ISO-3166-2|code={{ParmPart|1|{{{region|}}}}}|level}}
| |
− | }}
| |
− | |{{#switch:{{Info ISO-3166-2|code={{ParmPart|1|{{{region|}}}}}|map}}
| |
− | |Erde=-2
| |
− | |Afrika|Amerika|Antarktis|Asien|Australien|Eurasien|Europa|Nordamerika|Südamerika
| |
− | |Nordpolarmeer|Atlantik|Indik|Pazifik|Südpolarmeer=-1
| |
− | |{{Info ISO-3166-2|code={{Info ISO-3166-2|code={{ParmPart|1|{{{region|}}}}}|top}}|map}}=0
| |
− | |{{Info ISO-3166-2|code={{Info ISO-3166-2|code={{ParmPart|1|{{{region|}}}}}|upper}}|map}}=1
| |
− | |#default={{Info ISO-3166-2|code={{ParmPart|1|{{{region|}}}}}|level}}
| |
− | }}
| |
− | |{{#switch:{{{maplevel|}}}|global=-2|continental=-1|national=0|adm1st=1|adm2nd=2|#default=0}}
| |
− | }}
| |
− | |-1
| |
− | }}
| |
− | |-2={{Info globe|globe={{{globe|earth}}}|map}}
| |
− | |-1={{Info ISO-3166-2|code={{ParmPart|1|{{{region|}}}}}|continent}}
| |
− | |1={{#switch:{{Info ISO-3166-2|code={{ParmPart|1|{{{region|}}}}}|level}}
| |
− | |2={{#ifeq:{{Info ISO-3166-2|code={{ParmPart|1|{{{region|}}}}}|upper}}
| |
− | |{{Info ISO-3166-2|code={{ParmPart|1|{{{region|}}}}}|top}}
| |
− | |[[{{Info ISO-3166-2|code={{ParmPart|1|{{{region|}}}}}|lemma}}|{{Info ISO-3166-2|code={{ParmPart|1|{{{region|}}}}}|name}}]]
| |
− | |[[{{Info ISO-3166-2|code={{Info ISO-3166-2|code={{ParmPart|1|{{{region|}}}}}|upper}}|lemma}}|{{Info ISO-3166-2|code={{Info ISO-3166-2|code={{ParmPart|1|{{{region|}}}}}|upper}}|name}}]]}}
| |
− | |#default=[[{{Info ISO-3166-2|code={{ParmPart|1|{{{region|}}}}}|lemma}}|{{Info ISO-3166-2|code={{ParmPart|1|{{{region|}}}}}|name}}]]
| |
− | }}
| |
− | |2=[[{{Info ISO-3166-2|code={{ParmPart|1|{{{region|}}}}}|lemma}}|{{Info ISO-3166-2|code={{ParmPart|1|{{{region|}}}}}|name}}]]
| |
− | |#default={{#ifeq:
| |
− | {{Info ISO-3166-2|code={{Info ISO-3166-2|code={{ParmPart|1|{{{region|}}}}}|top}}|continent}}
| |
− | |{{Info ISO-3166-2|code={{ParmPart|1|{{{region|}}}}}|continent}}
| |
− | |[[{{Info ISO-3166-2|code={{Info ISO-3166-2|code={{ParmPart|1|{{{region|}}}}}|top}}|lemma}}|{{Info ISO-3166-2|code={{Info ISO-3166-2|code={{ParmPart|1|{{{region|}}}}}|top}}|name}}]]
| |
− | |{{Info ISO-3166-2|code={{ParmPart|1|{{{region|}}}}}|continent}}
| |
− | }}
| |
| }} | | }} |
− | |float ={{{map}}}
| + | </{{#if:{{{text|}}}|span|div}}> |
− | |width ={{{mapsize|}}}
| |
− | |label ={{#if:{{{name|}}}|{{#if:{{{text|}}}|{{#ifexist:{{{name}}}|[[{{{name}}}]]|{{{name}}}}}|{{{name}}}}}|{{PAGENAME}}}}
| |
− | |maptype={{{maptype|}}} | |
− | |places={{Positionskarte~
| |
− | |{{#switch:
| |
− | {{#if:{{ParmPart|1|{{{region|}}}}}
| |
− | |{{#ifexpr:{{#switch:{{{maplevel|}}}|global=-2|continental=-1|national=0|adm1st=1|adm2nd=2|#default=0}}>
| |
− | {{#switch:{{Info ISO-3166-2|code={{ParmPart|1|{{{region|}}}}}|map}}
| |
− | |Erde=-2
| |
− | |Afrika|Amerika|Antarktis|Asien|Australien|Eurasien|Europa|Nordamerika|Südamerika
| |
− | |Nordpolarmeer|Atlantik|Indik|Pazifik|Südpolarmeer=-1
| |
− | |{{Info ISO-3166-2|code={{Info ISO-3166-2|code={{ParmPart|1|{{{region|}}}}}|top}}|map}}=0
| |
− | |{{Info ISO-3166-2|code={{Info ISO-3166-2|code={{ParmPart|1|{{{region|}}}}}|upper}}|map}}=1
| |
− | |#default={{Info ISO-3166-2|code={{ParmPart|1|{{{region|}}}}}|level}}
| |
− | }}
| |
− | |{{#switch:{{Info ISO-3166-2|code={{ParmPart|1|{{{region|}}}}}|map}}
| |
− | |Erde=-2
| |
− | |Afrika|Amerika|Antarktis|Asien|Australien|Eurasien|Europa|Nordamerika|Südamerika
| |
− | |Nordpolarmeer|Atlantik|Indik|Pazifik|Südpolarmeer=-1
| |
− | |{{Info ISO-3166-2|code={{Info ISO-3166-2|code={{ParmPart|1|{{{region|}}}}}|top}}|map}}=0
| |
− | |{{Info ISO-3166-2|code={{Info ISO-3166-2|code={{ParmPart|1|{{{region|}}}}}|upper}}|map}}=1
| |
− | |#default={{Info ISO-3166-2|code={{ParmPart|1|{{{region|}}}}}|level}}
| |
− | }}
| |
− | |{{#switch:{{{maplevel|}}}|global=-2|continental=-1|national=0|adm1st=1|adm2nd=2|#default=0}}
| |
− | }}
| |
− | |-2
| |
− | }}
| |
− | |-2={{Info globe|globe={{{globe|earth}}}|map}}
| |
− | |-1={{Info ISO-3166-2|code={{ParmPart|1|{{{region|}}}}}|continent}}
| |
− | |1={{#switch:{{Info ISO-3166-2|code={{ParmPart|1|{{{region|}}}}}|level}}
| |
− | |2={{#ifeq:{{Info ISO-3166-2|code={{ParmPart|1|{{{region|}}}}}|upper}}
| |
− | |{{Info ISO-3166-2|code={{ParmPart|1|{{{region|}}}}}|top}}
| |
− | |{{Info ISO-3166-2|code={{ParmPart|1|{{{region|}}}}}|map}}
| |
− | |{{Info ISO-3166-2|code={{Info ISO-3166-2|code={{ParmPart|1|{{{region|}}}}}|upper}}|map}}}}
| |
− | |#default={{Info ISO-3166-2|code={{ParmPart|1|{{{region|}}}}}|map}}
| |
− | }}
| |
− | |2={{Info ISO-3166-2|code={{ParmPart|1|{{{region|}}}}}|map}}
| |
− | |#default={{#ifeq:
| |
− | {{Info ISO-3166-2|code={{Info ISO-3166-2|code={{ParmPart|1|{{{region|}}}}}|top}}|continent}}
| |
− | |{{Info ISO-3166-2|code={{ParmPart|1|{{{region|}}}}}|continent}}
| |
− | |{{Info ISO-3166-2|code={{Info ISO-3166-2|code={{ParmPart|1|{{{region|}}}}}|top}}|map}}
| |
− | |{{Info ISO-3166-2|code={{ParmPart|1|{{{region|}}}}}|continent}}
| |
− | }}
| |
− | }}
| |
− | | |
− | |label={{#if:{{{name|}}}|{{#if:{{{text|}}}|{{#ifexist:{{{name}}}|[[{{{name}}}]]|{{{name}}}}}|{{{name}}}}}|{{PAGENAME}}}}
| |
− | <!--
| |
− | |label_size =
| |
− | |mark =
| |
− | |marksize =
| |
− | |marktarget =
| |
− | |position =
| |
− | |wrap =
| |
− | |background =
| |
− | -->
| |
− | <!--Coordinates Koordinaten -->
| |
− | |lat = {{{NS|}}}
| |
− | |long = {{{EW|}}}
| |
− | <!-- Wertebereichstest type, pop, elevation in Vorlage:Positionskarte~ für alle Positionskarten! -->
| |
− | |type = {{{type|}}}
| |
− | |pop = {{{pop|}}}
| |
− | |elevation = {{{elevation|}}}
| |
− | |dim = {{{dim|}}}
| |
− | |region = {{{region|}}}
| |
− | |name = {{#ifeq:{{{name|}}}|coordinates||{{{name|}}}}}
| |
− | }}}}
| |
| }}</onlyinclude> | | }}</onlyinclude> |
− |
| |
− | {{Dokumentation}}
| |