Vorlage:LocateArea: Unterschied zwischen den Versionen

aus FreewarWiki, der Referenz für Freewar
Zur Navigation springen Zur Suche springen
K (so, jetzt aber^^)
(+#)
Zeile 1: Zeile 1:
{{ifeq:{{{X1|none}}}|none||
{{#ifeq:{{{X1|none}}}|none||
{{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:399 + ({{{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:{{expr:399 + ({{{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:400px; 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:400px; 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>
Zeile 10: Zeile 10:
| <!-- Festland -->
| <!-- Festland -->
<!-- zuerst X (vertikal) -->
<!-- zuerst X (vertikal) -->
   {{ifexpr:({{{X1}}} > 130) and ({{{X1}}} < 143)| <!-- Linya-und-Felseninsel-Höhe -->
   {{#ifexpr:({{{X1}}} > 130) and ({{{X1}}} < 143)| <!-- Linya-und-Felseninsel-Höhe -->
     <div style="position:absolute; left:{{expr:({{{X1}}} - 55) * 5 - 1}}px; top:150px; width:{{expr:({{{X2}}} - {{{X1}}} + 1) * 5}}px; height:100px; 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:100px; border:1px solid red; border-width:0 1px;"></div>
   | <!-- normal hohes Festland -->
   | <!-- normal hohes Festland -->
Zeile 16: Zeile 16:
   }}
   }}
<!-- 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: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>
     <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>
   |
   |
     {{ifexpr:({{{Y1}}} > 122) and ({{{Y1}}} < 130)| <!-- Felseninsel-Breite -->
     {{#ifexpr:({{{Y1}}} > 122) and ({{{Y1}}} < 130)| <!-- Felseninsel-Breite -->
       <div style="position:absolute; left:394px; top:{{expr:({{{Y1}}} - 80) * 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:394px; top:{{expr:({{{Y1}}} - 80) * 5 - 1}}px; width:60px; height:{{expr:({{{Y2}}} - {{{Y1}}} + 1) * 5 }}px; border:1px solid red; border-width:1px 0;"></div>
     | <!-- normal breites Festland -->
     | <!-- normal breites Festland -->

Version vom 22. November 2006, 13:22 Uhr