Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Hazard: Difference between revisions

Template page
Created page with "<noinclude>== Usage == <nowiki>{{</nowiki>{{PAGENAME}}<nowiki>}}</nowiki> and then "edit with form" ==Parameters== <templatedata> { "params": { "icon": { "description": "pictorial for this hazard, e.g. goggles for eye injury hazard", "type": "wiki-file-name", "suggested": true, "required": false }, "alt_text": { "description": "alt text for the icon, e.g. the words eye injury", "type": "line", "suggested": true, "required": false }, "..."
 
No edit summary
Line 23: Line 23:
"type": "number",
"type": "number",
"suggestedvalues": ["1", "2", "3", "4"],  
"suggestedvalues": ["1", "2", "3", "4"],  
"autovalue": "4",
"suggested": true,
"suggested": true,
"required": true
"required": true
Line 30: Line 31:
"type": "string",
"type": "string",
"suggestedvalues": ["continuous", "each use", "rarely"],
"suggestedvalues": ["continuous", "each use", "rarely"],
"autovalue": "{{CURRENTTIMESTAMP}}",
"autovalue": "continuous",
"suggested": true
"suggested": true
         }
         }

Revision as of 08:26, 2024 June 2

Usage

{{Hazard}}

and then "edit with form"

Parameters

This is the template for broken tools. It is used on tool pages, facilitated by [[Form:Tool]].

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
iconicon

pictorial for this hazard, e.g. goggles for eye injury hazard

Filesuggested
alt_textalt_text

alt text for the icon, e.g. the words eye injury

Linesuggested
severityseverity

how severe is the hazard if encountered

Suggested values
1 2 3 4
Auto value
4
Numberrequired
probabilityprobability

how probable is it to encounter the hazard

Suggested values
continuous each use rarely
Auto value
continuous
Stringsuggested

Cargo Declaration

This template defines the table "broken". View table.