Difference between revisions of "Template:Map"

From FreewarWiki
Jump to: navigation, search
(update)
 
(update)
Line 8: Line 8:
 
  -->{{#if:{{#varexists:top_unwalkable}}|{{#ifexpr:{{#var:top_unwalkable}} < {{#var:{{#var:name}}TopLeftY}}|{{#vardefine:{{#var:name}}TopLeftY|{{#var:top_unwalkable}}}}}}}}<!--
 
  -->{{#if:{{#varexists:top_unwalkable}}|{{#ifexpr:{{#var:top_unwalkable}} < {{#var:{{#var:name}}TopLeftY}}|{{#vardefine:{{#var:name}}TopLeftY|{{#var:top_unwalkable}}}}}}}}<!--
 
  -->{{#if:{{#varexists:bottom_unwalkable}}|{{#ifexpr:{{#var:bottom_unwalkable}} > {{#var:{{#var:name}}BottomRightY}}|{{#vardefine:{{#var:name}}BottomRightY|{{#var:bottom_unwalkable}}}}}}}}<!--
 
  -->{{#if:{{#varexists:bottom_unwalkable}}|{{#ifexpr:{{#var:bottom_unwalkable}} > {{#var:{{#var:name}}BottomRightY}}|{{#vardefine:{{#var:name}}BottomRightY|{{#var:bottom_unwalkable}}}}}}}}<!--
  -->{{#vardefine:map_mountain|{{#if:{{{Mountain|}}}|{{#ifeq:{{{Mountain}}}|none|-|+}}|{{#var:{{#var:name}}Coord}}}}}}<!--
+
  -->{{#vardefine:map_mountain|{{#if:{{{Mountain|}}}|{{#ifeq:{{{Mountain}}}|none|-|+}}|{{#var:{{#var:name}}Coords}}}}}}<!--
 
  -->{{#vardefine:{{#var:name}}LoopX|{{#expr:{{#ifeq:{{#var:map_mountain}}|+|2|0}} + {{#expr:{{#var:{{#var:name}}BottomRightX}} - {{#var:{{#var:name}}TopLeftX}} + 1}}}}}}<!--
 
  -->{{#vardefine:{{#var:name}}LoopX|{{#expr:{{#ifeq:{{#var:map_mountain}}|+|2|0}} + {{#expr:{{#var:{{#var:name}}BottomRightX}} - {{#var:{{#var:name}}TopLeftX}} + 1}}}}}}<!--
 
  -->{{#vardefine:{{#var:name}}LoopY|{{#expr:{{#ifeq:{{#var:map_mountain}}|+|2|0}} + {{#expr:{{#var:{{#var:name}}BottomRightY}} - {{#var:{{#var:name}}TopLeftY}} + 1}}}}}}<!--  
 
  -->{{#vardefine:{{#var:name}}LoopY|{{#expr:{{#ifeq:{{#var:map_mountain}}|+|2|0}} + {{#expr:{{#var:{{#var:name}}BottomRightY}} - {{#var:{{#var:name}}TopLeftY}} + 1}}}}}}<!--  
Line 15: Line 15:
 
           |Counter
 
           |Counter
 
           |Start|{{#expr:{{#var:{{#var:name}}TopLeftX}} - {{#ifeq:{{#var:map_mountain}}|+|2|1}}}}
 
           |Start|{{#expr:{{#var:{{#var:name}}TopLeftX}} - {{#ifeq:{{#var:map_mountain}}|+|2|1}}}}
           |Template|Map/Coord
+
           |Template|Map/Coords
 
           |Countparametername|1
 
           |Countparametername|1
 
  }}<!--
 
  }}<!--
Line 22: Line 22:
 
  }}<!--
 
  }}<!--
 
  --><includeonly><!--
 
  --><includeonly><!--
   -->{{Map/End/{{#ifeq:{{#var:{{#var:name}}Coord}}|+|Area|Dungeon}}|{{#var:name}}|{{#var:locateRegion_needFieldData}}}}<!--
+
   -->{{Map/End/{{#ifeq:{{#var:{{#var:name}}Coords}}|+|Area|Dungeon}}|{{#var:name}}|{{#var:locateRegion_needFieldData}}}}<!--
 
  --></includeonly><!--
 
  --></includeonly><!--
 
  --><noinclude><!--
 
  --><noinclude><!--
Line 37: Line 37:
  
 
--><noinclude><!--
 
--><noinclude><!--
  -->{{Documentation}}<!--
+
  -->{{GermanLinking|Name:DE={{{Name:DE|Vorlage:Karte}}}}}{{Documentation}}<!--
 
  -->[[Category:Map templates|!]]<!--
 
  -->[[Category:Map templates|!]]<!--
 
--></noinclude>
 
--></noinclude>
 
[[de:Vorlage:Karte]]
 

Revision as of 21:38, 24 January 2017

Error creating thumbnail: Unable to save thumbnail to destination
Attention! We are sorry to tell you, that you can't use the whole service of our map system, because you are using Microsoft Internet-Explorer, which is not able to shows the maps properly because of some technical errors.
In case blue and brown pictures appear on top of the fields, refresh your page. (press [F5]).
Redmagicsphere.gif Red magic sphere (Use)


[Create] Documentation

No documentation page has been created for this template. If you are familiar with this template, you should create a documentation page. For more information, see Help:Templates.