Vorlage:Positionskarte~: Unterschied zwischen den Versionen
Keine Bearbeitungszusammenfassung |
K 1 Version importiert |
||
(9 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
<noinclude><!-- Testframe! --> | <noinclude><!-- Testframe! --> | ||
{| | {| | ||
|<div class="positionmap" style="position: relative; z-index: 0; padding: 0; border: 1px solid {{#if:{{{border|}}}|{{{border}}}|#CCCCCC}};">[[image:{{#if: {{{Alternativkarte| | |<div class="positionmap" style="position: relative; z-index: 0; padding: 0; border: 1px solid {{#if:{{{border|}}}|{{{border}}}|#CCCCCC}};">[[image:{{#if: {{{Alternativkarte|}}} | {{{Alternativkarte}}} | {{Positionskarte {{{1|Erde}}}|image}} }}|frameless|{{#if:{{{width|x}}}|{{{width|240}}}px|upright=1}}|center|{{#if: {{{label|}}} | ||
| {{{label}}} | | {{{label}}} | ||
| {{PAGENAME}} | | {{PAGENAME}} | ||
Zeile 17: | Zeile 17: | ||
|background={{{background|}}} | |background={{{background|}}} | ||
}} | }} | ||
| | |{{#iferror:{{CoordinateLAT |{{{lat|}}} }}{{CoordinateLONG|{{{long|}}} }} | ||
|{{#if:{{{name|}}}|{{{name}}}|{{#if:{{{label|}}}|{{{label}}}|{{PAGENAME}}}}}}:{{CoordinateMSG|1 | |{{#if:{{{name|}}}|{{{name}}}|{{#if:{{{label|}}}|{{{label}}}|{{PAGENAME}}}}}}:{{CoordinateMSG|1 | ||
|{{CoordinateLAT |{{{lat|}}} }} | |{{CoordinateLAT |{{{lat|}}} }} | ||
Zeile 69: | Zeile 67: | ||
|label_style={{{label_style|}}} | |label_style={{{label_style|}}} | ||
|label_color={{{label_color|}}} | |label_color={{{label_color|}}} | ||
|marktarget= {{#if:{{{marktarget|}}} | |marktarget= {{#if:{{{marktarget|}}}|{{{marktarget}}}|{{CoordinateLINK | ||
|bare=1 | |||
|NS={{#iferror:{{CoordinateLAT |{{{lat|}}} }}|}} | |NS={{#iferror:{{CoordinateLAT |{{{lat|}}} }}|}} | ||
|EW={{#iferror:{{CoordinateLONG|{{{long|}}} }}|}} | |EW={{#iferror:{{CoordinateLONG|{{{long|}}} }}|}} | ||
|type ={{#switch: {{{type|}}} | |type ={{#switch: {{{type|}}} | ||
|country|state|adm1st|adm2nd|city|isle|airport|mountain|waterbody|forest|landmark={{{type}}} | |country|state|adm1st|adm2nd|city|isle|airport|mountain|waterbody|forest|landmark|landscape|railwaystation|building|event={{{type}}} | ||
|example={{#if:{{NAMESPACE}}|{{{type}}}|landmark}} | |example={{#if:{{NAMESPACE}}|{{{type}}}|landmark}} | ||
|#default=landmark | |#default=landmark | ||
Zeile 85: | Zeile 82: | ||
|dim ={{{dim|}}} | |dim ={{{dim|}}} | ||
|label ={{#if:{{{name|}}}|{{urlencode:{{{name|}}}}}|{{urlencode:{{{label|}}}}}}} | |label ={{#if:{{{name|}}}|{{urlencode:{{{name|}}}}}|{{urlencode:{{{label|}}}}}}} | ||
|0={{#if:{{FULLPAGENAME:{{{label|}}}}}|{{{label}}}}} {{#ifeq:{{{position|none}}}|none||({{Coordinate to {{#titleparts:{{CoordinateRR DEFAULT|{{{region|{{Positionskarte {{{1|Erde}}}|ISO 3166-2}}}}}}}|1|1}} for maps | |0= | ||
}}}} | |||
|marktarget_title= {{#if:{{{marktarget|}}}||{{#if:{{FULLPAGENAME:{{{label|}}}}}|{{{label}}}}} {{#ifeq:{{{position|none}}}|none||({{Coordinate to {{#titleparts:{{CoordinateRR DEFAULT|{{{region|{{Positionskarte {{{1|Erde}}}|ISO 3166-2}}}}}}}|1|1}} for maps | |||
|NS ={{CoordinateLAT |{{{lat|0}}} }} | |NS ={{CoordinateLAT |{{{lat|0}}} }} | ||
|EW ={{CoordinateLONG|{{{long|0}}} }} | |EW ={{CoordinateLONG|{{{long|0}}} }} | ||
|dim =0{{Positionskarte {{{1|Erde}}}|dim}}}})}} | |dim =0{{Positionskarte {{{1|Erde}}}|dim}}}})}}}} | ||
|background={{{background|}}} | |background={{{background|}}} | ||
}} | }} | ||
}} | }}<noinclude><!--Testframe end--></div> | ||
|} | |||
{{Dokumentation}} | |||
</noinclude> |