Vorlage:Minimap with marker: Unterschied zwischen den Versionen
Aus RTW
Wiese (Diskussion | Beiträge) (putting marker class on marker's root div) |
Wiese (Diskussion | Beiträge) (no html for vars) |
||
(14 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
<html> | <html> | ||
− | + | <div class="map"> | |
− | <div class="map"> | + | <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:45px; left: | + | <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="14" width="9" src="/images/layout/mapmarker.png" alt=""> | + | </div> |
− | </div> | + | </div> |
− | </div> | + | <div class="flag" title=".</html>{{{region|?}}}<html>"> |
− | <div class="flag"> | ||
</html> | </html> | ||
− | {{Iso_flag | + | {{Iso_flag |
− | |region={{{region|}}} | + | |region={{{region|}}} |
− | }} | + | }} |
− | <html> | + | <html> |
− | + | </div> | |
− | |||
− | |||
</html> | </html> |
Aktuelle Version vom 13. Mai 2013, 23:16 Uhr