Difference between revisions of "Template:TentativeLOOPString10"
From Space Engineers Wiki
Line 2: | Line 2: | ||
{{#vardefineecho:X0|{{{userparam}}} }} | {{#vardefineecho:X0|{{{userparam}}} }} | ||
{{#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}}}}==BASE===<br/> | |
− | + | --CONTENT--SHOW1-<br/> | |
− | + | {{#var:BASE}} | |
− | {{#len:{{#var:BASE}}}} | + | --CONTENT--SHOW1END-<br/> |
− | {{#vardefine: | + | --LEN--:{{#len:{{#var:BASE}}}}<br/> |
− | + | {{#vardefine:BASE|{{#sub:{{#var:BASE}}|1|-1}}}}======RESET<br/> | |
− | {{#var: | + | --CONTENT--SHOW1-<br/> |
+ | {{#var:BASE}} | ||
+ | --CONTENT--SHOW1END-<br/> | ||
+ | --LEN--:{{#len:{{#var:BASE}}}}<br/> | ||
{{#vardefineecho:AX|[[{{{1}}}]]?Component1}}===== | {{#vardefineecho:AX|[[{{{1}}}]]?Component1}}===== | ||
− | {{#vardefineecho:A2|{{#explode:{{{ | + | {{#vardefineecho:A2|{{#explode:{{{#var:BASE}}}|;|2}}}} |
{{#vardefineecho:A3|{{#explode:{{{userparam}}}|;|3}}}} | {{#vardefineecho:A3|{{#explode:{{{userparam}}}|;|3}}}} | ||
{{#vardefineecho:A4|{{#explode:{{{userparam}}}|;|4}}}} | {{#vardefineecho:A4|{{#explode:{{{userparam}}}|;|4}}}} |