Vorlage:Positionskarte: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Vorlage:Positionskarte>Schizoschaf K (+inuse) |
Vorlage:Positionskarte>Schizoschaf K (code kopiert von http://en.wikipedia.org/w/index.php?title=Template:Location_map&oldid=72181998) |
||
Zeile 1: | Zeile 1: | ||
<includeonly><div style="float:{{{float|right}}};clear:{{{float|right}}};width:{{#expr:{{{width|240}}}+4}}px;padding:4px;border:solid silver 1px;margin:4px;background:white"> | |||
<div style="position:relative;border:solid silver 1px;padding:0px;width:{{{width|240}}}px">[[Image:{{Location map {{{1}}}|image}}|{{{width|240}}}px]]<br/><div style="position:absolute;z-index:200; | |||
top:{{#expr:100*({{Location map {{{1}}}|top}}-{{{lat}}}) / ({{Location map {{{1}}}|top}}-{{Location map {{{1}}}|bottom}}) round 1}}%; | |||
left:{{#expr:100*({{{long}}}-{{Location map {{{1}}}|left}}) / ({{Location map {{{1}}}|right}}-{{Location map {{{1}}}|left}}) round 1}}%;height:0;width:0;margin:0;padding:0;"> | |||
<div style="position:relative;top:-4px;left:-4px;width:8px;text-align:center;z-index:201">[[Image:{{{mark|Red_pog.svg}}}|8x8px]]</div> | |||
{{#switch:{{{position|right}}} | |||
|right=<div style="font-size:90%;line-height:110%;position:relative;top:-1.5em;left:0.5em;text-align:left;width:6em;z-index:202;"> | |||
|left=<div style="font-size:90%;line-height:110%;position:relative;top:-1.5em;left:-6.5em;width:6em;text-align:right;z-index:202;"> | |||
}}<span style="padding:1px;background:{{{background|none}}}">{{{label}}}</span> | |||
</div> | |||
</div> | |||
</div> | |||
<div style="font-size:90%">{{{caption|{{{label}}} on the map of {{Location map {{{1}}}|name}}}}}</div> | |||
</div></includeonly><noinclude> | |||
{{inuse|[[Benutzer:Schizoschaf|schizoschaf]] 13:09, 2. Sep 2006 (CEST)}} | {{inuse|[[Benutzer:Schizoschaf|schizoschaf]] 13:09, 2. Sep 2006 (CEST)}} | ||
</noinclude> |