Difference between revisions of "Template:TentativeLOOPString10"

From Space Engineers Wiki
Jump to: navigation, search
Line 2: Line 2:
 
{{#vardefineecho:X0|{{#explode:{{{userparam}}}|;|0}}}}
 
{{#vardefineecho:X0|{{#explode:{{{userparam}}}|;|0}}}}
 
{{#vardefineecho:X1|0}}
 
{{#vardefineecho:X1|0}}
{{#vardefineecho:A1|{{#explode:{{{userparam}}}|;|1}}}}
+
{{#vardefineecho:A1|{{Property:{{#explode:{{{userparam}}}|;|1}}}}}}
 
{{#vardefineecho:A2|{{#explode:{{{userparam}}}|;|2}}}}
 
{{#vardefineecho:A2|{{#explode:{{{userparam}}}|;|2}}}}
 
{{#vardefineecho:A3|{{#explode:{{{userparam}}}|;|3}}}}
 
{{#vardefineecho:A3|{{#explode:{{{userparam}}}|;|3}}}}
Line 21: Line 21:
 
{{#vardefineecho:B8|{{#explode:{{{userparam}}}|;|18}}}}
 
{{#vardefineecho:B8|{{#explode:{{{userparam}}}|;|18}}}}
 
{{#vardefineecho:B9|{{#explode:{{{userparam}}}|;|19}}}}
 
{{#vardefineecho:B9|{{#explode:{{{userparam}}}|;|19}}}}
{{#vardefineecho:BA|{{#explode:{{{userparam}}}|;|10}}}}
+
{{#vardefineecho:BA|{{#explode:{{{userparam}}}|;|20}}}}
 
{{#ifeq:{{#var:A1}}|{{#var:X0}}|{{#vardefineecho:X1|{{#expr:X1+B1}}}}}}
 
{{#ifeq:{{#var:A1}}|{{#var:X0}}|{{#vardefineecho:X1|{{#expr:X1+B1}}}}}}
 
{{#ifeq:{{#var:A2}}|{{#var:X0}}|{{#vardefineecho:X1|{{#expr:X1+B2}}}}}}
 
{{#ifeq:{{#var:A2}}|{{#var:X0}}|{{#vardefineecho:X1|{{#expr:X1+B2}}}}}}
Line 33: Line 33:
 
{{#ifeq:{{#var:AA}}|{{#var:X0}}|{{#vardefineecho:X1|{{#expr:X1+BA}}}}}}
 
{{#ifeq:{{#var:AA}}|{{#var:X0}}|{{#vardefineecho:X1|{{#expr:X1+BA}}}}}}
 
X1={{#var:X1}}<br/>
 
X1={{#var:X1}}<br/>
1={{{1}}}<br/>
+
1={{{1}}}<br/>----</onlyinclude>
2={{{2}}}<br/>----
 
</onlyinclude>
 

Revision as of 13:59, 8 December 2020

{{{userparam}}} 0 {{Property:}}















X1=0
1={{{1}}}
----