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

From Captain of Industry Wiki
Jump to: navigation, search
m (typo)
(+mining, dumping, and flaring examples)
Line 5: Line 5:
:This template can accept up to 6 inputs, 6 outputs, and 1 time value per recipe.
:This template can accept up to 6 inputs, 6 outputs, and 1 time value per recipe.


Example usage:
Example usage for a machine with both inputs and outputs:


{{Recipe
{{Recipe
Line 32: Line 32:
   | Output2Name = Exhaust
   | Output2Name = Exhaust
   | Output2Qty  = 8
   | Output2Qty  = 8
}}</pre>
----
Example usage for mining:
{{Recipe
  | Building    = Mining
  | Output1Name = Copper Ore
}}
<pre>
{{Recipe
  | Building    = Mining
  | Output1Name = Copper Ore
}}</pre>
----
Example usage for dumping:
{{Recipe
  | Building    = Dumping
  | Output1Name = Rock
}}
<pre>
{{Recipe
  | Building    = Dumping
  | Output1Name = Rock
}}</pre>
----
Example usage for dumping loose materials:
{{Recipe
  | Building    = Dumping
  | Output1Name = Rock
}}
<pre>
{{Recipe
  | Building    = Dumping
  | Output1Name = Rock
}}</pre>
----
Example usage for dumping liquids, venting gasses, or flaring:
{{Recipe
  | Building    = Liquid Dump
  | Output1Name = Waste Water
  | Output1Qty  = 2
  | Time        = 2
}}
<pre>
{{Recipe
  | Building    = Liquid Dump
  | Output1Name = Waste Water
  | Output1Qty  = 2
  | Time        = 2
}}</pre>
}}</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 22:02, 12 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:

Mining.png
:
PROVIDES
Copper Ore.png
Expression error: Unexpected * operator.
{{Recipe
  | Building    = Mining
  | Output1Name = Copper Ore
}}

Example usage for dumping:

Dumping.png
:
PROVIDES
Rock.png
Expression error: Unexpected * operator.
{{Recipe
  | Building    = Dumping
  | Output1Name = Rock
}}

Example usage for dumping loose materials:

Dumping.png
:
PROVIDES
Rock.png
Expression error: Unexpected * operator.
{{Recipe
  | Building    = Dumping
  | Output1Name = Rock
}}

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

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
}}