Vorlage:Positionskarte~*: Unterschied zwischen den Versionen

Aus HuskyWiki
Die Seite wurde neu angelegt: „<noinclude>{{Tausendfach verwendet}} <!-- Testframe! --> {| |<div class="positionmap" style="position: relative; z-index: 0; padding: 0; border: 1px solid {{#i…“
 
K 1 Version importiert
 
(3 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt)
Zeile 6: Zeile 6:
}} ({{Positionskarte {{{1|Erde}}}|name}})]] <!-- begin -->
}} ({{Positionskarte {{{1|Erde}}}|name}})]] <!-- begin -->
</noinclude>{{#if:{{{LAT}}}{{{LONG}}}
</noinclude>{{#if:{{{LAT}}}{{{LONG}}}
|<div style="
|<div style="{{#tag:nowiki|
  position:absolute;
  position:absolute;
  top:{{#ifexpr:{{{Y|100}}}<0|0|{{#ifexpr:{{{Y|100}}}>100|100|{{{Y|100}}}}}}}%;  
  top:{{#ifexpr:{{{Y|100}}}<0|0|{{#ifexpr:{{{Y|100}}}>100|100|{{{Y|100}}}}}}}%;  
Zeile 12: Zeile 12:
  height:0;  
  height:0;  
  width:0;  
  width:0;  
"><div style="position:relative;z-index:100;left:-{{#expr:{{{marksize|8}}}/2}}px;top:-{{#expr:{{{marksize|8}}}/2}}px;width:{{{marksize|8}}}px;height:{{{marksize|8}}}px;line-height:0px;" >{{#if:{{{marktarget<includeonly>|</includeonly>}}}|{{#tag:imagemap|Bild:{{{mark|Red pog.svg}}}{{!}}{{{marksize|8}}}x{{{marksize|8}}}px{{!}}{{{label|{{PAGENAME}}}}}
}}"><div style="{{#tag:nowiki|position:relative;z-index:100;left:-{{#expr:{{{marksize|8}}}/2}}px;top:-{{#expr:{{{marksize|8}}}/2}}px;width:{{{marksize|8}}}px;height:{{{marksize|8}}}px;line-height:0px;}}" >{{#if:{{{marktarget|}}}<noinclude>1</noinclude>|[[Bild:{{{mark|Red pog.svg}}}|{{{marksize|8}}}x{{{marksize|8}}}px|{{{marktarget_title|}}}|alt=|verweis={{#tag:nowiki|{{{marktarget}}}}}]]}}</div>
default {{{marktarget|[[{{FULLPAGENAME}}]]}}}
desc none }}}}</div>


{{#ifeq:{{{position|}}}|none||<table style="
{{#ifeq:{{{position|}}}|none||<table style="{{#tag:nowiki|
  font-size:{{#if:{{{label_size|}}}|{{{label_size}}}|90}}%;  
  font-size:{{#if:{{{label_size|}}}|{{{label_size}}}|90}}%;  
  border:none;  
  border:none;  
Zeile 48: Zeile 46:
  |center=center; top:-2em; height:4em; {{#ifeq: {{{wrap}}} | manual | left:-5em; | left:-3em }}
  |center=center; top:-2em; height:4em; {{#ifeq: {{{wrap}}} | manual | left:-5em; | left:-3em }}
  }}
  }}
"><tr><td style="border:none; vertical-align:middle;"><span style="position:relative;
}}"><tr><td style="border:none; vertical-align:middle;"><span style="{{#tag:nowiki|position:relative;
  z-index:9;  
  z-index:9;  
{{#switch:{{lc:{{#titleparts:{{{label_style|}}}|1|1}}}}
{{#switch:{{lc:{{#titleparts:{{{label_style|}}}|1|1}}}}
Zeile 114: Zeile 112:
}}
}}
{{#if:{{{label_color|}}}|color:{{{label_color}}}; }}{{#if:{{{background|}}}|background-color:{{{background}}}; }}
{{#if:{{{label_color|}}}|color:{{{label_color}}}; }}{{#if:{{{background|}}}|background-color:{{{background}}}; }}
">{{{label|{{PAGENAME}}}}} {{#ifexpr:{{{X|0}}}<0 or {{{X|0}}}>100 or {{{Y|0}}}<0 or {{{Y|0}}}>100 |nicht auf der Karte<span style="display:none">[[Vorlage:Positionskarte/Wartung/Koordinate außerhalb|p3]]</span>}}</span></td></tr></table>}}</div>
}}">{{{label|{{PAGENAME}}}}} {{#ifexpr:{{{X|0}}}<0 or {{{X|0}}}>100 or {{{Y|0}}}<0 or {{{Y|0}}}>100 |nicht auf der Karte<span style="display:none">[[Vorlage:Positionskarte/Wartung/Koordinate außerhalb|p3]]</span>}}</span></td></tr></table>}}</div>


|<div style="color:red; position:absolute; text-align: center; top:30%; left:0; height:0; width:100%; font-size:{{{label_size|120}}}%;"> {{#if:{{{label|{{PAGENAME}}}}}|{{{label|{{PAGENAME}}}}} ohne|keine}} Koordinaten</div>
|<div style="{{#tag:nowiki|color:red; position:absolute; text-align: center; top:30%; left:0; height:0; width:100%; font-size:{{{label_size|120}}}%;}}"> {{#if:{{{label|{{PAGENAME}}}}}|{{{label|{{PAGENAME}}}}} ohne|keine}} Koordinaten</div>
}}<noinclude></div>
}}<noinclude></div>
|} <!-- Testframe end -->
|} <!-- Testframe end -->

Aktuelle Version vom 10. September 2024, 15:56 Uhr

Datei:Stop hand.svg
Positionskarte~* (Erde)
Positionskarte~* (Erde)
Positionskarte~*

Vorlage:Positionskarte+