Difference between revisions of "Template:Map/Layout/Counter"

From FreewarWiki
Jump to: navigation, search
(Created page with "<!-- Calculate the relative X and Y; LoopCount contains the quantity on so far iterations (Start: 1) -->{{#vardefine:relative_Y|{{#expr:trunc(({{{LoopCount}}} - 1) / {{#var...")
 
m
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
 
-->{{#vardefine:relative_X|{{#expr:(({{{LoopCount}}} - 1) mod {{#var:{{#var:name}}LoopX}}) - 1}}}}<!--
 
-->{{#vardefine:relative_X|{{#expr:(({{{LoopCount}}} - 1) mod {{#var:{{#var:name}}LoopX}}) - 1}}}}<!--
  
-->{{#ifexpr:{{#var:relative_Y}} + {{#var:{{#var:name}}TopLeftY}} {{#ifeq:{{#var:map_bergfelder}}|+|-|+}} 1 <= {{#var:{{#var:name}}BottomRightY}}|<!--
+
-->{{#ifexpr:{{#var:relative_Y}} + {{#var:{{#var:name}}TopLeftY}} {{#ifeq:{{#var:map_mountain}}|+|-|+}} 1 <= {{#var:{{#var:name}}BottomRightY}}|<!--
  
 
Binding coordinates if necessary. (Beginning of line)
 
Binding coordinates if necessary. (Beginning of line)

Latest revision as of 13:35, 12 April 2018

Expression error: Unexpected < operator.
[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.