Template:Combustion: Difference between revisions
More actions
mNo edit summary |
mNo edit summary |
||
| Line 8: | Line 8: | ||
"Fuel": { | "Fuel": { | ||
"label": "Fuel", | "label": "Fuel", | ||
"type": " | "type": "line", | ||
"required": true, | "required": true, | ||
"description": "The fuel (or hypergol) used in the combustion, along with its quantity. Example: Methane, 2", | "description": "The fuel (or hypergol) used in the combustion, along with its quantity. Example: Methane, 2", | ||
| Line 15: | Line 15: | ||
"Oxidizer": { | "Oxidizer": { | ||
"label": "Oxidizer", | "label": "Oxidizer", | ||
"type": " | "type": "line", | ||
"required": false, | "required": false, | ||
"suggested": true, | "suggested": true, | ||
| Line 23: | Line 23: | ||
"Output": { | "Output": { | ||
"label": "Output", | "label": "Output", | ||
"type": " | "type": "line", | ||
"required": false, | "required": false, | ||
"suggested": true, | "suggested": true, | ||
"description": "The oxidizer used in the combustion, along with its quantity | "description": "The oxidizer used in the combustion, along with its quantity. Example: Carbon Dioxide, 6" | ||
}, | |||
"Output2": { | |||
"label": "Output 2", | |||
"type": "line", | |||
"required": false, | |||
"suggested": false, | |||
"description": "Additional combustion output." | |||
}, | |||
"Output3": { | |||
"label": "Output 3", | |||
"type": "line", | |||
"required": false, | |||
"suggested": false, | |||
"description": "Additional combustion output." | |||
} | } | ||
} | } | ||
} | } | ||
</templatedata> | </templatedata> | ||
Additional outputs can be created by creating more fields with names starting with "Output". Example: " | Additional outputs can be created by creating more fields with names starting with "Output" on the source editor. Example: "Output4" with value "Pollutant, 3" | ||
Use example: | Use example: | ||
Revision as of 22:25, 15 March 2026
Template script at Module:Combustion.
Display a combustion reaction, automatically calculating combustion energy.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Fuel | Fuel | The fuel (or hypergol) used in the combustion, along with its quantity. Example: Methane, 2
| Line | required |
| Oxidizer | Oxidizer | The oxidizer used in the combustion, along with its quantity. Example: Oxygen, 1
| Line | suggested |
| Output | Output | The oxidizer used in the combustion, along with its quantity. Example: Carbon Dioxide, 6 | Line | suggested |
| Output 2 | Output2 | Additional combustion output. | Line | optional |
| Output 3 | Output3 | Additional combustion output. | Line | optional |
Additional outputs can be created by creating more fields with names starting with "Output" on the source editor. Example: "Output4" with value "Pollutant, 3"
Use example:
{{Combustion|Fuel = Methane, 3|Oxidizer = Ozone, 2|Output = Pollutant, 3|Output2 = Carbon Dioxide, 6| Output3 = Steam, 1}}
->