Difference between revisions of "Template:Recipe draw/sandbox"
From Captain of Industry Wiki
(sandbox update) |
(add ? option) |
||
Line 239: | Line 239: | ||
-->{{#if: {{{Output1Unit|}}} | <!-- | -->{{#if: {{{Output1Unit|}}} | <!-- | ||
--><div class="lower">{{{Output1Qty|}}} {{{Output1Unit|}}}</div>|<!-- | --><div class="lower">{{{Output1Qty|}}} {{{Output1Unit|}}}</div>|<!-- | ||
--><div class="lower blue">{{#expr: 60/{{{Time|1}}}*{{{Output1Qty|}}} round 2 }}</div><!-- | --><div class="lower blue">{{#switch:{{{Output1Qty|}}}|?=|{{#expr: 60/{{{Time|1}}}*{{{Output1Qty|}}} round 2 }}}}</div><!-- | ||
-->}}<!-- | -->}}<!-- | ||
--></div><!-- | --></div><!-- | ||
Line 254: | Line 254: | ||
-->{{#if: {{{Output2Unit|}}} | <!-- | -->{{#if: {{{Output2Unit|}}} | <!-- | ||
--><div class="lower">{{{Output2Qty|}}} {{{Output2Unit|}}}</div>|<!-- | --><div class="lower">{{{Output2Qty|}}} {{{Output2Unit|}}}</div>|<!-- | ||
--><div class="lower blue">{{#switch:{{{Output2Qty|}}}|?=|{{#expr: 60/{{{Time|1}}}*{{{Output2Qty|}}} round 2 }}}}</div><!-- | |||
-->}}<!-- | -->}}<!-- | ||
--></div><!-- | --></div><!-- | ||
Line 269: | Line 269: | ||
-->{{#if: {{{Output3Unit|}}} | <!-- | -->{{#if: {{{Output3Unit|}}} | <!-- | ||
--><div class="lower">{{{Output3Qty|}}} {{{Output3Unit|}}}</div>|<!-- | --><div class="lower">{{{Output3Qty|}}} {{{Output3Unit|}}}</div>|<!-- | ||
--><div class="lower blue">{{#switch:{{{Output3Qty|}}}|?=|{{#expr: 60/{{{Time|1}}}*{{{Output3Qty|}}} round 2 }}}}</div><!-- | |||
-->}}<!-- | -->}}<!-- | ||
--></div><!-- | --></div><!-- | ||
Line 283: | Line 283: | ||
-->{{#if: {{{Output4Unit|}}} | <!-- | -->{{#if: {{{Output4Unit|}}} | <!-- | ||
--><div class="lower">{{{Output4Qty|}}} {{{Output4Unit|}}}</div>|<!-- | --><div class="lower">{{{Output4Qty|}}} {{{Output4Unit|}}}</div>|<!-- | ||
--><div class="lower blue">{{#switch:{{{Output4Qty|}}}|?=|{{#expr: 60/{{{Time|1}}}*{{{Output4Qty|}}} round 2 }}}}</div><!-- | |||
-->}}<!-- | -->}}<!-- | ||
--></div><!-- | --></div><!-- | ||
Line 297: | Line 297: | ||
-->{{#if: {{{Output5Unit|}}} | <!-- | -->{{#if: {{{Output5Unit|}}} | <!-- | ||
--><div class="lower">{{{Output5Qty|}}} {{{Output5Unit|}}}</div>|<!-- | --><div class="lower">{{{Output5Qty|}}} {{{Output5Unit|}}}</div>|<!-- | ||
--><div class="lower blue">{{#switch:{{{Output5Qty|}}}|?=|{{#expr: 60/{{{Time|1}}}*{{{Output5Qty|}}} round 2 }}}}</div><!-- | |||
-->}}<!-- | -->}}<!-- | ||
--></div><!-- | --></div><!-- | ||
Line 311: | Line 311: | ||
-->{{#if: {{{Output6Unit|}}} | <!-- | -->{{#if: {{{Output6Unit|}}} | <!-- | ||
--><div class="lower">{{{Output6Qty|}}} {{{Output6Unit|}}}</div>|<!-- | --><div class="lower">{{{Output6Qty|}}} {{{Output6Unit|}}}</div>|<!-- | ||
--><div class="lower blue">{{#switch:{{{Output6Qty|}}}|?=|{{#expr: 60/{{{Time|1}}}*{{{Output6Qty|}}} round 2 }}}}</div><!-- | |||
-->}}<!-- | -->}}<!-- | ||
--></div><!-- | --></div><!-- |