Difference between revisions of "Template:ProducesTable"
From A Wiki in the Desert
Line 15: | Line 15: | ||
{{#vardefine:count_required|{{#ask: [[{{ #arrayindex: requirements | {{ #var:j }} }}]] |?count#= |mainlabel=- }}}} | {{#vardefine:count_required|{{#ask: [[{{ #arrayindex: requirements | {{ #var:j }} }}]] |?count#= |mainlabel=- }}}} | ||
{{#vardefine:item_required|{{#ask: [[{{ #arrayindex: requirements | {{ #var:j }} }}]] |?requires#= |mainlabel=- }}}} | {{#vardefine:item_required|{{#ask: [[{{ #arrayindex: requirements | {{ #var:j }} }}]] |?requires#= |mainlabel=- }}}} | ||
− | ** {{ #expr: {{#var:count_produced}}*{{#var:count_required}}}} - {{#var:item_required}} | + | ** {{ #expr: {{#var:count_produced}}*{{#var:count_required}}round0}} - {{#var:item_required}} |
}} | }} | ||
}} | }} |