Difference between revisions of "Template:Recipe draw/doc"
From Captain of Industry Wiki
Thadius856 (talk | contribs) (reformat for readability) |
Thadius856 (talk | contribs) (+examples of units and instant recipes) |
||
Line 117: | Line 117: | ||
| Dumping = yes | | Dumping = yes | ||
| Input1Name = Rock | | Input1Name = Rock | ||
}} | |||
}} | |||
---- | |||
:Example usage for Mechanical Power and Electricity recipes with units: | |||
{{markup|<nowiki> | |||
{{Recipe | |||
| Building = Low-pressure Turbine | |||
| Input1Name = Steam Lo | |||
| Input1Qty = 4 | |||
| Time = 5 | |||
| Output1Name = Mechanical Power | |||
| Output1Qty = 1 | |||
| Output1Unit = MW | |||
| Output2Name = Steam Depleted | |||
| Output2Qty = 4 | |||
}}</nowiki>| | |||
{{Recipe | |||
| Building = Low-pressure Turbine | |||
| Input1Name = Steam Lo | |||
| Input1Qty = 4 | |||
| Time = 5 | |||
| Output1Name = Mechanical Power | |||
| Output1Qty = 1 | |||
| Output1Unit = MW | |||
| Output2Name = Steam Depleted | |||
| Output2Qty = 4 | |||
}} | |||
}} | |||
---- | |||
:Example usage for instantaneous recipes: | |||
{{markup|<nowiki> | |||
{{Recipe | |||
| Building = Power Generator | |||
| Input1Name = Mechanical Power | |||
| Input1Qty = 500 | |||
| Input1Unit = KW | |||
| Time = instant | |||
| Output1Name = Electricity | |||
| Output1Qty = 250 | |||
| Output1Unit = KW | |||
}}</nowiki>| | |||
{{Recipe | |||
| Building = Power Generator | |||
| Input1Name = Mechanical Power | |||
| Input1Qty = 500 | |||
| Input1Unit = KW | |||
| Time = instant | |||
| Output1Name = Electricity | |||
| Output1Qty = 250 | |||
| Output1Unit = KW | |||
}} | }} | ||
}} | }} |
Revision as of 14:30, 16 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.
- Usage
- Example usage for a machine with both inputs and outputs:
Markup | Renders as |
---|---|
{{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 flaring liquids:
Markup | Renders as |
---|---|
{{Recipe | Building = Flare | Input1Name = Diesel | Input1Qty = 10 | Time = 20 | Output1Name = Air Pollution | Output1Qty = 20 }} |
|
- Examples usages for venting gasses or dumping liquids:
Markup | Renders as |
---|---|
{{Recipe | Venting = yes | Building = Smoke Stack | Input1Name = Oxygen | Input1Qty = 200 | Time = 20 }} |
|
Markup | Renders as |
---|---|
{{Recipe | DumpingLiq = yes | Building = Liquid Dump | Input1Name = Waste Water | Input1Qty = 2 | Time = 2 }} |
|
- Example usage for mining:
Markup | Renders as |
---|---|
{{Recipe | Mining = yes | Output1Name = Copper Ore }} |
Building not defined
|
- Example usage for dumping loose materials:
Markup | Renders as |
---|---|
{{Recipe | Dumping = yes | Input1Name = Rock }} |
Building not defined
|
- Example usage for Mechanical Power and Electricity recipes with units:
Markup | Renders as |
---|---|
{{Recipe | Building = Low-pressure Turbine | Input1Name = Steam Lo | Input1Qty = 4 | Time = 5 | Output1Name = Mechanical Power | Output1Qty = 1 | Output1Unit = MW | Output2Name = Steam Depleted | Output2Qty = 4 }} |
|
- Example usage for instantaneous recipes:
Markup | Renders as |
---|---|
{{Recipe | Building = Power Generator | Input1Name = Mechanical Power | Input1Qty = 500 | Input1Unit = KW | Time = instant | Output1Name = Electricity | Output1Qty = 250 | Output1Unit = KW }} |
|