Difference between revisions of "Template:TentativeLOOPString10"

From Space Engineers Wiki
Jump to: navigation, search
Line 1: Line 1:
{{#vardefineecho:X0|{{#explode:{{{userparam}}}|;|0}}}}
+
{{#vardefineecho:X0|{{#explode:{{{userparam}}}|;|0}}}}<!--
{{#vardefine:X1|0}}++++---<br/>
+
-->{{#vardefine:X1|0}}<!--
 
+
-->{{#vardefine:BASN|{{#sub:{{#show:{{{1}}}|?Component0|?Component1|?Component2|?Component3|?Component4|?Component5|?Component6|?Component7|?Component8|?Component9|format=list|link=none}}|1|-1}}}}<!--
{{#vardefine:BASN|{{#sub:{{#show:{{{1}}}|?Component0|?Component1|?Component2|?Component3|?Component4|?Component5|?Component6|?Component7|?Component8|?Component9|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}}}}<!--
{{#vardefine:BASC|{{#sub:{{#show:{{{1}}}|?Component0Amount|?Component1Amount|?Component2Amount|?Component3Amount|?Component4Amount|?Component5Amount|?Component6Amount|?Component7Amount|?Component8Amount|?Component9Amount|format=list|link=none}}|1|-1}}}}
+
-->{{#vardefineecho:A1|{{#explode:{{#var:BASN}}|,|0}}}}<!--
<br/>-=-=-=-<br/>
+
-->{{#vardefineecho:A2|{{#explode:{{#var:BASN}}|,|1}}}}<!--
{{#vardefineecho:A1|{{#explode:{{#var:BASN}}|,|0}}}}<br/>
+
-->{{#vardefineecho:A3|{{#explode:{{#var:BASN}}|,|2}}}}<!--
{{#vardefineecho:A2|{{#explode:{{#var:BASN}}|,|1}}}}<br/>
+
-->{{#vardefineecho:A4|{{#explode:{{#var:BASN}}|,|3}}}}<!--
{{#vardefineecho:A3|{{#explode:{{#var:BASN}}|,|2}}}}<br/>
+
-->{{#vardefineecho:A5|{{#explode:{{#var:BASN}}|,|4}}}}<!--
{{#vardefineecho:A4|{{#explode:{{#var:BASN}}|,|3}}}}<br/>
+
-->{{#vardefineecho:A6|{{#explode:{{#var:BASN}}|,|5}}}}<!--
{{#vardefineecho:A5|{{#explode:{{#var:BASN}}|,|4}}}}<br/>
+
-->{{#vardefineecho:A7|{{#explode:{{#var:BASN}}|,|6}}}}<!--
{{#vardefineecho:A6|{{#explode:{{#var:BASN}}|,|5}}}}<br/>
+
-->{{#vardefineecho:A8|{{#explode:{{#var:BASN}}|,|7}}}}<!--
{{#vardefineecho:A7|{{#explode:{{#var:BASN}}|,|6}}}}<br/>
+
-->{{#vardefineecho:A9|{{#explode:{{#var:BASN}}|,|8}}}}<!--
{{#vardefineecho:A8|{{#explode:{{#var:BASN}}|,|7}}}}<br/>
+
-->{{#vardefineecho:B1|{{#explode:{{#var:BASC}}|,|0}}}}<!--
{{#vardefineecho:A9|{{#explode:{{#var:BASN}}|,|8}}}}<br/>
+
-->{{#vardefineecho:B2|{{#explode:{{#var:BASC}}|,|1}}}}<!--
{{#vardefineecho:B1|{{#explode:{{#var:BASC}}|,|0}}}}<br/>
+
-->{{#vardefineecho:B3|{{#explode:{{#var:BASC}}|,|2}}}}<!--
{{#vardefineecho:B2|{{#explode:{{#var:BASC}}|,|1}}}}<br/>
+
-->{{#vardefineecho:B4|{{#explode:{{#var:BASC}}|,|3}}}}<!--
{{#vardefineecho:B3|{{#explode:{{#var:BASC}}|,|2}}}}<br/>
+
-->{{#vardefineecho:B5|{{#explode:{{#var:BASC}}|,|4}}}}<!--
{{#vardefineecho:B4|{{#explode:{{#var:BASC}}|,|3}}}}<br/>
+
-->{{#vardefineecho:B6|{{#explode:{{#var:BASC}}|,|5}}}}<!--
{{#vardefineecho:B5|{{#explode:{{#var:BASC}}|,|4}}}}<br/>
+
-->{{#vardefineecho:B7|{{#explode:{{#var:BASC}}|,|6}}}}<!--
{{#vardefineecho:B6|{{#explode:{{#var:BASC}}|,|5}}}}<br/>
+
-->{{#vardefineecho:B8|{{#explode:{{#var:BASC}}|,|7}}}}<!--
{{#vardefineecho:B7|{{#explode:{{#var:BASC}}|,|6}}}}<br/>
+
-->{{#vardefineecho:B9|{{#explode:{{#var:BASC}}|,|8}}}}<!--
{{#vardefineecho:B8|{{#explode:{{#var:BASC}}|,|7}}}}<br/>
+
-->{{#ifeq:{{#var:A1}}|{{#var:X0}}|{{#vardefineecho:X1|{{#expr:{{#var:X1}}+{{#var:B1}}}} }} }}<!--
{{#vardefineecho:B9|{{#explode:{{#var:BASC}}|,|8}}}}<br/>
+
-->{{#ifeq:{{#var:A2}}|{{#var:X0}}|{{#vardefineecho:X1|{{#expr:{{#var:X1}}+{{#var:B2}}}} }} }}<!--
<br/>-=-=-=-<br/>
+
-->{{#ifeq:{{#var:A3}}|{{#var:X0}}|{{#vardefineecho:X1|{{#expr:{{#var:X1}}+{{#var:B3}}}} }} }}<!--
1.{{#ifeq:{{#var:A1}}|{{#var:X0}}|{{#vardefineecho:X1|{{#expr:{{#var:X1}}+{{#var:B1}}}} }} }}
+
-->{{#ifeq:{{#var:A4}}|{{#var:X0}}|{{#vardefineecho:X1|{{#expr:{{#var:X1}}+{{#var:B4}}}} }} }}<!--
2.{{#ifeq:{{#var:A2}}|{{#var:X0}}|{{#vardefineecho:X1|{{#expr:{{#var:X1}}+{{#var:B2}}}} }} }}
+
-->{{#ifeq:{{#var:A5}}|{{#var:X0}}|{{#vardefineecho:X1|{{#expr:{{#var:X1}}+{{#var:B5}}}} }} }}<!--
3.{{#var:X1}}<br/>
+
-->{{#ifeq:{{#var:A6}}|{{#var:X0}}|{{#vardefineecho:X1|{{#expr:{{#var:X1}}+{{#var:B6}}}} }} }}<!--
3.
+
-->{{#ifeq:{{#var:A7}}|{{#var:X0}}|{{#vardefineecho:X1|{{#expr:{{#var:X1}}+{{#var:B7}}}} }} }}<!--
@.{{#ifeq:{{#var:A3}}|{{#var:X0}}|{{#vardefineecho:X1|{{#expr:{{#var:X1}}+{{#var:B3}}}} }} }}
+
-->{{#ifeq:{{#var:A8}}|{{#var:X0}}|{{#vardefineecho:X1|{{#expr:{{#var:X1}}+{{#var:B8}}}} }} }}<!--
4.{{#ifeq:{{#var:A4}}|{{#var:X0}}|{{#vardefineecho:X1|{{#expr:{{#var:X1}}+{{#var:B4}}}} }} }}
+
-->{{#ifeq:{{#var:A9}}|{{#var:X0}}|{{#vardefineecho:X1|{{#expr:{{#var:X1}}+{{#var:B9}}}} }} }}<!--
5.{{#ifeq:{{#var:A5}}|{{#var:X0}}|{{#vardefineecho:X1|{{#expr:{{#var:X1}}+{{#var:B5}}}} }} }}
+
--><onlyinclude>|1={{{1}}}|X1={{#var:X1}}</onlyinclude>
6.{{#ifeq:{{#var:A6}}|{{#var:X0}}|{{#vardefineecho:X1|{{#expr:{{#var:X1}}+{{#var:B6}}}} }} }}
 
7.{{#ifeq:{{#var:A7}}|{{#var:X0}}|{{#vardefineecho:X1|{{#expr:{{#var:X1}}+{{#var:B7}}}} }} }}
 
8.{{#ifeq:{{#var:A8}}|{{#var:X0}}|{{#vardefineecho:X1|{{#expr:{{#var:X1}}+{{#var:B8}}}} }} }}
 
9.{{#ifeq:{{#var:A9}}|{{#var:X0}}|{{#vardefineecho:X1|{{#expr:{{#var:X1}}+{{#var:B9}}}} }} }}
 
<onlyinclude>|1={{{1}}}|X1={{#var:X1}}<only/include>
 

Revision as of 03:51, 9 December 2020

{{{userparam}}}span class="smw-highlighter" data-type="4" data-state="inline" data-title="Error">
  • Some part "<nowiki>...</nowiki>" of the query was not understood.
  • Some subquery has no valid condition.
</spanspan class="smw-highlighter" data-type="4" data-state="inline" data-title="Error">
  • Some part "<nowiki>...</nowiki>" of the query was not understood.
  • Some subquery has no valid condition.
</span|1={{{1}}}|X1=0