Vorlage:LocateArea: Unterschied zwischen den Versionen

aus FreewarWiki, der Referenz für Freewar
Zur Navigation springen Zur Suche springen
(+#)
K (noch mehr # ^^)
Zeile 2: Zeile 2:
{{#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>
   | <!-- Narubia -->
   | <!-- Narubia -->
     <div style="position:absolute; left:{{#expr:394 + ({{{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:{{#expr:394 + ({{{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:395px; 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:395px; 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-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 -->
     <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>
     <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: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 -->
       <div style="position:absolute; left:0; top:{{expr:({{{Y1}}} - 80) * 5 - 1}}px; width:390px; 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:390px; height:{{#expr:({{{Y2}}} - {{{Y1}}} + 1) * 5}}px; border:1px solid red; border-width:1px 0;"></div>
     }}
     }}
   }}
   }}
}}
}}
}}
}}

Version vom 22. November 2006, 20:15 Uhr