Difference between revisions of "Template:TentativeLOOPString10"
From Space Engineers Wiki
Line 3: | Line 3: | ||
{{#vardefine:X1|0}}++++---<br/> | {{#vardefine:X1|0}}++++---<br/> | ||
− | {{#vardefine:BASE|{{#show:{{{1}}}|?Component0|?Component1|?Component2|?Component3|?Component4|?Component5|?Component6|?Component7|?Component8|?Component9|?Component0Amount|?Component1Amount|?Component2Amount|?Component3Amount|?Component4Amount|?Component5Amount|?Component6Amount|?Component7Amount|?Component8Amount|?Component9Amount|format=list | + | {{#vardefine:BASE|{{#show:{{{1}}}|?Component0|?Component1|?Component2|?Component3|?Component4|?Component5|?Component6|?Component7|?Component8|?Component9|format=list}}}} |
− | + | {{#vardefine:BASC|{{#show:{{{1}}}|?Component0Amount|?Component1Amount|?Component2Amount|?Component3Amount|?Component4Amount|?Component5Amount|?Component6Amount|?Component7Amount|?Component8Amount|?Component9Amount|format=list}}}} | |
− | + | <br/>-=-=-=-<br/> | |
− | -- | + | {{#vardefineecho:A2|{{#explode:{{{BASE}}}|,|2}}}} |
− | + | {{#vardefineecho:B2|{{#explode:{{{BASE}}}|,|2}}}} | |
− | + | <br/>-=-=-=-<br/> | |
− | + | ||
− | {{ | ||
− | |||
− | |||
− | |||
− | {{#vardefineecho: | ||
− | -=-=-=- | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{{#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}}}}}} |