Sjabloon:Positionskarte/Info: verschil tussen versies
Uit Radiopedia
(Nieuwe pagina aangemaakt met '{{Dokumentation}} <onlyinclude><includeonly>{{#if:{{REVISIONID}}|<!--null-->|<!--nur während Vorschau-->{{Achtung|1={{#ifexist:{{FULLPAGENAME}}| Die aktualisierten...') |
Geen bewerkingssamenvatting |
||
(7 tussenliggende versies door dezelfde gebruiker niet weergegeven) | |||
Regel 1: | Regel 1: | ||
{{Dokumentation}} | {{Dokumentation}} | ||
<onlyinclude | <onlyinclude>__NOEDITSECTION__ | ||
== Beschreibung == | |||
Diese | Diese Vorlage enthält Daten für <includeonly>[[{{#if:{{{{FULLPAGENAME}}|lemma}}|{{{{FULLPAGENAME}}|lemma}}{{!}}}}{{{{FULLPAGENAME}}|name}}]]</includeonly>. Sie unterstützt so die Vorlagen [[Sjabloon:Positionskarte|Positionskarte]] und [[Sjabloon:Coordinate|Coordinate]]. | ||
<includeonly>{{#if:{{{{FULLPAGENAME}}|globe}}| | <includeonly>{{#if:{{{{FULLPAGENAME}}|globe}}| | ||
Neu angelegte Vorlagen sollten deshalb unbedingt auf den entsprechenden [[: | Neu angelegte Vorlagen sollten deshalb unbedingt auf den entsprechenden [[:Categorie:Sjabloon:Info globe|Info-Unterseiten]] eingetragen werden, weil sie sonst unbeachtet bleiben.| | ||
Neu angelegte Vorlagen sollten deshalb unbedingt auf den entsprechenden [[: | Neu angelegte Vorlagen sollten deshalb unbedingt auf den entsprechenden [[:Categorie:Sjabloon:Info ISO-3166-2|Info-Unterseiten]] eingetragen werden, weil sie sonst unbeachtet bleiben. Die Subterritorien kann man in dem entsprechenden Eintrag aus der [[:Kategorie:ISO 3166-2]] auslesen.}}</includeonly><!-- | ||
-->{{#if: {{{{FULLPAGENAME}}|top}} | {{#if: {{{{FULLPAGENAME}}|bottom}} | {{#if: {{{{FULLPAGENAME}}|left}} | {{#if: {{{{FULLPAGENAME}}|right}} | -->{{#if: {{{{FULLPAGENAME}}|top}} | {{#if: {{{{FULLPAGENAME}}|bottom}} | {{#if: {{{{FULLPAGENAME}}|left}} | {{#if: {{{{FULLPAGENAME}}|right}} | ||
Regel 23: | Regel 20: | ||
|Alternativkarte = | |Alternativkarte = | ||
|places = <div style="border:1px solid #F00; position:absolute;<includeonly> | |places = <div style="border:1px solid #F00; position:absolute;<includeonly> | ||
top: {{#expr:({{{{FULLPAGENAME}}|top}})/-1.8+50}}%; | |||
bottom: {{#expr:({{{{FULLPAGENAME}}|bottom}})/1.8+50}}%; | |||
left: {{#expr:({{{{FULLPAGENAME}}|left}})/3.6+50}}%; | |||
{{#ifexpr:{{{{FULLPAGENAME}}|left}} >= {{{{FULLPAGENAME}}|right}} | | |||
right: -1px;" /><div style="border:1px solid #F00; position:absolute; | |||
top: {{#expr:({{{{FULLPAGENAME}}|top}})/-1.8+50}}%; | |||
bottom: {{#expr:({{{{FULLPAGENAME}}|bottom}})/1.8+50}}%; | |||
left: -1px; | |||
}} | }} | ||
right: {{#expr:({{{{FULLPAGENAME}}|right}})/-3.6+50}}%; | |||
</includeonly>" /> | </includeonly>" /> | ||
}} | }} | ||
Regel 153: | Regel 150: | ||
|- | |- | ||
{{#if: {{{{FULLPAGENAME}}|mark}} | | {{#if: {{{{FULLPAGENAME}}|mark}} | | ||
{{!}} Markierung {{!!}} [[ | {{!}} Markierung {{!!}} [[Bestand:{{{{FULLPAGENAME}}|mark}}|20x20px]] (<tt>{{{{FULLPAGENAME}}|mark}}</tt>)<span style="display:none;">[[Sjabloon:Positionskarte/Info/mark definiert|m]]</span> | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{{FULLPAGENAME}}|marksize}} | | {{#if: {{{{FULLPAGENAME}}|marksize}} | | ||
{{!}} Markiergröße {{!!}} {{{{FULLPAGENAME}}|marksize}}px<span style="display:none;">[[ | {{!}} Markiergröße {{!!}} {{{{FULLPAGENAME}}|marksize}}px<span style="display:none;">[[Sjabloon:Positionskarte/Info/marksize definiert|ms]]</span> | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{{FULLPAGENAME}}|width}}{{{{FULLPAGENAME}}|height}} | {{#if: {{{{FULLPAGENAME}}|width}}{{{{FULLPAGENAME}}|height}} | ||
| {{!}} Format {{!!}} {{{{FULLPAGENAME}}|width}} × {{{{FULLPAGENAME}}|height}} ({{#ifexpr: {{{{FULLPAGENAME}}|width}} >= {{{{FULLPAGENAME}}|height}}|Quer|Hoch}})<span style="display:none;">[[ | | {{!}} Format {{!!}} {{{{FULLPAGENAME}}|width}} × {{{{FULLPAGENAME}}|height}} ({{#ifexpr: {{{{FULLPAGENAME}}|width}} >= {{{{FULLPAGENAME}}|height}}|Quer|Hoch}})<span style="display:none;">[[Sjabloon:Positionskarte/Info/Größe definiert|d]]</span> | ||
| <span style="display:none;">[[ | | <span style="display:none;">[[Sjabloon:Positionskarte/Info/Größe undefiniert|u]]</span> | ||
}} | }} | ||
</includeonly> | </includeonly> | ||
Regel 172: | Regel 169: | ||
|- | |- | ||
! Standardkarte | ! Standardkarte | ||
| || <tt>{{{{FULLPAGENAME}}|image}}</tt> || [[ | | || <tt>{{{{FULLPAGENAME}}|image}}</tt> || [[Bestand:{{{{FULLPAGENAME}}|image}}|center|200x200px]] | ||
|- | |- | ||
{{#if: {{In Liste|relief|{{{maps|}}}}} | {{#if: {{In Liste|relief|{{{maps|}}}}} | ||
| <!-- kommt unten noch -->{{#if: {{#titleparts:{{{maps|}}}|1|2}} | | <!-- kommt unten noch -->{{#if: {{#titleparts:{{{maps|}}}|1|2}} | ||
| <span style="display:none;">[[ | | <span style="display:none;">[[Sjabloon:Positionskarte/Info/more maps|mm]]</span> | ||
}} | }} | ||
| {{#ifeq: {{{{FULLPAGENAME}}|image|relief}} | {{{{FULLPAGENAME}}|image}} | | {{#ifeq: {{{{FULLPAGENAME}}|image|relief}} | {{{{FULLPAGENAME}}|image}} | ||
| <span style="display:none;">[[ | | <span style="display:none;">[[Sjabloon:Positionskarte/Info/relief missing|r]]</span> | ||
| ! Physische Karte | | ! Physische Karte | ||
{{!}} relief {{!!}} <tt>{{{{FULLPAGENAME}}|image|relief}}</tt> {{!!}} [[ | {{!}} relief {{!!}} <tt>{{{{FULLPAGENAME}}|image|relief}}</tt> {{!!}} [[Bestand:{{{{FULLPAGENAME}}|image|relief}}|center|200x200px]] | ||
}}{{#if: {{{maps|}}} | }}{{#if: {{{maps|}}} | ||
| <span style="display:none;">[[ | | <span style="display:none;">[[Sjabloon:Positionskarte/Info/more maps|mm]]</span> | ||
}} | }} | ||
}} | }} | ||
Regel 189: | Regel 186: | ||
{{#if: {{#titleparts:{{{maps|}}}|1|1}} | {{#if: {{#titleparts:{{{maps|}}}|1|1}} | ||
| ! <!--… Karte--> | | ! <!--… Karte--> | ||
{{!}} {{#titleparts:/{{{maps|}}}|1|2}} {{!!}} <tt>{{{{FULLPAGENAME}}|image|{{#titleparts:/{{{maps|}}}|1|2}}}}</tt> {{!!}} [[ | {{!}} {{#titleparts:/{{{maps|}}}|1|2}} {{!!}} <tt>{{{{FULLPAGENAME}}|image|{{#titleparts:/{{{maps|}}}|1|2}}}}</tt> {{!!}} [[Bestand:{{{{FULLPAGENAME}}|image|{{#titleparts:/{{{maps|}}}|1|2}}}}|center|200x200px]] | ||
}} | }} | ||
|- | |- | ||
{{#if: {{#titleparts:{{{maps|}}}|1|2}} | {{#if: {{#titleparts:{{{maps|}}}|1|2}} | ||
| ! <!--… Karte--> | | ! <!--… Karte--> | ||
{{!}} {{#titleparts:/{{{maps|}}}|1|3}} {{!!}} <tt>{{{{FULLPAGENAME}}|image|{{#titleparts:/{{{maps|}}}|1|3}}}}</tt> {{!!}} [[ | {{!}} {{#titleparts:/{{{maps|}}}|1|3}} {{!!}} <tt>{{{{FULLPAGENAME}}|image|{{#titleparts:/{{{maps|}}}|1|3}}}}</tt> {{!!}} [[Bestand:{{{{FULLPAGENAME}}|image|{{#titleparts:/{{{maps|}}}|1|3}}}}|center|200x200px]] | ||
}} | }} | ||
|- | |- | ||
{{#if: {{#titleparts:{{{maps|}}}|1|3}} | {{#if: {{#titleparts:{{{maps|}}}|1|3}} | ||
| ! <!--… Karte--> | | ! <!--… Karte--> | ||
{{!}} {{#titleparts:/{{{maps|}}}|1|4}} {{!!}} <tt>{{{{FULLPAGENAME}}|image|{{#titleparts:/{{{maps|}}}|1|4}}}}</tt> {{!!}} [[ | {{!}} {{#titleparts:/{{{maps|}}}|1|4}} {{!!}} <tt>{{{{FULLPAGENAME}}|image|{{#titleparts:/{{{maps|}}}|1|4}}}}</tt> {{!!}} [[Bestand:{{{{FULLPAGENAME}}|image|{{#titleparts:/{{{maps|}}}|1|4}}}}|center|200x200px]] | ||
}} | }} | ||
|- | |- | ||
{{#if: {{#titleparts:{{{maps|}}}|1|4}} | {{#if: {{#titleparts:{{{maps|}}}|1|4}} | ||
| ! <!--… Karte--> | | ! <!--… Karte--> | ||
{{!}} {{#titleparts:/{{{maps|}}}|1|5}} {{!!}} <tt>{{{{FULLPAGENAME}}|image|{{#titleparts:/{{{maps|}}}|1|5}}}}</tt> {{!!}} [[ | {{!}} {{#titleparts:/{{{maps|}}}|1|5}} {{!!}} <tt>{{{{FULLPAGENAME}}|image|{{#titleparts:/{{{maps|}}}|1|5}}}}</tt> {{!!}} [[Bestand:{{{{FULLPAGENAME}}|image|{{#titleparts:/{{{maps|}}}|1|5}}}}|center|200x200px]] | ||
}} | }} | ||
|- | |- | ||
{{#if: {{#titleparts:{{{maps|}}}|1|5}} | {{#if: {{#titleparts:{{{maps|}}}|1|5}} | ||
| ! <!--… Karte--> | | ! <!--… Karte--> | ||
{{!}} {{#titleparts:/{{{maps|}}}|1|6}} {{!!}} <tt>{{{{FULLPAGENAME}}|image|{{#titleparts:/{{{maps|}}}|1|6}}}}</tt> {{!!}} [[ | {{!}} {{#titleparts:/{{{maps|}}}|1|6}} {{!!}} <tt>{{{{FULLPAGENAME}}|image|{{#titleparts:/{{{maps|}}}|1|6}}}}</tt> {{!!}} [[Bestand:{{{{FULLPAGENAME}}|image|{{#titleparts:/{{{maps|}}}|1|6}}}}|center|200x200px]] | ||
}} | }} | ||
|} | |} | ||
Regel 217: | Regel 214: | ||
* [[Wikipedia:WikiProjekt Georeferenzierung|WikiProjekt Georeferenzierung]] | * [[Wikipedia:WikiProjekt Georeferenzierung|WikiProjekt Georeferenzierung]] | ||
* [[ | * [[Sjabloon:Positionskarte]] | ||
{{#if: {{{{FULLPAGENAME}}|globe}} | <!--nicht anzeigen--> | | {{#if: {{{{FULLPAGENAME}}|globe}} | <!--nicht anzeigen--> | | ||
* Koordinaten können unter anderem bei [http://www.mcaviglia.ch/gmap/get_coor_ext.asp?l=de http://www.mcaviglia.ch/gmap/get_coor_ext.asp?l=de] ermittelt werden. | * Koordinaten können unter anderem bei [http://www.mcaviglia.ch/gmap/get_coor_ext.asp?l=de http://www.mcaviglia.ch/gmap/get_coor_ext.asp?l=de] ermittelt werden. | ||
{{#if:{{booland4|{{{{FULLPAGENAME}}|top}}|{{{{FULLPAGENAME}}|bottom}}|{{{{FULLPAGENAME}}|left}}|{{{{FULLPAGENAME}}|right}}}} | | {{#if:{{booland4|{{{{FULLPAGENAME}}|top}}|{{{{FULLPAGENAME}}|bottom}}|{{{{FULLPAGENAME}}|left}}|{{{{FULLPAGENAME}}|right}}}} | | ||
* [http://wpbot-alexrk.appspot.com/Poskarte2Kml?vorlage={{ | * [http://wpbot-alexrk.appspot.com/Poskarte2Kml?vorlage={{URLENCODE:{{FULLPAGENAME}}}}&imagesize=1000&output=kml Die Karte als KML-Datei in Google Earth öffnen] | ||
}} | }} | ||
}}<includeonly><!-- Wartung --> | }}<includeonly><!-- Wartung --> | ||
{{#if:{{{{FULLPAGENAME}}|name}} | {{#if:{{{{FULLPAGENAME}}|name}} | ||
| <!--null--> | | <!--null--> | ||
| <span style="display:none;">[[ | | <span style="display:none;">[[Sjabloon:Positionskarte/Info/name missing]]</span> | ||
}}{{#if:{{{{FULLPAGENAME}}|x}}{{{{FULLPAGENAME}}|y}} | }}{{#if:{{{{FULLPAGENAME}}|x}}{{{{FULLPAGENAME}}|y}} | ||
| {{#iferror:{{#expr:{{{{FULLPAGENAME}}|x|0|0}} + {{{{FULLPAGENAME}}|y|0|0}}}} | | {{#iferror:{{#expr:{{{{FULLPAGENAME}}|x|0|0}} + {{{{FULLPAGENAME}}|y|0|0}}}} | ||
| <span style="display:none;">[[ | | <span style="display:none;">[[Sjabloon:Positionskarte/Info/value error]]</span> | ||
| <!--null--> | | <!--null--> | ||
}}<span style="display:none;">[[ | }}<span style="display:none;">[[Sjabloon:Positionskarte/Info/xy]]</span> | ||
| {{#iferror:{{#expr:{{{{FULLPAGENAME}}|top}} + {{{{FULLPAGENAME}}|bottom}} + {{{{FULLPAGENAME}}|left}} + {{{{FULLPAGENAME}}|right}}}} | | {{#iferror:{{#expr:{{{{FULLPAGENAME}}|top}} + {{{{FULLPAGENAME}}|bottom}} + {{{{FULLPAGENAME}}|left}} + {{{{FULLPAGENAME}}|right}}}} | ||
| <span style="display:none;">[[ | | <span style="display:none;">[[Sjabloon:Positionskarte/Info/value error]]</span> | ||
| {{#ifexpr:{{{{FULLPAGENAME}}|top}} > 90 or {{{{FULLPAGENAME}}|bottom}} < -90 or abs({{{{FULLPAGENAME}}|left}}) > 180 or abs({{{{FULLPAGENAME}}|right}}) > 180 | | {{#ifexpr:{{{{FULLPAGENAME}}|top}} > 90 or {{{{FULLPAGENAME}}|bottom}} < -90 or abs({{{{FULLPAGENAME}}|left}}) > 180 or abs({{{{FULLPAGENAME}}|right}}) > 180 | ||
| <span style="display:none;">[[ | | <span style="display:none;">[[Sjabloon:Positionskarte/Info/out of range]]</span> | ||
| <!--null--> | | <!--null--> | ||
}}{{#ifexpr:{{{{FULLPAGENAME}}|top}} < {{{{FULLPAGENAME}}|bottom}} or {{{{FULLPAGENAME}}|left}} > {{{{FULLPAGENAME}}|right}} | }}{{#ifexpr:{{{{FULLPAGENAME}}|top}} < {{{{FULLPAGENAME}}|bottom}} or {{{{FULLPAGENAME}}|left}} > {{{{FULLPAGENAME}}|right}} | ||
| <span style="display:none;">[[ | | <span style="display:none;">[[Sjabloon:Positionskarte/Info/crosses180]]</span> | ||
| <!--null--> | | <!--null--> | ||
}} | }} | ||
Regel 244: | Regel 241: | ||
}}{{#ifexist:Media:{{{{FULLPAGENAME}}|image}} | }}{{#ifexist:Media:{{{{FULLPAGENAME}}|image}} | ||
| <!--null--> | | <!--null--> | ||
| <span style="display:none;">[[ | | <span style="display:none;">[[Sjabloon:Positionskarte/Info/image missing]]</span> | ||
}}{{#if:{{{{FULLPAGENAME}}|globe}} | }}{{#if:{{{{FULLPAGENAME}}|globe}} | ||
| <span style="display:none;">[[ | | <span style="display:none;">[[Sjabloon:Positionskarte/Info/globe]]</span>[[Categorie:Sjabloon:Astronomie|Positionskarte {{{sortkey|{{{1|{{{{FULLPAGENAME}}|name}}}}}}}}]] | ||
}}{{#if:{{{region|}}} | }}{{#if:{{{region|}}} | ||
| {{#ifeq: Positionskarte {{Info ISO-3166-2:{{{region}}}|map}} | {{PAGENAME}} | | {{#ifeq: Positionskarte {{Info ISO-3166-2:{{{region}}}|map}} | {{PAGENAME}} | ||
| <span style="display:none;">[[ | | <span style="display:none;">[[Sjabloon:Positionskarte/Info/eingetragen]]</span> | ||
| {{#if: {{Info ISO-3166-2:{{{region}}}|}} | | {{#if: {{Info ISO-3166-2:{{{region}}}|}} | ||
| <span style="display:none;">[[ | | <span style="display:none;">[[Sjabloon:Positionskarte/Info/region falsch]]</span> | ||
| <span style="display:none;">[[ | | <span style="display:none;">[[Sjabloon:Positionskarte/Info/nicht eingetragen]]</span> | ||
}} | }} | ||
}} | }} | ||
}}{{#ifeq:{{NAMESPACE}} | {{ns:10}} | }}{{#ifeq:{{NAMESPACE}} | {{ns:10}} | ||
| [[ | | [[Categorie:Sjabloon:Positiekaart|{{{sortkey|{{{1|{{{{FULLPAGENAME}}|name}}}}}}}} {{{sortkey2|{{#if:{{{1|}}}|{{{{FULLPAGENAME}}|name}}}}}}}]] {{#ifexist: :Categorie:Sjabloon:{{{1|{{{{FULLPAGENAME}}|name}}}}} | ||
| [[ | | [[Categorie:Sjabloon:{{{1|{{{{FULLPAGENAME}}|name}}}}}|Positiekaart {{{sortkey2|{{#if:{{{1|}}}|{{{{FULLPAGENAME}}|name}}}}}}}]] | ||
}} | }} | ||
}} | }} | ||
*{{Verwendung}} der Vorlage</includeonly></onlyinclude> | *{{Verwendung}} der Vorlage</includeonly></onlyinclude> |
Huidige versie van 10 jun 2013 om 15:07
[aanmaken] Sjabloondocumentatie
Voeg categoriën toe aan de /doc subpagina. Subpagina's van dit sjabloon. |
Beschreibung
Diese Vorlage enthält Daten für . Sie unterstützt so die Vorlagen Positionskarte und Coordinate.