Vorlage:Minimap with marker: Unterschied zwischen den Versionen

Aus RTW

(switching to new map image)
(no html for vars)
 
(25 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
 
<html>
 
<html>
<div style="position:relative; width:180px; height:90px; overflow:hidden;">
+
<div class="map">
  <div style="position:absolute;">
+
<img height="90" width="180" src="/images/layout/worldmap-180.png" alt="">
    <img height="90" width="180" src="/images/layout/worldmap-180.png" alt="">
+
</div>
  </div>
+
<div style="position:absolute; top:45px; left:90px;" class="marker">
  <div style="position:absolute; top:47px; left:88px;">
+
<div style="position:absolute; bottom:</html>{{#expr:floor({{{NS|0}}}/2)}}<html>px; left:</html>{{#expr:floor({{{EW|0}}}/2)}}<html>px;">
    <div style="position:absolute; bottom:</html>{{#expr:floor({{{NS|0}}}/2)}}<html>px; left:</html>{{#expr:floor({{{EW|0}}}/2)}}<html>px;">
+
<img height="14" width="9" src="/images/layout/mapmarker.png" alt="</html>{{{NS}}}, {{{EW}}}<html>" />
      <img height="8" width="8" src="/images/layout/8px-Red_pog.svg.png" alt="">
+
</div>
    </div>
+
</div>
  </div>
+
<div class="flag" title=".</html>{{{region|?}}}<html>">
</div>
+
</html>
 +
{{Iso_flag
 +
|region={{{region|}}}
 +
}}
 +
<html>
 +
</div>
 
</html>
 
</html>

Aktuelle Version vom 13. Mai 2013, 23:16 Uhr

{{{NS}}}, {{{EW}}}