Template:Chem box: Difference between revisions
From Space Station 14 Wiki
depends on |
improved desc |
||
(2 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
{{docs|bb= | {{docs|bb= | ||
{{uses lua|Chem box}} | {{uses lua|Chem box}} | ||
{{depends on|Manual | {{depends on template|Manual Chem Box}} | ||
}} | }} | ||
Line 11: | Line 11: | ||
"params": { | "params": { | ||
"1": { | "1": { | ||
"label": " | "label": "Element name or ID", | ||
"type": "line", | "type": "line", | ||
"required": true, | "required": true, | ||
"description": " | "description": "Element name (any casing) or ID (strict casing).", | ||
"example": "Dermaline / Polypyrylium Oligomers" | |||
} | } | ||
}, | }, | ||
"description": "Generates a reagent | "description": "Generates a card describing a reagent/food item/element/etc., their recipe and effects when consumed. Uses a dataset to fetch the data.", | ||
"paramOrder": [ | "paramOrder": [ | ||
"1" | "1" |
Latest revision as of 03:54, 21 May 2025
Uses Lua module
This template uses Lua module:
Depends on template
This template depends on template:
Examples
Using reagent ID
{{chem box
↓
Dermaline
Recipes
Dermaline
Effects
Medicine (0.5u per second)
- Heals -1.5 Heat, -1.5 Shock, and -1.5 Cold
- Deals 0.5 Brute, 1 Asphyxiation, and 2 Cold when there's at least 10u of dermaline
- Causes jittering when there's at least 10u of dermaline
Using reagent name
{{chem box
↓
Polypyrylium Oligomers
Recipes
No recipes
Effects
Medicine (0.5u per second)
- Heals -3.5 Brute and -2.5 Asphyxiation
- Deals 3.5 Asphyxiation when there's at least 30u of Polypyrylium Oligomers
- Reduces bleeding
List of all reagents
See also
- {{Manual chem box}} - same as this, but is filled out manually. Not dependent on the dataset.
Generates a card describing a reagent/food item/element/etc., their recipe and effects when consumed. Uses a dataset to fetch the data.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Element name or ID | 1 | Element name (any casing) or ID (strict casing).
| Line | required |