Template:Caution: Difference between revisions
Appearance
| [unchecked revision] | [checked revision] |
Created page with "{| class="wikitable caution" ! ⚠️ CAUTION — {{{title|}}} |- | {{{body|}}} |}<noinclude> == Description == CAUTION callout — potential minor or moderate injury. == Usage == Insert via Visual Editor: Insert → Template → "Caution" == TemplateData == <templatedata> { "description": "CAUTION safety callout - potential minor or moderate injury", "params": { "title": { "label": "Hazard Title", "description": "Brief descript..." |
No edit summary |
||
| Line 2: | Line 2: | ||
! ⚠️ CAUTION — {{{title|}}} | ! ⚠️ CAUTION — {{{title|}}} | ||
|- | |- | ||
| | | | ||
{{{body|}}} | {{{body|}}} | ||
|}<noinclude> | |}<noinclude> | ||
== TemplateData == | == TemplateData == | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"description": "CAUTION safety callout for life-threatening hazards.", | |||
"params": { | |||
"title": { | |||
"label": "Hazard title (no CAUTION prefix)", | |||
"description": "Just the hazard name. Template auto-adds 'CAUTION —' prefix.", | |||
"type": "string", | |||
"required": true, | |||
"example": "Fire / Explosion Hazard" | |||
}, | |||
"body": { | |||
"label": "Content (use * for each bullet)", | |||
"description": "Type wikitext with * at start of each line for bullet list. Each new bullet = new line starting with *", | |||
"type": "content", | |||
"required": true, | |||
"example": "* '''Hazard''': Fuel vapors are flammable\n* '''Consequence''': Death or serious injury\n* '''Required action''': Empty tank, ventilate" | |||
} | |||
}, | |||
"paramOrder": ["title", "body"], | |||
"format": "block" | |||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> | ||
Latest revision as of 11:09, 13 May 2026
| ⚠️ CAUTION — |
|---|
TemplateData
CAUTION safety callout for life-threatening hazards.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Hazard title (no CAUTION prefix) | title | Just the hazard name. Template auto-adds 'CAUTION —' prefix.
| String | required |
| Content (use * for each bullet) | body | Type wikitext with * at start of each line for bullet list. Each new bullet = new line starting with *
| Content | required |