Vorlage:Positionskarte>Herzi Pinki |
Vorlage:Positionskarte>Visi-on |
Zeile 1: |
Zeile 1: |
| <noinclude>{{Dokumentation}} | | <noinclude>{{Dokumentation}} |
| </noinclude><div style="width: {{#expr: {{{width|240}}} + 2 }}px; {{#if: {{{caption|}}} | | </noinclude>{{Positionskarte+ |
| | padding: 3px; border: 1px solid {{#if: {{{border|}}}
| | |{{{1|Deutschland}}} |
| | {{{border|none}}}
| | |border = {{{border|}}} |
| | #CCCCCC
| | |caption = {{{caption|}}} |
| }}; margin-left:4px; margin-right:0px; margin-top:4px; margin-bottom:4px;
| | |float = {{{float|}}} |
| }} {{#ifeq: {{{float|}}} | center
| | |width = {{{width|240}}} |
| | margin: 0 auto;
| | |Alternativkarte = {{{Alternativkarte|}}} |
| | float: {{{float|right}}}; clear: {{{float|right}}};
| | |places = {{#if:{{{lat|}}}{{{lat_deg|}}}|{{#if:{{{long|}}}{{{lon_deg|}}} |
| }} {{#if: {{{caption|}}} | ;background:#F9F9F9}}"><div style="position: relative;{{#ifeq: {{{border|}}} | none |
| | |{{Positionskarte~ |
| |border: 1px solid {{#if: {{{border|}}}
| | |{{{1|Deutschland}}} |
| | {{{border}}}
| | |label = {{{label|}}} |
| | #CCCCCC
| | |label_size = {{{label_size|}}} |
| }};
| | |mark = {{{mark|}}} |
| }} padding: 0px; width: {{{width|240}}}px">[[Bild:{{#if: {{{Alternativkarte|}}} | {{{Alternativkarte}}} | {{Positionskarte {{{1|Deutschland}}}|image}} }}|{{{width|240}}}px|{{#if: {{{label|}}} | | |marksize = {{{marksize|}}} |
| | {{{label}}} | | |marktarget = {{{marktarget|}}} |
| | {{PAGENAME}} | | |position = {{{position|}}} |
| }} auf der Karte von {{Positionskarte {{{1|Deutschland}}}|name}}]]<br /><div style="position: absolute; z-index: 2; top: {{#if:{{Positionskarte {{{1|Deutschland}}}|alternativsystem}}|{{Positionskarte {{{1|Deutschland}}}|y|{{#if: {{{lat_deg|}}}
| | |background = {{{background|}}} |
| | {{#expr: {{#ifeq: {{{lat_dir|}}}|S|-1|1}} * ({{{lat_deg|0}}} + ({{{lat_min|0}}} / 60) + ({{{lat_sec|0}}} / 3600)) }} | | <!--Coordinates Koordinaten --> |
| | |lat = {{#if: {{{lat_deg|}}} |
| | | {{CoordinateLAT |{{{lat_deg|}}}/{{{lat_min|}}}/{{{lat_sec|}}}/{{{lat_dir|}}} }} |
| | {{{lat|52.5}}} | | | {{{lat|52.5}}} |
| }}|{{#if: {{{lon_deg|}}} | | }} |
| | {{#expr: {{#ifeq: {{{lon_dir|}}}|W|-1|1}} * ({{{lon_deg|0}}} + ({{{lon_min|0}}} / 60) + ({{{lon_sec|0}}} / 3600)) }} | | |long = {{#if: {{{lon_deg|}}} |
| | | {{CoordinateLONG|{{{lon_deg|}}}/{{{lon_min|}}}/{{{lon_sec|}}}/{{{lon_dir}}} }} |
| | {{{long|13.4}}} | | | {{{long|13.4}}} |
| }}}}|{{#expr: | | }} |
| 100 * ({{Positionskarte {{{1|Deutschland}}}|top}} - {{#if: {{{lat_deg|}}} | | |type = {{{type|landmark}}} |
| | {{#expr: {{#ifeq: {{{lat_dir|}}}|S|-1|1}} * ({{{lat_deg|0}}} + ({{{lat_min|0}}} / 60) + ({{{lat_sec|0}}} / 3600)) }}
| | |pop = {{{pop|}}} |
| | {{{lat|52.5}}}
| | |elevation = {{{elevation|}}} |
| }}) / ({{Positionskarte {{{1|Deutschland}}}|top}} - {{Positionskarte {{{1|Deutschland}}}|bottom}}) round 1 | | |dim = {{{dim|}}} |
| }}}}%; left: {{#if:{{Positionskarte {{{1|Deutschland}}}|alternativsystem}}|{{Positionskarte {{{1|Deutschland}}}|x|{{#if: {{{lat_deg|}}}
| | |region = {{{region|DE}}} |
| | {{#expr: {{#ifeq: {{{lat_dir|}}}|S|-1|1}} * ({{{lat_deg|0}}} + ({{{lat_min|0}}} / 60) + ({{{lat_sec|0}}} / 3600)) }}
| | }}}}}}}} |
| | {{{lat|52.5}}}
| |
| }}|{{#if: {{{lon_deg|}}}
| |
| | {{#expr: {{#ifeq: {{{lon_dir|}}}|W|-1|1}} * ({{{lon_deg|0}}} + ({{{lon_min|0}}} / 60) + ({{{lon_sec|0}}} / 3600)) }}
| |
| | {{{long|13.4}}}
| |
| }}}}|{{#expr:
| |
| {{#expr:{{#if:{{Positionskarte {{{1|Deutschland}}}|crosses180}}|{{#ifeq: {{{lon_dir|}}}|W|-36000/({{Positionskarte {{{1|Deutschland}}}|left}}-{{Positionskarte {{{1|Deutschland}}}|right}})|}}|}}}} + 100 * ({{#if: {{{lon_deg|}}}
| |
| | {{#expr: {{#ifeq: {{{lon_dir|}}}|W|-1|1}} * ({{{lon_deg|0}}} + ({{{lon_min|0}}} / 60) + ({{{lon_sec|0}}} / 3600)) }}
| |
| | {{{long|13.4}}}
| |
| }} - {{Positionskarte {{{1|Deutschland}}}|left}}) / ({{Positionskarte {{{1|Deutschland}}}|right}} - {{Positionskarte {{{1|Deutschland}}}|left}}) round 1 | |
| }}}}%; height: 0; width: 0; margin: 0; padding: 0;"><div style="position: relative; text-align: center; {{#if: {{{marksize|}}}
| |
| | left: -{{#expr: {{{marksize}}} / 2 round 0 }}px; top: -{{#expr: {{{marksize}}} / 2 round 0 }}px; width: {{{marksize}}}px; font-size: {{{marksize}}}px;
| |
| | left: -{{#expr: {{#if: {{Positionskarte {{{1|Deutschland}}}|marksize}}|{{Positionskarte {{{1|Deutschland}}}|marksize}}|8}} / 2 round 0 }}px; top: -{{#expr: {{#if: {{Positionskarte {{{1|Deutschland}}}|marksize}}|{{Positionskarte {{{1|Deutschland}}}|marksize}}|8}} / 2 round 0 }}px; width: {{#if: {{Positionskarte {{{1|Deutschland}}}|marksize}}|{{Positionskarte {{{1|Deutschland}}}|marksize}}|8}}px; font-size: {{#if: {{Positionskarte {{{1|Deutschland}}}|marksize}}|{{Positionskarte {{{1|Deutschland}}}|marksize}}|8}}px;
| |
| }}">{{#tag:imagemap|
| |
| Bild:{{#if: {{{mark|}}}
| |
| | {{{mark}}}
| |
| | {{#if: {{Positionskarte {{{1|Deutschland}}}|mark}}|{{Positionskarte {{{1|Deutschland}}}|mark}}|Red pog.svg}}
| |
| }}{{!}}{{#if: {{{marksize|}}}
| |
| | {{{marksize}}}x{{{marksize}}} | |
| | {{#if: {{Positionskarte {{{1|Deutschland}}}|marksize}}|{{Positionskarte {{{1|Deutschland}}}|marksize}}|8}}x{{#if: {{Positionskarte {{{1|Deutschland}}}|marksize}}|{{Positionskarte {{{1|Deutschland}}}|marksize}}|8}}
| |
| }}px{{!}}{{#if: {{{label|}}}
| |
| | {{{label}}}
| |
| | {{PAGENAME}}
| |
| }}
| |
| default {{#if:{{{marktarget|}}}|[[{{{marktarget}}}]]|[{{KoordinateURL}}{{#if:{{{lat|}}}|{{{lat}}}_N|{{{lat_deg|0}}}_{{{lat_min|0}}}_{{{lat_sec|0}}}_{{{lat_dir|N}}}}}_{{#if:{{{long|}}}|{{{long}}}_E|{{{lon_deg|0}}}_{{{lon_min|0}}}_{{{lon_sec|0}}}_{{{lon_dir|O}}}}}{{#if:{{Positionskarte {{{1|Deutschland}}}|ISO 3166-1}}|_region:{{Positionskarte {{{1|Deutschland}}}|ISO 3166-1}}{{#if:{{Positionskarte {{{1|Deutschland}}}|ISO 3166-2}}|-{{Positionskarte {{{1|Deutschland}}}|ISO 3166-2}}|{{#if:{{{ISO 3166-2|}}}|-{{{ISO 3166-2}}}}}}}}}{{#if:{{{type|}}}|_type:{{{type}}}}}{{#if:{{{dim|}}}|_dim:{{{dim}}}}} {{#if:{{{label|}}}|{{#ifeq:{{{position|}}}|none| {{{label}}} (}}}}{{#if:{{{lat|}}}|{{#ifexpr:{{{lat}}}<0|{{#expr:-1*{{{lat}}} round 6}}° S|{{#expr:{{{lat}}} round 6}}° N}}|{{{lat_deg|0}}}° {{{lat_min|0}}}′ {{{lat_sec|0}}}″ {{{lat_dir|N}}}}}, {{#if:{{{long|}}}|{{#ifexpr:{{{long}}}<0|{{#expr:-1*{{{long}}} round 6}}° W|{{#expr:{{{long}}} round 6}}° O}}|{{{lon_deg|0}}}° {{{lon_min|0}}}′ {{{lon_sec|0}}}″ {{{lon_dir|O}}}}}{{#if:{{{label|}}}|{{#ifeq:{{{position|}}}|none|)}}}}]}}
| |
| desc none
| |
| }}
| |
| </div>{{#ifeq: {{{position|none}}} | none
| |
| |
| |
| |<div style="font-size: {{{label_size|90}}}%; line-height: 110%; position: relative; top: -1.5em; width: 6em; {{#switch: {{{position}}}
| |
| |left = left: -6.5em; text-align: right;
| |
| |right = left: 0.5em; text-align: left;
| |
| |top = top:-2.65em; left:-3em; text-align: center;
| |
| |bottom = top:-0.15em; left: -3em; text-align: center;
| |
| |left: 0.5em; text-align: left;
| |
| }}"><span style="padding: 1px; {{#if: {{{background|}}} | |
| | background-color: {{{background}}}; | |
| }}">{{{label|}}}</span></div>
| |
| }}</div></div><div style="font-size: 90%">{{{caption|{{#if: {{{label|}}}
| |
| | {{{label}}}
| |
| | {{PAGENAME}}
| |
| }} auf der Karte von {{Positionskarte {{{1|Deutschland}}}|name}}}}}</div></div>
| |