Sjabloon:Positiekaart~: verschil tussen versies
Uit Radiopedia
k (1 versie: import vanuit de.wikipedia.org) |
Geen bewerkingssamenvatting |
||
(2 tussenliggende versies door 2 gebruikers niet weergegeven) | |||
Regel 1: | Regel 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|}}} | {{{Alternativkarte}}} | {{ | |<div class="positionmap" style="position: relative; z-index: 0; padding: 0; border: 1px solid {{#if:{{{border|}}}|{{{border}}}|#CCCCCC}};">[[image:{{#if: {{{Alternativkarte|}}} | {{{Alternativkarte}}} | {{Positiekaart {{{1|Erde}}}|image}} }}|frameless|{{#if:{{{width|x}}}|{{{width|240}}}px|upright=1}}|center|{{#if: {{{label|}}} | ||
| {{{label}}} | | {{{label}}} | ||
| {{PAGENAME}} | | {{PAGENAME}} | ||
}} ({{ | }} ({{Positiekaart {{{1|Erde}}}|name}})]] <!-- begin --> | ||
</noinclude>{{#if:{{{Y|}}}{{{X|}}} | </noinclude>{{#if:{{{Y|}}}{{{X|}}} | ||
|{{ | |{{Positiekaart~* | ||
|Y={{{Y|50}}} | |Y={{{Y|50}}} | ||
|X={{{X|50}}} | |X={{{X|50}}} | ||
Regel 18: | Regel 18: | ||
}} | }} | ||
|{{#if:{{{lat_deg|}}}{{{lon_deg|}}} | |{{#if:{{{lat_deg|}}}{{{lon_deg|}}} | ||
|<span style="display:none">[[Vorlage: | |<span style="display:none">[[Vorlage:Positiekaart/Wartung/DMS|DMS]]</span> | ||
}}{{#iferror:{{CoordinateLAT |{{{lat|}}} }}{{CoordinateLONG|{{{long|}}} }} | }}{{#iferror:{{CoordinateLAT |{{{lat|}}} }}{{CoordinateLONG|{{{long|}}} }} | ||
|{{#if:{{{name|}}}|{{{name}}}|{{#if:{{{label|}}}|{{{label}}}|{{PAGENAME}}}}}}:{{CoordinateMSG|1 | |{{#if:{{{name|}}}|{{{name}}}|{{#if:{{{label|}}}|{{{label}}}|{{PAGENAME}}}}}}:{{CoordinateMSG|1 | ||
Regel 26: | Regel 26: | ||
}}{{#if:{{IstZahl|0{{{pop|}}}|N}}|<!--void-->|{{CoordinateMSG|9|{{{pop|}}}}} | }}{{#if:{{IstZahl|0{{{pop|}}}|N}}|<!--void-->|{{CoordinateMSG|9|{{{pop|}}}}} | ||
}}{{#if:{{IstZahl|0{{{elevation|}}}|R|2}}|<!--void-->|{{CoordinateMSG|7|{{{elevation|}}}}} | }}{{#if:{{IstZahl|0{{{elevation|}}}|R|2}}|<!--void-->|{{CoordinateMSG|7|{{{elevation|}}}}} | ||
}}{{ | }}{{Positiekaart~* | ||
|LAT ={{#iferror:{{CoordinateLAT |{{{lat|}}} }}|}} | |LAT ={{#iferror:{{CoordinateLAT |{{{lat|}}} }}|}} | ||
|LONG={{#iferror:{{CoordinateLONG|{{{long|}}} }}|}} | |LONG={{#iferror:{{CoordinateLONG|{{{long|}}} }}|}} | ||
|Y={{#iferror:{{#expr:{{#if:{{ | |Y={{#iferror:{{#expr:{{#if:{{Positiekaart {{{1|Erde}}}|y}} | ||
|{{ | |{{Positiekaart {{{1|Erde}}}|y | ||
|{{CoordinateLAT |{{{lat|}}} }} | |{{CoordinateLAT |{{{lat|}}} }} | ||
|{{CoordinateLONG|{{{long|}}} }} | |{{CoordinateLONG|{{{long|}}} }} | ||
}} | }} | ||
| 100 | | 100 | ||
*({{ | *({{Positiekaart {{{1|Erde}}}|top}} | ||
- {{CoordinateLAT |{{{lat|}}} }} | - {{CoordinateLAT |{{{lat|}}} }} | ||
) / ({{ | ) / ({{Positiekaart {{{1|Erde}}}|top}} - {{Positiekaart {{{1|Erde}}}|bottom}}) round 1 | ||
}}}}|0}} | }}}}|0}} | ||
|X={{#iferror:{{#expr:{{#if:{{ | |X={{#iferror:{{#expr:{{#if:{{Positiekaart {{{1|Erde}}}|x}} | ||
|{{ | |{{Positiekaart {{{1|Erde}}}|x | ||
|{{CoordinateLAT |{{{lat|}}} }} | |{{CoordinateLAT |{{{lat|}}} }} | ||
|{{CoordinateLONG|{{{long|}}} }} | |{{CoordinateLONG|{{{long|}}} }} | ||
Regel 46: | Regel 46: | ||
| 100 | | 100 | ||
*(({{CoordinateLONG|{{{long|}}} }}<0) | *(({{CoordinateLONG|{{{long|}}} }}<0) | ||
*({{ | *({{Positiekaart {{{1|Erde}}}|right}}<{{Positiekaart {{{1|Erde}}}|left}})*360 | ||
+{{CoordinateLONG|{{{long|}}} }} | +{{CoordinateLONG|{{{long|}}} }} | ||
-{{ | -{{Positiekaart {{{1|Erde}}}|left}} | ||
) / | ) / | ||
( ({{ | ( ({{Positiekaart {{{1|Erde}}}|right}}<{{Positiekaart {{{1|Erde}}}|left}})*360 | ||
+ {{ | + {{Positiekaart {{{1|Erde}}}|right}} | ||
- {{ | - {{Positiekaart {{{1|Erde}}}|left}} | ||
) round 1 | ) round 1 | ||
}}}}|0}} | }}}}|0}} | ||
Regel 59: | Regel 59: | ||
|marksize= {{#if:{{{marksize|}}} | |marksize= {{#if:{{{marksize|}}} | ||
|{{{marksize}}} | |{{{marksize}}} | ||
|{{#if:{{ | |{{#if:{{Positiekaart {{{1|Erde}}}|marksize}}|{{Positiekaart {{{1|Erde}}}|marksize}}|8}} | ||
}} | }} | ||
|mark={{#if: {{{mark|}}} | |mark={{#if: {{{mark|}}} | ||
|{{{mark}}} | |{{{mark}}} | ||
|{{#if:{{ | |{{#if:{{Positiekaart {{{1|Erde}}}|mark}}|{{Positiekaart {{{1|Erde}}}|mark}}|Red pog.svg}} | ||
}} | }} | ||
|label={{{label|{{PAGENAME}}}}} | |label={{{label|{{PAGENAME}}}}} | ||
Regel 85: | Regel 85: | ||
|dim ={{{dim|}}} | |dim ={{{dim|}}} | ||
|label ={{urlencode:{{{name|}}}}} | |label ={{urlencode:{{{name|}}}}} | ||
|0={{#if:{{FULLPAGENAME:{{{label|}}}}}|{{{label}}}}} {{#ifeq:{{{position|none}}}|none||({{Coordinate to {{#titleparts:{{CoordinateRR DEFAULT|{{{region|{{ | |0={{#if:{{FULLPAGENAME:{{{label|}}}}}|{{{label}}}}} {{#ifeq:{{{position|none}}}|none||({{Coordinate to {{#titleparts:{{CoordinateRR DEFAULT|{{{region|{{Positiekaart {{{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{{ | |dim =0{{Positiekaart {{{1|Erde}}}|dim}}}})}} | ||
}} | }} | ||
}} | }} | ||
Regel 95: | Regel 95: | ||
}}<noinclude><!--Testframe end--></div> | }}<noinclude><!--Testframe end--></div> | ||
|} | |} | ||
{{ | {{Documentation}} | ||
</noinclude> | </noinclude> |
Huidige versie van 22 okt 2015 om 20:50
Positiekaart~ zonder coördinaten |
[aanmaken] Sjabloondocumentatie
Voeg categoriën toe aan de /doc subpagina. Subpagina's van dit sjabloon. |