Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Combustion: Difference between revisions

Template page
RA2lover (talk | contribs)
Add visual editor template documentation
RA2lover (talk | contribs)
mNo edit summary
Line 4: Line 4:
<templatedata>
<templatedata>
{
{
"description": "Display a gas or liquid's icon image, with a link to its corresponding wiki page.",
"description": "Display a combustion reaction, automatically calculating combustion energy.",
"params":{
"params":{
     "Fuel": {
     "Fuel": {

Revision as of 22:15, 15 March 2026

Template script at Module:Combustion.

Display a combustion reaction, automatically calculating combustion energy.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
FuelFuel

The fuel (or hypergol) used in the combustion, along with its quantity. Example: Methane, 2

Suggested values
Methane, 2 Hydrogen, 2 Alcohol, 1 Hydrazine, 1
Stringrequired
OxidizerOxidizer

The oxidizer used in the combustion, along with its quantity. Example: Oxygen, 1

Suggested values
Oxygen, 1 Nitrous Oxide, 1 Ozone, 2
Stringsuggested
OutputOutput

The oxidizer used in the combustion, along with its quantity. Example: Carbon Dioxide, 6

Stringsuggested

Additional outputs can be created by creating more fields with names starting with "Output". Example: "Output2" with value "Pollutant, 3"

Use example:

{{Combustion|Fuel = Methane, 3|Oxidizer = Ozone, 2|Output = Pollutant, 3|Output2 = Carbon Dioxide, 6| Output3 = Steam, 1}}

->

3x = 1x + 6x + 3x + 858 kJ