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
Tag: Manual revert
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>== Usage ==
<noinclude>== Usage ==
  <nowiki>{{</nowiki>{{PAGENAME}}<nowiki>}}</nowiki>
  <nowiki>{{</nowiki>{{PAGENAME}}
| icon =
| alt_text =
| severity =
| probability =
<nowiki>}}</nowiki>
and then "edit with form"
and then "edit with form"


Line 8: Line 13:
"params": {
"params": {
"icon": {
"icon": {
"description": "pictorial for this hazard, e.g. goggles for eye injury hazard",
"description": "pictorial for this hazard, use [https://en.wikipedia.org/wiki/ISO_7010 ISO] where available",
"type": "wiki-file-name",
"type": "wiki-file-name",
"suggested": true,
"suggested": true,
Line 23: Line 28:
"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 36:
"type": "string",
"type": "string",
"suggestedvalues": ["continuous", "each use", "rarely"],
"suggestedvalues": ["continuous", "each use", "rarely"],
"autovalue": "{{CURRENTTIMESTAMP}}",
"autovalue": "continuous",
"suggested": true
"suggested": true
         }
         }
Line 56: Line 62:
-->__NOCACHE__<!--
-->__NOCACHE__<!--
-->{{#cargo_store:}}<!--
-->{{#cargo_store:}}<!--
-->[[Category:Hazard]<!--
--></includeonly>
--></includeonly>

Latest revision as of 09:24, 2024 June 2

Usage

{{Hazard
| icon = 
| alt_text = 
| severity = 
| probability = 
}}

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, use [https://en.wikipedia.org/wiki/ISO_7010 ISO] where available

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.