Vorlage:GebietAufKarte: Unterschied zwischen den Versionen

aus FreewarWiki, der Referenz für Freewar
Zur Navigation springen Zur Suche springen
(diverse fixes; jetzt sollte alles tun =))
K (Graphikfix... der letzte ;) Evtl. lagere ich demnächst hier ein bisschen aus, wird unübersichtlich... ginge mit Vorlage wohl einfacher)
Zeile 74: Zeile 74:
{{ifexpr:{{{X1}}} > 490| <!-- Narubia oder gefrorene Insel -->
{{ifexpr:{{{X1}}} > 490| <!-- Narubia oder gefrorene Insel -->
   {{ifexpr:{{{X1}}} > 1000| <!-- Gefrorene Insel -->
   {{ifexpr:{{{X1}}} > 1000| <!-- Gefrorene Insel -->
     <div style="position:absolute; left:{{expr:384 + ({{{X1}}} - 1002) * 5}}px; top:69px; width:{{expr:({{{X2}}} - {{{X1}}} + 1) * 5}}px; height:45px; border:1px solid red; border-width:0 1px;"></div>
     <div style="position:absolute; left:{{expr:384 + ({{{X1}}} - 1002) * 5}}px; top:70px; width:{{expr:({{{X2}}} - {{{X1}}} + 1) * 5}}px; height:45px; border:1px solid red; border-width:0 1px;"></div>
     <div style="position:absolute; left:384px; top:{{expr:69 + ({{{Y1}}} - 1001) * 5}}px; width:55px; height:{{expr:({{{Y2}}} - {{{Y1}}} + 1) * 5}}px; border:1px solid red; border-width:1px 0;"></div>
     <div style="position:absolute; left:385px; top:{{expr:69 + ({{{Y1}}} - 1001) * 5}}px; width:55px; height:{{expr:({{{Y2}}} - {{{Y1}}} + 1) * 5}}px; border:1px solid red; border-width:1px 0;"></div>
   | <!-- Narubia -->
   | <!-- Narubia -->
     <div style="position:absolute; left:{{expr:379 + ({{{X1}}} - 498) * 5}}px; top:-1px; width:{{expr:({{{X2}}} - {{{X1}}} + 1) * 5}}px; height:45px; border:1px solid red; border-width:0 1px;"></div>
     <div style="position:absolute; left:{{expr:379 + ({{{X1}}} - 498) * 5}}px; top:0; width:{{expr:({{{X2}}} - {{{X1}}} + 1) * 5}}px; height:45px; border:1px solid red; border-width:0 1px;"></div>
     <div style="position:absolute; left:379px; top:{{expr:({{{Y1}}} - 50) * 5 - 1}}px; width:60px; height:{{expr:({{{Y2}}} - {{{Y1}}}  + 1) * 5}}px; border:1px solid red; border-width:1px 0;"></div>
     <div style="position:absolute; left:380px; top:{{expr:({{{Y1}}} - 50) * 5 - 1}}px; width:60px; height:{{expr:({{{Y2}}} - {{{Y1}}}  + 1) * 5}}px; border:1px solid red; border-width:1px 0;"></div>
   }}
   }}
| <!-- Festland -->
| <!-- Festland -->
<!-- zuerst X (vertikal) -->
<!-- zuerst X (vertikal) -->
   {{ifexpr:({{{X1}}} > 130) and ({{{X1}}} < 143)| <!-- Linya-Höhe -->
   {{ifexpr:({{{X1}}} > 130) and ({{{X1}}} < 143)| <!-- Linya-Höhe -->
     <div style="position:absolute; left:{{expr:({{{X1}}} - 55) * 5 - 1}}px; top:149px; width:{{expr:({{{X2}}} - {{{X1}}} + 1) * 5}}px; height:60px; border:1px solid red; border-width:0 1px;"></div>
     <div style="position:absolute; left:{{expr:({{{X1}}} - 55) * 5 - 1}}px; top:150px; width:{{expr:({{{X2}}} - {{{X1}}} + 1) * 5}}px; height:60px; border:1px solid red; border-width:0 1px;"></div>
   | <!-- normal hohes Festland -->
   | <!-- normal hohes Festland -->
     <div style="position:absolute; left:{{expr:({{{X1}}} - 55) * 5 - 1}}px; top:-1px; width:{{expr:({{{X2}}} - {{{X1}}} + 1) * 5}}px; height:210px; border:1px solid red; border-width:0 1px;"></div>
     <div style="position:absolute; left:{{expr:({{{X1}}} - 55) * 5 - 1}}px; top:0; width:{{expr:({{{X2}}} - {{{X1}}} + 1) * 5}}px; height:210px; border:1px solid red; border-width:0 1px;"></div>
   }}
   }}
<!-- ab hier Y (horizontal) -->
<!-- ab hier Y (horizontal) -->
   {{ifexpr:({{{Y1}}} > 108) and ({{{Y1}}} < 122)| <!-- Linya-Breite -->
   {{ifexpr:({{{Y1}}} > 108) and ({{{Y1}}} < 122)| <!-- Linya-Breite -->
     <div style="position:absolute; left:-1px; top:{{expr:({{{Y1}}} - 80) * 5 - 1}}px; width:440px; height:{{expr:({{{Y2}}} - {{{Y1}}} + 1) * 5 }}px; border:1px solid red; border-width:1px 0;"></div>
     <div style="position:absolute; left:0; top:{{expr:({{{Y1}}} - 80) * 5 - 1}}px; width:440px; height:{{expr:({{{Y2}}} - {{{Y1}}} + 1) * 5 }}px; border:1px solid red; border-width:1px 0;"></div>
   | <!-- normal breites Festland -->
   | <!-- normal breites Festland -->
     <div style="position:absolute; left:-1px; top:{{expr:({{{Y1}}} - 80) * 5 - 1}}px; width:350px; height:{{expr:({{{Y2}}} - {{{Y1}}} + 1) * 5}}px; border:1px solid red; border-width:1px 0;"></div>
     <div style="position:absolute; left:0; top:{{expr:({{{Y1}}} - 80) * 5 - 1}}px; width:350px; height:{{expr:({{{Y2}}} - {{{Y1}}} + 1) * 5}}px; border:1px solid red; border-width:1px 0;"></div>
   }}
   }}
}}
}}

Version vom 3. Juli 2006, 22:30 Uhr