Template:Map/Layout/Counter: Difference between revisions

From FreewarWiki
Jump to navigation Jump to search
Istrugar (talk | contribs)
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..."
 
Istrugar (talk | contribs)
mNo edit summary
 
(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 12: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.