Template:Recipe draw/doc: Difference between revisions

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:

Coal
:
12
72
2
12
10 
60 
4
24
8
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:

:
PROVIDES
2
60
/ 2 

/ 60 
{{Recipe
  | Building    = Liquid Dump
  | Output1Name = Waste Water
  | Output1Qty  = 2
  | Time        = 2
}}
:
ACCEPTS
10
30
/ 20 

/ 60 
20
60
{{Recipe
  | Building    = Flare
  | Input1Name  = Diesel
  | Input1Qty   = 10
  | Time        = 20
  | Output1Name = Air Pollution
  | Output1Qty  = 20
}}
Small
:
ACCEPTS
200
600
/ 20 

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