Difference between revisions of "Template:Recipe draw/doc"

From Captain of Industry Wiki
Jump to: navigation, search
(Update examples of mining, dumping loose, dumping liquids, venting, flaring to account for template improvements)
(Re-order, fix some examples for new syntax)
Line 36: Line 36:
----
----


Example usage for mining:
Example usages for flaring liquids:


{{Recipe
{{Recipe
   | Mining      = yes
   | Building    = Flare
   | Output1Name = Copper Ore
  | Input1Name  = Diesel
  | Input1Qty  = 10
  | Time        = 20
   | Output1Name = Air Pollution
  | Output1Qty  = 20
}}
}}


<pre>
<pre>
{{Recipe
{{Recipe
   | Mining      = yes
   | Building    = Flare
   | Output1Name = Copper Ore
  | Input1Name  = Diesel
  | Input1Qty  = 10
  | Time        = 20
   | Output1Name = Air Pollution
  | Output1Qty  = 20
}}
}}
</pre>
</pre>
Line 52: Line 60:
----
----


Example usage for dumping loose materials:
Examples usages for venting gasses or dumping liquids:


{{Recipe
{{Recipe
   | Dumping   = yes
   | Venting    = yes
   | Input1Name = Rock
  | Building   = Smoke Stack
   | Input1Name = Oxygen
  | Input1Qty  = 200
  | Time        = 20
}}
}}


<pre>
<pre>
{{Recipe
{{Recipe
   | Dumping   = yes
   | Venting    = yes
   | Input1Name = Rock
  | Building   = Smoke Stack
   | Input1Name = Oxygen
  | Input1Qty  = 200
  | Time        = 20
}}
}}
</pre>
</pre>
----
Example usages for dumping liquids, flaring liquids, or venting gasses:


{{Recipe
{{Recipe
  | DumpingLiq  = yes
   | Building    = Liquid Dump
   | Building    = Liquid Dump
   | Output1Name = Waste Water
   | Input1Name  = Waste Water
   | Output1Qty  = 2
   | Input1Qty  = 2
   | Time        = 2
   | Time        = 2
}}
}}
Line 79: Line 90:
<pre>
<pre>
{{Recipe
{{Recipe
  | DumpingLiq  = yes
   | Building    = Liquid Dump
   | Building    = Liquid Dump
   | Output1Name = Waste Water
   | Input1Name  = Waste Water
   | Output1Qty  = 2
   | Input1Qty  = 2
   | Time        = 2
   | Time        = 2
}}
}}
</pre>
</pre>
----
Example usage for mining:


{{Recipe
{{Recipe
   | Building    = Flare
   | Mining      = yes
  | Input1Name  = Diesel
   | Output1Name = Copper Ore
  | Input1Qty  = 10
  | Time        = 20
   | Output1Name = Air Pollution
  | Output1Qty  = 20
}}
}}


<pre>
<pre>
{{Recipe
{{Recipe
   | Building    = Flare
   | Mining      = yes
  | Input1Name  = Diesel
   | Output1Name = Copper Ore
  | Input1Qty  = 10
  | Time        = 20
   | Output1Name = Air Pollution
  | Output1Qty  = 20
}}
}}
</pre>
</pre>
----
Example usage for dumping loose materials:


{{Recipe
{{Recipe
   | Venting    = yes
   | Dumping    = yes
  | Building    = Smoke Stack
   | Input1Name = Rock
   | Input1Name = Oxygen
  | Input1Qty  = 200
  | Time        = 20
}}
}}


<pre>
<pre>
{{Recipe
{{Recipe
   | Venting    = yes
   | Dumping    = yes
  | Building    = Smoke Stack
   | Input1Name = Rock
   | Input1Name = Oxygen
  | Input1Qty  = 200
  | Time        = 20
}}
}}
</pre>
</pre>

Revision as of 11:52, 13 January 2022

Purpose
This template provides a method to rapidly illustrate crafting recipes without in-depth knowledge of wiki syntax or manual repetition/copy-pasting.
Limitations
This template can accept up to 6 inputs, 6 outputs, and 1 time value per recipe.

Example usage for a machine with both inputs and outputs:

Rotary Kiln.pngCoal
:
12
Limestone.png
72
Plus.png
2
Coal.png
12
10 Clock.png
Transform.png
60 Clock 60s.png
4
Cement.png
24
Plus.png
8
Exhaust.png
48
{{Recipe
  | Building    = Rotary Kiln
  | Input1Name  = Limestone
  | Input1Qty   = 12
  | Input2Name  = Coal
  | Input2Qty   = 2
  | Time        = 10
  | Output1Name = Cement
  | Output1Qty  = 4
  | Output2Name = Exhaust
  | Output2Qty  = 8
}}

Example usages for flaring liquids:

Flare.png
:
ACCEPTS
10
Diesel.png
30
/ 20 Clock.png

/ 60 Clock 60s.png
20
Air Pollution.png
60
{{Recipe
  | Building    = Flare
  | Input1Name  = Diesel
  | Input1Qty   = 10
  | Time        = 20
  | Output1Name = Air Pollution
  | Output1Qty  = 20
}}

Examples usages for venting gasses or dumping liquids:

Smoke Stack.pngSmall
:
ACCEPTS
200
Oxygen.png
600
/ 20 Clock.png

/ 60 Clock 60s.png
{{Recipe
  | Venting     = yes
  | Building    = Smoke Stack
  | Input1Name  = Oxygen
  | Input1Qty   = 200
  | Time        = 20
}}
Liquid Dump.png
:
ACCEPTS
2
Waste Water.png
60
/ 2 Clock.png

/ 60 Clock 60s.png
{{Recipe
  | DumpingLiq  = yes
  | Building    = Liquid Dump
  | Input1Name  = Waste Water
  | Input1Qty   = 2
  | Time        = 2
}}

Example usage for mining:

Building not defined
{{Recipe
  | Mining      = yes
  | Output1Name = Copper Ore
}}

Example usage for dumping loose materials:

Building not defined
{{Recipe
  | Dumping    = yes
  | Input1Name = Rock
}}