Template:Warning: Difference between revisions
Appearance
| [unchecked revision] | [checked revision] |
Created page with "{| class="wikitable warning" ! ⚠️ WARNING — {{{title|}}} |- | {{{body|}}} |}<noinclude> == Description == WARNING callout — potential hazard with risk of serious injury. == Usage == Insert via Visual Editor: Insert → Template → "Warning" == TemplateData == <templatedata> { "description": "WARNING safety callout - potential hazard with serious injury risk", "params": { "title": { "label": "Hazard Title", "description"..." |
No edit summary |
||
| Line 2: | Line 2: | ||
! ⚠️ WARNING — {{{title|}}} | ! ⚠️ WARNING — {{{title|}}} | ||
|- | |- | ||
| | | | ||
{{{body|}}} | {{{body|}}} | ||
|}<noinclude> | |}<noinclude> | ||
== TemplateData == | == TemplateData == | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"description": "WARNING safety callout for life-threatening hazards.", | |||
"params": { | |||
"title": { | |||
"label": "Hazard title (no WARNING prefix)", | |||
"description": "Just the hazard name. Template auto-adds 'WARNING —' 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:08, 13 May 2026
| ⚠️ WARNING — |
|---|
TemplateData
WARNING safety callout for life-threatening hazards.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Hazard title (no WARNING prefix) | title | Just the hazard name. Template auto-adds 'WARNING —' 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 |