Jump to content

Template:Caution: Difference between revisions

From SOJI ELECTRONICS
[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>
== Description ==
CAUTION callout — potential minor or moderate injury.
== Usage ==
Insert via Visual Editor: Insert → Template → "Caution"


== TemplateData ==
== TemplateData ==
<templatedata>
<templatedata>
{
{
    "description": "CAUTION safety callout - potential minor or moderate injury",
"description": "CAUTION safety callout for life-threatening hazards.",
    "params": {
"params": {
        "title": {
"title": {
            "label": "Hazard Title",
"label": "Hazard title (no CAUTION prefix)",
            "description": "Brief description (e.g., RF Exposure)",
"description": "Just the hazard name. Template auto-adds 'CAUTION —' prefix.",
            "type": "string",
"type": "string",
            "required": true,
"required": true,
            "example": "RF Exposure"
"example": "Fire / Explosion Hazard"
        },
},
        "body": {
"body": {
            "label": "Hazard Details",
"label": "Content (use * for each bullet)",
            "description": "Hazard, consequence, and required action",
"description": "Type wikitext with * at start of each line for bullet list. Each new bullet = new line starting with *",
            "type": "content",
"type": "content",
            "required": true
"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"
"paramOrder": ["title", "body"],
"format": "block"
}
}
</templatedata>
</templatedata>
[[Category:Safety Templates]]
 
</noinclude>
</noinclude>

Latest revision as of 11:09, 13 May 2026

⚠️ CAUTION —

TemplateData

CAUTION safety callout for life-threatening hazards.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Hazard title (no CAUTION prefix)title

Just the hazard name. Template auto-adds 'CAUTION —' prefix.

Example
Fire / Explosion Hazard
Stringrequired
Content (use * for each bullet)body

Type wikitext with * at start of each line for bullet list. Each new bullet = new line starting with *

Example
* '''Hazard''': Fuel vapors are flammable
  • '''Consequence''': Death or serious injury
  • '''Required action''': Empty tank, ventilate
Contentrequired


SOJI Electronics