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

From Captain of Industry Wiki
Jump to: navigation, search
(+mining, dumping, and flaring examples)
(Update examples of mining, dumping loose, dumping liquids, venting, flaring to account for template improvements)
Line 39: Line 39:


{{Recipe
{{Recipe
   | Building    = Mining
   | Mining      = yes
   | Output1Name = Copper Ore
   | Output1Name = Copper Ore
}}
}}
Line 45: Line 45:
<pre>
<pre>
{{Recipe
{{Recipe
   | Building    = Mining
   | Mining      = yes
   | Output1Name = Copper Ore
   | Output1Name = Copper Ore
}}</pre>
----
Example usage for dumping:
{{Recipe
  | Building    = Dumping
  | Output1Name = Rock
}}
}}
 
</pre>
<pre>
{{Recipe
  | Building    = Dumping
  | Output1Name = Rock
}}</pre>


----
----
Line 69: Line 55:


{{Recipe
{{Recipe
   | Building   = Dumping
   | Dumping   = yes
   | Output1Name = Rock
   | Input1Name = Rock
}}
}}


<pre>
<pre>
{{Recipe
{{Recipe
   | Building   = Dumping
   | Dumping   = yes
   | Output1Name = Rock
   | Input1Name = Rock
}}</pre>
}}
</pre>


----
----


Example usage for dumping liquids, venting gasses, or flaring:
Example usages for dumping liquids, flaring liquids, or venting gasses:


{{Recipe
{{Recipe
Line 96: Line 83:
   | Output1Qty  = 2
   | Output1Qty  = 2
   | Time        = 2
   | Time        = 2
}}</pre>
}}
</pre>
 
{{Recipe
  | Building    = Flare
  | Input1Name  = Diesel
  | Input1Qty  = 10
  | Time        = 20
  | Output1Name = Air Pollution
  | Output1Qty  = 20
}}
 
<pre>
{{Recipe
  | Building    = Flare
  | Input1Name  = Diesel
  | Input1Qty  = 10
  | Time        = 20
  | Output1Name = Air Pollution
  | Output1Qty  = 20
}}
</pre>
 
{{Recipe
  | Venting    = yes
  | Building    = Smoke Stack
  | Input1Name  = Oxygen
  | Input1Qty  = 200
  | Time        = 20
}}
 
<pre>
{{Recipe
  | Venting    = yes
  | Building    = Smoke Stack
  | Input1Name  = Oxygen
  | Input1Qty  = 200
  | Time        = 20
}}
</pre>


<includeonly>[[Category:Formatting templates]]</includeonly><!--
<includeonly>[[Category:Formatting templates]]</includeonly><!--
--><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
--><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>

Revision as of 10:22, 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 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
}}

Example usages for dumping liquids, flaring liquids, or venting gasses:

Liquid Dump.png
:
PROVIDES
2
Waste Water.png
60
/ 2 Clock.png

/ 60 Clock 60s.png
{{Recipe
  | Building    = Liquid Dump
  | Output1Name = Waste Water
  | Output1Qty  = 2
  | Time        = 2
}}
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
}}
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
}}