Difference between revisions 463791 and 463794 on dewikivoyage<includeonly>{{#ifexpr: ({{{x}}} < 0) or ({{{x}}} > 1) or ({{{y}}} < 0) or ({{{y}}} > 1) | <div style="position: absolute; width: 50%; top: 50%; left: 25%; color: #ff0000; font-weight: bold; text-align: center;">Fehlerhafte Koordinate {{{name}}}</div> | <div style="position: absolute; border-style: none; padding: 0; top: {{#expr: {{{y}}} * 100 }}%; left: {{#expr: {{{x}}} * 100 }}%;">{{#ifexpr: {{{marksize}}}= 0 | | {{#ifeq: {{{mark|}}}|none| | <div style="position: absolute; padding: 0; top: -{{#expr: ({{{marksize|5}}}-1) / 2 round0 }}px; left: -{{#expr: ({{{marksize|5}}}-1) / 2 round0 }}px;">{{#tag:imagemap|Image:{{{mark|Reddot.svg}}}|{{{marksize|5}}}x{{{marksize|5}}}px|top|{{{name}}} default {{{label|[[{{FULLPAGENAME}}]]}}} desc none ⏎ ⏎ }}</div>}} }}{{#ifeq: {{{label|}}}|none| | {{#if: {{{label|}}} | <table style="position: absolute; border: none; background-color: transparent; border-collapse: collapse; {{#switch: {{{labelWrap|}}} | manual = white-space: nowrap; width: 10em; | #default = width: 6em; }} {{#switch: {{{labelPosition|}}} | 1 = text-align: left; left: 0; bottom: {{#expr: {{{marksize|5}}} / 2 round0 }}px; | 2 = text-align: left; left: {{#expr: ({{{marksize|5}}}+3) / 2 round0 }}px; bottom: -2px; | 3 | right = text-align: left; left: {{#expr: ({{{marksize|5}}}+5) / 2 round0 }}px; top: -2em; height: 4em; | 4 = text-align: left; left: {{#expr: ({{{marksize|5}}}+3) / 2 round0 }}px; top: -2px; | 5 = text-align: left; left: 0; top: {{#expr: {{{marksize|5}}} / 2 round0 }}px; | 6 | bottom = text-align: center; {{#ifeq: {{{labelWrap}}} | manual | left: -5em | left: -3em }}; top: {{#expr: ({{{marksize|5}}}+3) / 2 round0 }}px; | 7 = text-align: right; right: 0; top: {{#expr: {{{marksize|5}}} / 2 round0 }}px; | 8 = text-align: right; right: {{#expr: ({{{marksize|5}}}+3) / 2 round0 }}px; top: -2px; | 9 | left = text-align: right; right: {{#expr: ({{{marksize|5}}}+5) / 2 round0 }}px; top: -2em; height: 4em; | 10 = text-align: right; right: {{#expr: ({{{marksize|5}}}+3) / 2 round0 }}px; bottom: -2px; | 11 = text-align: right; right: 0; bottom: {{#expr: {{{marksize|5}}} / 2 round0 }}px; | 12 | top = text-align: center; {{#ifeq: {{{labelWrap}}} | manual | left: -5em | left: -3em }}; bottom: {{#expr: ({{{marksize|5}}}+3) / 2 round0 }}px; | center = text-align: center; top: -2em; height: 4em; {{#ifeq: {{{labelWrap}}} | manual | left: -5em; | left: -3em }} | #default = {{#ifexpr: {{{y}}} <= 0.5 | top: {{#expr: ({{{marksize|5}}}+3) / 2 round0 }}px | bottom: {{#expr: ({{{marksize|5}}}+3) / 2 round0 }}px }}; {{Location map horizShift| x= {{{x}}} }} }}"><tr><td style="border: none; padding: 0; vertical-align: middle; {{#if: {{{labelBackground|}}} | background: {{{labelBackground}}}; }} {{#switch: {{{labelStyle|}}} | = font-weight: normal; | bold = font-weight: bold; | fett = font-weight: bold; | italic = font-style: italic; | kursiv = font-style: italic; | underline = text-decoration: underline; | letterspacing = letter-spacing: 0.1em; | wordspacing = word-spacing: 0.5em; | smallcaps = font-variant: small-caps; | uppercase = text-transform: uppercase; | region = font-weight: bold; text-transform: uppercase; color: #646464 | subregion = font-weight: bold; color: #646464 | waterbody = font-weight: bold; font-style: italic; letter-spacing: 0.1em; text-transform: uppercase; color: #2A6DB5 | mountain = font-weight: bold; font-style: italic; letter-spacing: 0.1em; color: #704040 | #default = {{{labelStyle}}} }}">{{{label}}}</td></tr></table> }} }} </div> }}</includeonly><noinclude> <div class="framedBox"> == de: == * '''Funktion:''' Die Vorlage setzt einen einzelnen Punkt auf eine Karte innerhalb einer Quickbar dar. '''Die Vorlage wird üblicherweise nicht direkt aufgerufen, sondern [[Vorlage:Location map addLocation|Location map addLocation]].''' * '''Verwendung:''' <code><nowiki>{{Location map setLocation|x= |y= |name= |label= |mark= |marksize= |labelStyle= |labelBackground= |labelWrap= |labelPosition= }}</nowiki></code> * '''Erforderliche Parameter:''' ** <code>|x</code> x-Position des Orts, zwischen 0 (links) und 1 (rechts). ** <code>|y</code> y-Position des Orts, zwischen 0 (oben) und 1 (unten). ** <code>|name</code> Bezeichnung auf Marker. ** <code>|label</code> Bezeichnung neben Marker. * '''Optionaler Parameter:''' ** <code>|mark</code> Datei des Bildpunkts ohne vorangestelltes Image:. Standard ist Reddot.svg. ** <code>|marksize</code> Größe des Bildpunkts. Standard ist 5px. ** <code>|labelStyle</code> Weitere Stilangaben für die Beschriftung des Markers. ** <code>|labelBackground</code> Hintergrund für die Beschriftung des Markers. ** <code>|labelPosition</code> Position der Beschriftung des Markers. Mögliche Werte sind top, bottom, left, right, auto und die Zahlen 1–12 entsprechend der Zahlenposition auf einem analogen Uhrenziffernblatt. ** <code>|labelWrap</code> Defeiniert den Textumbruch für die Beschriftung des Markers. ''auto'' (Standard) bedeutet automatischer Umruch, ''manual'' ohne Umbruch, Umbruch von Hand mit <nowiki><br /></nowiki>. </div> __NOTOC__ __NOEDITSECTION__ [[Kategorie:Vorlagen:Positionskarten|0Location map setLocation]] </noinclude> All content in the above text box is licensed under the Creative Commons Attribution-ShareAlike license Version 4 and was originally sourced from https://de.wikivoyage.org/w/index.php?diff=prev&oldid=463794.
![]() ![]() This site is not affiliated with or endorsed in any way by the Wikimedia Foundation or any of its affiliates. In fact, we fucking despise them.
|