Template:Chembox: Difference between revisions

From Space Station 14 Wiki
No edit summary
Tag: Manual revert
(docs)
 
Line 1: Line 1:
<div id="chem_{{{prototype}}}" class="quickbox" style="width: 25em;">
<includeonly><div id="chem_{{{prototype}}}" class="quickbox" style="width: 25em;">
<div class="quickboxhead" style="font-weight: 500; background-color: {{#invoke:Chemistry Lookup|getcolor|{{{prototype|BuzzochloricBees}}}}}; color: {{#invoke:Chemistry Lookup|gettextcolor|{{{prototype|BuzzochloricBees}}}}}">'''{{ucfirst:{{#invoke:Chemistry Lookup|readscalar|{{{prototype|BuzzochloricBees}}}|name}}}}'''</div>
<div class="quickboxhead" style="font-weight: 500; background-color: {{#invoke:Chemistry Lookup|getcolor|{{{prototype|BuzzochloricBees}}}}}; color: {{#invoke:Chemistry Lookup|gettextcolor|{{{prototype|BuzzochloricBees}}}}}">'''{{ucfirst:{{#invoke:Chemistry Lookup|readscalar|{{{prototype|BuzzochloricBees}}}|name}}}}'''</div>
{{#ifeq:{{#invoke:Chemistry Lookup|hasrecipe|{{{prototype|BuzzochloricBees}}}}}|true|
{{#ifeq:{{#invoke:Chemistry Lookup|hasrecipe|{{{prototype|BuzzochloricBees}}}}}|true|
Line 31: Line 31:
-->{{#if:{{#invoke:Chemistry Lookup|checksatiateshunger|{{{prototype|BuzzochloricBees}}}}}|<br/>Satiates hunger.}}
-->{{#if:{{#invoke:Chemistry Lookup|checksatiateshunger|{{{prototype|BuzzochloricBees}}}}}|<br/>Satiates hunger.}}
</div>
</div>
</div>
</div></includeonly><noinclude>
{{documentation}}
 
[[Category:Recipe templates]]
<templatedata>
{
"params": {
"prototype": {
"label": "Reaction ID",
"description": "Reaction ID either from https://wiki.spacestation14.io/wiki/User:Moony/chem_prototypes.json or https://wiki.spacestation14.io/wiki/User:Moony/react_prototypes.json.",
"type": "string",
"required": true
}
},
"description": "Creates a card for a chemical recipe, also showing its description and listing effects."
}
</templatedata>
</noinclude>

Latest revision as of 07:24, 25 June 2024

Template documentation
view or edit this documentation about template documentation

  • {{Chembox|prototype=Histamine}}

produces:

Histamine
Effects
Poison (0.5 units per second)
10% chance to deal 4 Brute per unit.
Deals 4 Brute, 4 Airloss, and 4 Toxin per unit when more than 45u.

Histamine's effects become more dangerous depending on the dosage amount. They range from mildly annoying to incredibly lethal.
Seems to be abrasive.

  • {{Chembox|prototype=SnowWhite}}

produces:

Snow white
Effects
Drink (0.5 units per second)
Adds 0.05 ethanol.

A cold refreshment.
Seems to be bubbly.
Satiates thirst.

Creates a card for a chemical recipe, also showing its description and listing effects.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Reaction IDprototype

Reaction ID either from https://wiki.spacestation14.io/wiki/User:Moony/chem_prototypes.json or https://wiki.spacestation14.io/wiki/User:Moony/react_prototypes.json.

Stringrequired