Difference between revisions of "Template:Recipe item/sandbox"
From Captain of Industry Wiki
Tag: Undo |
|||
(One intermediate revision by the same user not shown) | |||
Line 32: | Line 32: | ||
-->}}<!-- | -->}}<!-- | ||
** Draw item and throughput | ** Draw item and throughput ** | ||
-->{{#vardefine: image_item | [[File:{{{Name}}}.png{{!}}{{{ImageSize|{{#var: imgsz_reg}}}}}{{!}}link={{{Name}}}]] }}<!-- | |||
--><div class="block"><!-- | --><div class="block"><!-- | ||
-->{{# | -->{{#switch: {{{Unit|}}} <!-- | ||
-->| ? = <!-- | |||
--><div class="upper">?</div><!-- | |||
-->{{#var: image_item}}<!-- | |||
--><div class="lower blue">?</div><!-- | |||
-->| | % = <!-- No unit or % | |||
-->{{#ifeq: {{{Time|0}}} | 0 <!-- | |||
-->| <div class="upper"> </div><!-- | |||
--><div class=" | -->{{#var: image_item}}<!-- | ||
--><div class="lower | --><div class="lower">{{{Quantity|}}}</div><!-- | ||
-->| <div class="upper"><!-- | |||
-->{{#ifeq: {{{Quantity|0}}} | 0 || {{{Quantity|}}} }}{{#if:{{{Unit|}}} | {{{Unit|}}} }}<!-- | |||
--></div><!-- | |||
-->{{#var: image_item}}<!-- | |||
--><div class="lower blue"><!-- | |||
-->{{#ifeq: {{{Quantity|0}}} | 0 ||{{#expr: 60/{{{Time|1}}}*{{{Quantity|0}}} round 2 }} }}<!-- | |||
-->{{#if:{{{Unit|}}} | {{{Unit|}}} }}<!-- | |||
--></div><!-- | |||
-->}}<!-- | |||
-->|#default = <!-- | |||
--><div class="upper"> </div><!-- | |||
-->{{#var: image_item}}<!-- | |||
--><div class="lower">{{{Quantity|}}} {{{Unit|}}}</div><!-- | |||
-->}}<!-- | -->}}<!-- | ||
--></div><!-- | --></div><!-- | ||
Line 62: | Line 75: | ||
--><div class="recipe-wrapper><!-- | --><div class="recipe-wrapper><!-- | ||
-->{{Recipe item/sandbox|Name=Steam hi|Quantity=2|Time=10}}<!-- | -->{{Recipe item/sandbox|Name=Steam hi|Quantity=2|Time=10}}<!-- | ||
-->{{Recipe item/sandbox|Name= | -->{{Recipe item/sandbox|Name=Green Manure|Quantity=0|Time=10|Plus=yes}}<!-- | ||
-->{{Recipe item/sandbox|Name=Electricity|Quantity=20|Unit=KW|Time=0|Plus=yes}}<!-- | -->{{Recipe item/sandbox|Name=Electricity|Quantity=20|Unit=KW|Time=0|Plus=yes}}<!-- | ||
-->{{Recipe item/sandbox|Name=Steam Depleted|Quantity=10|Time=0|Plus=yes}}<!-- | |||
-->{{Recipe item/sandbox|Name=Iron Scrap|Unit=?|Time=10|Plus=yes}}<!-- | -->{{Recipe item/sandbox|Name=Iron Scrap|Unit=?|Time=10|Plus=yes}}<!-- | ||
-->{{Recipe item/sandbox|Name=Fertility|Quantity=30|Unit=%|Time=240|Plus=yes}}<!-- | |||
-->{{Recipe item/sandbox|Name=Air Pollution|Quantity=15|Time=10|Plus=yes}}<!-- | -->{{Recipe item/sandbox|Name=Air Pollution|Quantity=15|Time=10|Plus=yes}}<!-- | ||
-->{{Recipe item/sandbox|Name=|Quantity=10|Time=10|Plus=yes}}<!-- | -->{{Recipe item/sandbox|Name=|Quantity=10|Time=10|Plus=yes}}<!-- | ||
Line 72: | Line 87: | ||
--><div class="recipe-wrapper><!-- | --><div class="recipe-wrapper><!-- | ||
-->{{Recipe item/sandbox|Name=Steam hi|Quantity=2|Time=10|Pollution=only}}<!-- | -->{{Recipe item/sandbox|Name=Steam hi|Quantity=2|Time=10|Pollution=only}}<!-- | ||
-->{{Recipe item/sandbox|Name= | -->{{Recipe item/sandbox|Name=Green Manure|Quantity=0|Time=10|Plus=yes|Pollution=only}}<!-- | ||
-->{{Recipe item/sandbox|Name=Electricity|Quantity=20|Unit=KW|Time=0|Plus=yes|Pollution=only}}<!-- | -->{{Recipe item/sandbox|Name=Electricity|Quantity=20|Unit=KW|Time=0|Plus=yes|Pollution=only}}<!-- | ||
-->{{Recipe item/sandbox|Name=Steam Depleted|Quantity=10|Time=0|Plus=yes|Pollution=only}}<!-- | |||
-->{{Recipe item/sandbox|Name=Iron Scrap|Unit=?|Time=10|Plus=yes|Pollution=only}}<!-- | -->{{Recipe item/sandbox|Name=Iron Scrap|Unit=?|Time=10|Plus=yes|Pollution=only}}<!-- | ||
-->{{Recipe item/sandbox|Name=Fertility|Quantity=30|Unit=%|Time=240|Plus=yes|Pollution=only}}<!-- | |||
-->{{Recipe item/sandbox|Name=Air Pollution|Quantity=15|Time=10|Plus=yes|Pollution=only}}<!-- | -->{{Recipe item/sandbox|Name=Air Pollution|Quantity=15|Time=10|Plus=yes|Pollution=only}}<!-- | ||
-->{{Recipe item/sandbox|Name=|Quantity=10|Time=10|Plus=yes}}<!-- | -->{{Recipe item/sandbox|Name=|Quantity=10|Time=10|Plus=yes}}<!-- | ||
Line 82: | Line 99: | ||
--><div class="recipe-wrapper><!-- | --><div class="recipe-wrapper><!-- | ||
-->{{Recipe item/sandbox|Name=Steam hi|Quantity=2|Time=10|Pollution=hide}}<!-- | -->{{Recipe item/sandbox|Name=Steam hi|Quantity=2|Time=10|Pollution=hide}}<!-- | ||
-->{{Recipe item/sandbox|Name= | -->{{Recipe item/sandbox|Name=Green Manure|Quantity=0|Time=10|Plus=yes|Pollution=hide}}<!-- | ||
-->{{Recipe item/sandbox|Name=Electricity|Quantity=20|Unit=KW|Time=0|Plus=yes|Pollution=hide}}<!-- | -->{{Recipe item/sandbox|Name=Electricity|Quantity=20|Unit=KW|Time=0|Plus=yes|Pollution=hide}}<!-- | ||
-->{{Recipe item/sandbox|Name=Steam Depleted|Quantity=10|Time=0|Plus=yes|Pollution=hide}}<!-- | |||
-->{{Recipe item/sandbox|Name=Iron Scrap|Unit=?|Time=10|Plus=yes|Pollution=hide}}<!-- | -->{{Recipe item/sandbox|Name=Iron Scrap|Unit=?|Time=10|Plus=yes|Pollution=hide}}<!-- | ||
-->{{Recipe item/sandbox|Name=Fertility|Quantity=30|Unit=%|Time=240|Plus=yes|Pollution=hide}}<!-- | |||
-->{{Recipe item/sandbox|Name=Air Pollution|Quantity=15|Time=10|Plus=yes|Pollution=hide}}<!-- | -->{{Recipe item/sandbox|Name=Air Pollution|Quantity=15|Time=10|Plus=yes|Pollution=hide}}<!-- | ||
-->{{Recipe item/sandbox|Name=|Quantity=10|Time=10|Plus=yes}}<!-- | -->{{Recipe item/sandbox|Name=|Quantity=10|Time=10|Plus=yes}}<!-- |
Latest revision as of 14:33, 16 May 2023
Show all:
Pollution only:
Hide pollution: