Difference between revisions of "Template:Recipe item/sandbox"

From Captain of Industry Wiki
Jump to: navigation, search
m (Supported quantity with "%" such as fertilizer)
 
Line 42: Line 42:
         --><div class="lower blue">?</div><!--
         --><div class="lower blue">?</div><!--
       -->| | % = <!--    No unit or %
       -->| | % = <!--    No unit or %
         --><div class="upper"><!--
         -->{{#ifeq: {{{Time|0}}} | 0 <!--
           -->{{#ifeq: {{{Quantity|0}}} | 0 || {{{Quantity|}}} }}{{#if:{{{Unit|}}} | &nbsp;{{{Unit|}}} }}<!--
          -->| <div class="upper">&nbsp;</div><!--
        --></div><!--
           -->{{#var: image_item}}<!--
        -->{{#var: image_item}}<!--
          --><div class="lower">{{{Quantity|}}}</div><!--
        --><div class="lower blue"><!--
          -->| <div class="upper"><!--
          -->{{#ifeq: {{{Quantity|0}}} | 0 ||{{#expr: 60/{{{Time|1}}}*{{{Quantity|0}}} round 2 }} }}<!--
            -->{{#ifeq: {{{Quantity|0}}} | 0 || {{{Quantity|}}} }}{{#if:{{{Unit|}}} | &nbsp;{{{Unit|}}} }}<!--
          -->{{#if:{{{Unit|}}} | &nbsp;{{{Unit|}}} }}<!--
          --></div><!--
        --></div><!--
          -->{{#var: image_item}}<!--
          --><div class="lower blue"><!--
            -->{{#ifeq: {{{Quantity|0}}} | 0 ||{{#expr: 60/{{{Time|1}}}*{{{Quantity|0}}} round 2 }} }}<!--
            -->{{#if:{{{Unit|}}} | &nbsp;{{{Unit|}}} }}<!--
          --></div><!--
        -->}}<!--
       -->|#default = <!--
       -->|#default = <!--
         --><div class="upper">&nbsp;</div><!--
         --><div class="upper">&nbsp;</div><!--
Line 72: Line 77:
-->{{Recipe item/sandbox|Name=Green Manure|Quantity=0|Time=10|Plus=yes}}<!--
-->{{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=Fertility|Quantity=30|Unit=%|Time=240|Plus=yes}}<!--
Line 83: Line 89:
-->{{Recipe item/sandbox|Name=Green Manure|Quantity=0|Time=10|Plus=yes|Pollution=only}}<!--
-->{{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=Fertility|Quantity=30|Unit=%|Time=240|Plus=yes|Pollution=only}}<!--
Line 94: Line 101:
-->{{Recipe item/sandbox|Name=Green Manure|Quantity=0|Time=10|Plus=yes|Pollution=hide}}<!--
-->{{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=Fertility|Quantity=30|Unit=%|Time=240|Plus=yes|Pollution=hide}}<!--

Latest revision as of 14:33, 16 May 2023

Show all:

Plus.png
Green Manure.png
Plus.png
 
Electricity.png
20 KW
Plus.png
 
Steam Depleted.png
10
Plus.png
?
Iron Scrap.png
?
Plus.png
30 %
Fertility.png
7.5 %
Plus.png
15
Air Pollution.png
90

Pollution only:

Plus.png
15
Air Pollution.png
90

Hide pollution:

Plus.png
Green Manure.png
Plus.png
 
Electricity.png
20 KW
Plus.png
 
Steam Depleted.png
10
Plus.png
?
Iron Scrap.png
?
Plus.png
30 %
Fertility.png
7.5 %