Difference between revisions of "Template:TentativeLOOPString10"

From Space Engineers Wiki
Jump to: navigation, search
Line 30: Line 30:
 
-->{{#ifeq:{{#var:A8}}|{{#var:X0}}|{{#vardefine:X1|{{#expr:{{#var:X1}}+{{#var:B8}}}} }} }}<!--
 
-->{{#ifeq:{{#var:A8}}|{{#var:X0}}|{{#vardefine:X1|{{#expr:{{#var:X1}}+{{#var:B8}}}} }} }}<!--
 
-->{{#ifeq:{{#var:A9}}|{{#var:X0}}|{{#vardefine:X1|{{#expr:{{#var:X1}}+{{#var:B9}}}} }} }}<!--
 
-->{{#ifeq:{{#var:A9}}|{{#var:X0}}|{{#vardefine:X1|{{#expr:{{#var:X1}}+{{#var:B9}}}} }} }}<!--
--><includeonly>|-
+
-->{#if {{#expr:{{#var:X1}}>0}}|<includeonly>{{!}}-
|{{Itemlink-li|{{{1}}}}}||{{#var:X1}}{{#vardefine:X0::X1::BASN::BASC::A1::A2::A3::A4::A5::A6::A7::A8::A9::B1::B2::B3::B4::B5::B6::B7::B8::B9|0}}
+
{{!}}{{Itemlink-li{{!}}{{{1}}}}}{{!!}}{{#var:X1}}</includeonly>|<!-- -->}}<noinclude>
</includeonly>
 
<noinclude>
 
 
统计单一某种材料的用量,适用于从 ask 询问的数据源 和 一个 userparam 传递的 材料 参数
 
统计单一某种材料的用量,适用于从 ask 询问的数据源 和 一个 userparam 传递的 材料 参数
 
Count a kind of source from any component or block..
 
Count a kind of source from any component or block..
 
</noinclude>
 
</noinclude>

Revision as of 03:04, 13 December 2020

{#if 0||}} 统计单一某种材料的用量,适用于从 ask 询问的数据源 和 一个 userparam 传递的 材料 参数 Count a kind of source from any component or block..