Difference between revisions of "Template:TentativeLOOPString10"

From Space Engineers Wiki
Jump to: navigation, search
Line 6: Line 6:
 
{{#vardefine:BASC|{{#sub:{{#show:{{{1}}}|?Component0Amount|?Component1Amount|?Component2Amount|?Component3Amount|?Component4Amount|?Component5Amount|?Component6Amount|?Component7Amount|?Component8Amount|?Component9Amount|format=list|link=none}}|1|-1}}}}
 
{{#vardefine:BASC|{{#sub:{{#show:{{{1}}}|?Component0Amount|?Component1Amount|?Component2Amount|?Component3Amount|?Component4Amount|?Component5Amount|?Component6Amount|?Component7Amount|?Component8Amount|?Component9Amount|format=list|link=none}}|1|-1}}}}
 
<br/>-=-=-=-<br/>
 
<br/>-=-=-=-<br/>
A.{{#vardefineecho:A2|{{#explode:{{#var:BASN}}|,|0}}}}<br/>
+
{{#vardefineecho:A1|{{#explode:{{#var:BASN}}|,|0}}}}<br/>
B.{{#vardefineecho:B2|{{#explode:{{#var:BASC}}|,|0}}}}<br/>
+
{{#vardefineecho:A2|{{#explode:{{#var:BASN}}|,|1}}}}<br/>
 
+
{{#vardefineecho:A3|{{#explode:{{#var:BASN}}|,|2}}}}<br/>
 +
{{#vardefineecho:A4|{{#explode:{{#var:BASN}}|,|3}}}}<br/>
 +
{{#vardefineecho:A5|{{#explode:{{#var:BASN}}|,|4}}}}<br/>
 +
{{#vardefineecho:A6|{{#explode:{{#var:BASN}}|,|5}}}}<br/>
 +
{{#vardefineecho:A7|{{#explode:{{#var:BASN}}|,|6}}}}<br/>
 +
{{#vardefineecho:A8|{{#explode:{{#var:BASN}}|,|7}}}}<br/>
 +
{{#vardefineecho:A9|{{#explode:{{#var:BASN}}|,|8}}}}<br/>
 +
{{#vardefineecho:B1|{{#explode:{{#var:BASC}}|,|0}}}}<br/>
 +
{{#vardefineecho:B2|{{#explode:{{#var:BASC}}|,|1}}}}<br/>
 +
{{#vardefineecho:B3|{{#explode:{{#var:BASC}}|,|2}}}}<br/>
 +
{{#vardefineecho:B4|{{#explode:{{#var:BASC}}|,|3}}}}<br/>
 +
{{#vardefineecho:B5|{{#explode:{{#var:BASC}}|,|4}}}}<br/>
 +
{{#vardefineecho:B6|{{#explode:{{#var:BASC}}|,|5}}}}<br/>
 +
{{#vardefineecho:B7|{{#explode:{{#var:BASC}}|,|6}}}}<br/>
 +
{{#vardefineecho:B8|{{#explode:{{#var:BASC}}|,|7}}}}<br/>
 +
{{#vardefineecho:B9|{{#explode:{{#var:BASC}}|,|8}}}}<br/>
 
<br/>-=-=-=-<br/>
 
<br/>-=-=-=-<br/>
 
 
{{#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 20: Line 34:
 
{{#ifeq:{{#var:A8}}|{{#var:X0}}|{{#vardefineecho:X1|{{#expr:X1+B8}}}}}}
 
{{#ifeq:{{#var:A8}}|{{#var:X0}}|{{#vardefineecho:X1|{{#expr:X1+B8}}}}}}
 
{{#ifeq:{{#var:A9}}|{{#var:X0}}|{{#vardefineecho:X1|{{#expr:X1+B9}}}}}}
 
{{#ifeq:{{#var:A9}}|{{#var:X0}}|{{#vardefineecho:X1|{{#expr:X1+B9}}}}}}
{{#ifeq:{{#var:AA}}|{{#var:X0}}|{{#vardefineecho:X1|{{#expr:X1+BA}}}}}}
 
 
X1={{#var:X1}}<br/>
 
X1={{#var:X1}}<br/>
 
1={{{1}}}<br/>----
 
1={{{1}}}<br/>----
 
</includeonly>
 
</includeonly>

Revision as of 03:32, 9 December 2020