Template:SafetyCallout: Difference between revisions
Appearance
| [unchecked revision] | [checked revision] |
No edit summary |
No edit summary |
||
| Line 7: | Line 7: | ||
</div> | </div> | ||
</div><noinclude> | </div><noinclude> | ||
{{ | == Description == | ||
Safety warning callout box per ANSI Z535.6. | |||
== Usage == | |||
<pre> | |||
{{SafetyCallout | |||
| level = danger | |||
| title = Fire Hazard | |||
| body = '''Hazard''': ... | |||
'''Consequence''': ... | |||
'''Action''': ... | |||
}} | |||
</pre> | |||
== TemplateData == | |||
<templatedata> | |||
{ | |||
"description": "Safety warning callout box per ANSI Z535.6 standard", | |||
"params": { | |||
"level": { | |||
"label": "Severity Level", | |||
"description": "Severity: danger, warning, caution, or notice", | |||
"type": "string", | |||
"required": true, | |||
"suggestedvalues": ["danger", "warning", "caution", "notice"], | |||
"default": "notice" | |||
}, | |||
"title": { | |||
"label": "Hazard Title", | |||
"description": "Brief description (e.g., Fire Hazard)", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"body": { | |||
"label": "Hazard Details", | |||
"description": "Hazard, consequence, required action", | |||
"type": "content", | |||
"required": true | |||
} | |||
}, | |||
"paramOrder": ["level", "title", "body"], | |||
"format": "block" | |||
} | |||
</templatedata> | |||
</noinclude> | </noinclude> | ||
Latest revision as of 10:37, 13 May 2026
NOTICE —
Description
Safety warning callout box per ANSI Z535.6.
Usage
{{SafetyCallout
| level = danger
| title = Fire Hazard
| body = '''Hazard''': ...
'''Consequence''': ...
'''Action''': ...
}}
TemplateData
Safety warning callout box per ANSI Z535.6 standard
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Severity Level | level | Severity: danger, warning, caution, or notice
| String | required |
| Hazard Title | title | Brief description (e.g., Fire Hazard) | String | required |
| Hazard Details | body | Hazard, consequence, required action | Content | required |