Template:Combustion: Difference between revisions
Template page
More actions
Add ShowAutoignition parameter |
mNo edit summary |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 4: | Line 4: | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"description": "Display a combustion reaction, automatically calculating combustion energy.", | "description": "Display a combustion reaction, automatically calculating combustion energy.", | ||
"params":{ | "params": { | ||
"ShowAutoignition": { | |||
"label": "Show Autoignition", | |||
"type": "boolean", | |||
"required": false, | |||
"suggested": false, | |||
"description": "Whether to display autoignition temperature.", | |||
"default": "false", | |||
"autovalue": "true" | |||
}, | |||
"Fuel": { | |||
"label": "Fuel", | |||
"type": "line", | |||
"required": true, | |||
"description": "The fuel (or hypergol) used in the combustion, along with its quantity.", | |||
"suggestedvalues": [ | |||
"Methane, ", | |||
"Hydrogen, ", | |||
"Alcohol, 1", | |||
"Hydrazine, 1" | |||
], | |||
"example": "Methane, 2" | |||
"suggestedvalues": ["Oxygen, ", "Nitrous Oxide, ", "Ozone, "] | }, | ||
"Oxidizer": { | |||
"label": "Oxidizer", | |||
"type": "line", | |||
"required": false, | |||
"suggested": true, | |||
"description": "The oxidizer used in the combustion, along with its quantity.", | |||
"suggestedvalues": [ | |||
"suggestedvalues": ["Carbon Dioxide, ", "Pollutant, ", "Steam, ","Nitrogen, "] | "Oxygen, ", | ||
"Nitrous Oxide, ", | |||
"Ozone, " | |||
], | |||
"example": "Oxygen, 1" | |||
}, | |||
"OutputA": { | |||
"label": "Output", | |||
"type": "line", | |||
"required": false, | |||
"suggested": true, | |||
"description": "The oxidizer used in the combustion, along with its quantity.", | |||
"suggestedvalues": [ | |||
"Carbon Dioxide, ", | |||
"Pollutant, ", | |||
"Steam, ", | |||
"Nitrogen, " | |||
], | |||
"aliases": [ | |||
"Output1", | |||
"Output" | |||
], | |||
"example": "Carbon Dioxide, 6" | |||
}, | |||
"OutputB": { | |||
"label": "Output 2", | |||
"type": "line", | |||
"required": false, | |||
"suggested": false, | |||
"description": "Additional combustion output.", | |||
"suggestedvalues": [ | |||
"Carbon Dioxide, ", | |||
"Pollutant, ", | |||
"Steam, ", | |||
"Nitrogen, " | |||
], | |||
"aliases": [ | |||
"Output2" | |||
] | |||
}, | |||
"OutputC": { | |||
"label": "Output 3", | |||
"type": "line", | |||
"required": false, | |||
"suggested": false, | |||
"description": "Additional combustion output.", | |||
"suggestedvalues": [ | |||
"Carbon Dioxide, ", | |||
"Pollutant, ", | |||
"Steam, ", | |||
"Nitrogen, " | |||
], | |||
"aliases": [ | |||
"Output3" | |||
] | |||
} | |||
} | |||
} | } | ||
</templatedata> | </templatedata> | ||
Additional outputs can be created by creating more fields with names starting with "Output" on the source editor. Example: " | Additional outputs can be created by creating more fields with names starting with "Output" on the source editor. Example: "OutputD" with value "Pollutant, 3" | ||
Use example: | Use example: | ||
Latest revision as of 23:48, 15 March 2026
Template script at Module:Combustion.
Display a combustion reaction, automatically calculating combustion energy.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Show Autoignition | ShowAutoignition | Whether to display autoignition temperature.
| Boolean | optional |
| Fuel | Fuel | The fuel (or hypergol) used in the combustion, along with its quantity.
| Line | required |
| Oxidizer | Oxidizer | The oxidizer used in the combustion, along with its quantity.
| Line | suggested |
| Output | OutputA Output1 Output | The oxidizer used in the combustion, along with its quantity.
| Line | suggested |
| Output 2 | OutputB Output2 | Additional combustion output.
| Line | optional |
| Output 3 | OutputC 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: "OutputD" with value "Pollutant, 3"
Use example:
{{Combustion|Fuel = Methane, 3|Oxidizer = Ozone, 2|Output = Pollutant, 3|Output2 = Carbon Dioxide, 6| Output3 = Steam, 1}}
->