Template:ExplosionReactionEffect: Difference between revisions

From Space Station 14 Wiki
(Created page with "Causes an explosion{{#if:{{{when|}}}| when {{{when}}}}}.")
 
(docs)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
Causes an explosion{{#if:{{{when|}}}| when {{{when}}}}}.
<includeonly>Causes an explosion{{#if:{{{when|}}}|&#x20;when {{{when}}}}}.</includeonly><noinclude>
{{documentation}}
 
[[Category:Recipe templates]]
<templatedata>
{
"params": {
"when": {
"suggested": true,
"label": "Condition",
"example": "ingested",
"type": "string"
}
},
"description": "Produces a sentence \"causes an explosion\" with optional \"when\" condition. Used in recipes."
}
</templatedata>
</noinclude>

Latest revision as of 07:40, 25 June 2024

Template documentation
view or edit this documentation about template documentation

  • {{ExplosionReactionEffect}}

produces:

Causes an explosion.

  • {{ExplosionReactionEffect|when=ingested}}

produces:

Causes an explosion when ingested.

Produces a sentence "causes an explosion" with optional "when" condition. Used in recipes.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Conditionwhen

no description

Example
ingested
Stringsuggested