Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Parameters  





2 Input options  



2.1  Basic 04 and - (hyphen)  





2.2  Default code (blank)  





2.3  Special hazard options  





2.4  Unknown codes (error)  







3 Adding references  





4 List of codes  





5 Color style  





6 Template data  





7 Known issues  





8 Tracking category  





9 See also  





10 References  














Template:NFPA 704 diamond






العربية

Авар
Azərbaycanca
تۆرکجه

Башҡортса
Беларуская
Беларуская (тарашкевіца)

Български
Čeština
Dansk
Ελληνικά
Español
Euskara
فارسی
Français
ГӀалгӀай

Հայերեն
Bahasa Indonesia
Italiano
עברית

Қазақша
Bahasa Melayu


Нохчийн
ି

Polski
Português
Русский
Scots
Simple English
Slovenčina
Slovenščina
کوردی
Српски / srpski
Sunda
Svenska
Tagalog

Türkçe
Українська
اردو
Tiếng Vit

 

Edit links
 









Template
Talk
 

















Read
View source
View history
 








Tools
   


Actions  



Read
View source
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 




In other projects  



Wikiversity
 
















Appearance
   

 





Permanently protected template

From Wikipedia, the free encyclopedia
 


NFPA 704 four-colored diamondHealth (blue): no hazard codeFlammability (red): no hazard codeInstability (yellow): no hazard codeSpecial hazards (white): no code

This template produces a NFPA 704 safety square with optionally four hazard codes. It is designed to be used in a table.

Primary use is through {{Chembox}}, the {{NFPA 704}} box and {{OrganicBox complete}} (chemical data pages).

When used stand-alone (outside of a table), consider the {{NFPA 704}} box.

Parameters

{{NFPA 704 diamond
 | H          =
 | F          =
 | I          =
 | S          =
 | ref        =
 | showimage  =
 | background =
}}
 
Health code, 0-4 or - (hyphen for blank)
Flammability code
Instability (reactivity) code ("R=" is also allowed)
Special code W, OX, W+OX, ..., or - (hyphen for blank)
References. Add the <ref> ... </ref> tags.
Set =no to show text instead ('RA' only. Default: =yes, show image)
background color (e.g., =yellow or =#ff7623)
}}

Input options

Main rule: if the quarter must be blank, input is the hyphen, -. Do not depend on default behavior in this situation.

Basic 0–4 and - (hyphen)

for |H=, |F=, |I=
=0 =1 =2 =3 =4 =- (hyphen)
NFPA 704 four-colored diamondHealth 0: Exposure under fire conditions would offer no hazard beyond that of ordinary combustible material. E.g. sodium chlorideFlammability 0: Will not burn. E.g. waterInstability 0: Normally stable, even under fire exposure conditions, and is not reactive with water. E.g. liquid nitrogenSpecial hazards (white): no code
0
0
0
NFPA 704 four-colored diamondHealth 1: Exposure would cause irritation but only minor residual injury. E.g. turpentineFlammability 1: Must be pre-heated before ignition can occur. Flash point over 93 °C (200 °F). E.g. canola oilInstability 1: Normally stable, but can become unstable at elevated temperatures and pressures. E.g. calciumSpecial hazards (white): no code
1
1
1
NFPA 704 four-colored diamondHealth 2: Intense or continued but not chronic exposure could cause temporary incapacitation or possible residual injury. E.g. chloroformFlammability 2: Must be moderately heated or exposed to relatively high ambient temperature before ignition can occur. Flash point between 38 and 93 °C (100 and 200 °F). E.g. diesel fuelInstability 2: Undergoes violent chemical change at elevated temperatures and pressures, reacts violently with water, or may form explosive mixtures with water. E.g. white phosphorusSpecial hazards (white): no code
2
2
2
NFPA 704 four-colored diamondHealth 3: Short exposure could cause serious temporary or residual injury. E.g. chlorine gasFlammability 3: Liquids and solids that can be ignited under almost all ambient temperature conditions. Flash point between 23 and 38 °C (73 and 100 °F). E.g. gasolineInstability 3: Capable of detonation or explosive decomposition but requires a strong initiating source, must be heated under confinement before initiation, reacts explosively with water, or will detonate if severely shocked. E.g. hydrogen peroxideSpecial hazards (white): no code
3
3
3
NFPA 704 four-colored diamondHealth 4: Very short exposure could cause death or major residual injury. E.g. VX gasFlammability 4: Will rapidly or completely vaporize at normal atmospheric pressure and temperature, or is readily dispersed in air and will burn readily. Flash point below 23 °C (73 °F). E.g. propaneInstability 4: Readily capable of detonation or explosive decomposition at normal temperatures and pressures. E.g. nitroglycerinSpecial hazards (white): no code
4
4
4
NFPA 704 four-colored diamondHealth (blue): no hazard codeFlammability (red): no hazard codeInstability (yellow): no hazard codeSpecial hazards (white): no code
Parameters |H=, |F=|I= accept codes 0, 1, 2, 3, 4, -. Code - (hyphen) produces a blank ("no hazard code").

A blank can be set (enforced) by entering =-, a hyphen. This is the preferred way to reflect what the source states (don't depend on the default blank in this situation).

Default code (blank)

= <blank>
NFPA 704 four-colored diamondHealth (blue): no hazard codeFlammability (red): no hazard codeInstability (yellow): no hazard codeSpecial hazards (white): no code

All four codes default to blank, that is: no NFPA code is present or shown. There is no specific text (just a link to the NFPA color section). Note that a blank is not the same as code "0". Code "0" is an explicit statement, while a blank is the absence of any statement.

A blank can also be enforced by entering =- (hyphen). This is the preferred way to reflect what the source states (do not depend on default).

From the input, spaces and even newlines (all whitespace) are treated as blank. Note that =&nbsp; code produces an error, but entering the nbsp character (>= <) is accepted as a space (blank).

Special hazard options

|S=W |S=OX |S=W+OX |S=SA |S=- (hyphen)
NFPA 704 four-colored diamondHealth (blue): no hazard codeFlammability (red): no hazard codeInstability (yellow): no hazard codeSpecial hazard W: Reacts with water in an unusual or dangerous manner. E.g. sodium, sulfuric acid
W
NFPA 704 four-colored diamondHealth (blue): no hazard codeFlammability (red): no hazard codeInstability (yellow): no hazard codeSpecial hazard OX: Oxidizer. E.g. potassium perchlorate
NFPA 704 four-colored diamondHealth (blue): no hazard codeFlammability (red): no hazard codeInstability (yellow): no hazard codeSpecial hazard W+OX: Reacts with water in an unusual or dangerous manner AND is oxidizer
NFPA 704 four-colored diamondHealth (blue): no hazard codeFlammability (red): no hazard codeInstability (yellow): no hazard codeSpecial hazard SA: Simple asphyxiant gas. E.g. nitrogen, helium
NFPA 704 four-colored diamondHealth (blue): no hazard codeFlammability (red): no hazard codeInstability (yellow): no hazard codeSpecial hazards (white): no code
|S=ACID |S=ALK |S=BIO |S=COR |S=CRYO
NFPA 704 four-colored diamondHealth (blue): no hazard codeFlammability (red): no hazard codeInstability (yellow): no hazard codeSpecial hazard ACID: Acid
NFPA 704 four-colored diamondHealth (blue): no hazard codeFlammability (red): no hazard codeInstability (yellow): no hazard codeSpecial hazard ALK: Alkaline
NFPA 704 four-colored diamondHealth (blue): no hazard codeFlammability (red): no hazard codeInstability (yellow): no hazard codeSpecial hazard BIO: Biohazardous. E.g. smallpox virus
NFPA 704 four-colored diamondHealth (blue): no hazard codeFlammability (red): no hazard codeInstability (yellow): no hazard codeSpecial hazard COR: Corrosive; strong acid or base. E.g. sulfuric acid, potassium hydroxide
NFPA 704 four-colored diamondHealth (blue): no hazard codeFlammability (red): no hazard codeInstability (yellow): no hazard codeSpecial hazard CRYO: Cryogenic
|S=RA
|showimage=<default>
|S=RA
|showimage=yes
|S=RA
|showimage=no
NFPA 704 four-colored diamondHealth (blue): no hazard codeFlammability (red): no hazard codeInstability (yellow): no hazard codeSpecial hazard RA: Radioactive. E.g. plutonium
Special hazard RA: Radioactive. E.g. plutonium
NFPA 704 four-colored diamondHealth (blue): no hazard codeFlammability (red): no hazard codeInstability (yellow): no hazard codeSpecial hazard RA: Radioactive. E.g. plutonium
Special hazard RA: Radioactive. E.g. plutonium
NFPA 704 four-colored diamondHealth (blue): no hazard codeFlammability (red): no hazard codeInstability (yellow): no hazard codeSpecial hazard RA: Radioactive. E.g. plutonium

For W enter |S=W.

For WOX enter |S=W+OX, |S=W OXor|S=WOX.

The "Special" quarter is sometimes called "Other".

Unknown codes (error)

The diamond template checks for unknown codes.

=abc =&nbsp; =abc
|cat=no
NFPA 704 four-colored diamond

H=abc NFPA code error
.
F=klm NFPA code error
.
I=pqr NFPA code error
.
S=XYZ NFPA code error
.
NFPA 704 four-colored diamond

H=  NFPA code error
.
F=  NFPA code error
.
I=  NFPA code error
.
S=&NBSP; NFPA code error
.
NFPA 704 four-colored diamond

Articles with unknown codes are listed for maintenance (correction) in Category:Articles with unknown NFPA 704 code (0). Other pages (like this documentation) are not categorized, but have a message instead. This categorizing can be switched off by setting |cat=no

Note that =&nbsp; code produces an error, but entering the nbsp character (= ) is accepted as a space (blank).

Adding references

References can be added using |ref=.

|ref=<ref>{{cite web|url=http://chemlabs.uoregon.edu/Safety/NFPA_White.html|title=More on white codes}}</ref>
NFPA 704 four-colored diamondHealth 2: Intense or continued but not chronic exposure could cause temporary incapacitation or possible residual injury. E.g. chloroformFlammability 2: Must be moderately heated or exposed to relatively high ambient temperature before ignition can occur. Flash point between 38 and 93 °C (100 and 200 °F). E.g. diesel fuelInstability 2: Undergoes violent chemical change at elevated temperatures and pressures, reacts violently with water, or may form explosive mixtures with water. E.g. white phosphorusSpecial hazards (white): no code
2
2
2

The <ref> ... </ref> tags should be added. Multiple references can be entered. Depending on cell width, the links show above or next to the diamond. While technically possible to enter plain text, this is not supported (and this could be disallowed in the future).

NFPA 704 four-colored diamondHealth (blue): no hazard codeFlammability (red): no hazard codeInstability (yellow): no hazard codeSpecial hazards (white): no code
NFPA 704 four-colored diamondHealth (blue): no hazard codeFlammability (red): no hazard codeInstability (yellow): no hazard codeSpecial hazard RA: Radioactive. E.g. plutonium
NFPA 704 four-colored diamondHealth (blue): no hazard codeFlammability (red): no hazard codeInstability (yellow): no hazard codeSpecial hazard OX: Oxidizer. E.g. potassium perchlorate
NFPA 704 four-colored diamondHealth (blue): no hazard codeFlammability (red): no hazard codeInstability (yellow): no hazard codeSpecial hazard OX: Oxidizer. E.g. potassium perchlorate
NFPA 704 four-colored diamondHealth 2: Intense or continued but not chronic exposure could cause temporary incapacitation or possible residual injury. E.g. chloroformFlammability 2: Must be moderately heated or exposed to relatively high ambient temperature before ignition can occur. Flash point between 38 and 93 °C (100 and 200 °F). E.g. diesel fuelInstability 2: Undergoes violent chemical change at elevated temperatures and pressures, reacts violently with water, or may form explosive mixtures with water. E.g. white phosphorusSpecial hazards (white): no code
2
2
2
NFPA 704 four-colored diamondHealth 0: Exposure under fire conditions would offer no hazard beyond that of ordinary combustible material. E.g. sodium chlorideFlammability 0: Will not burn. E.g. waterInstability 0: Normally stable, even under fire exposure conditions, and is not reactive with water. E.g. liquid nitrogenSpecial hazards (white): no code
0
0
0
NFPA 704 four-colored diamondHealth 1: Exposure would cause irritation but only minor residual injury. E.g. turpentineFlammability 1: Must be pre-heated before ignition can occur. Flash point over 93 °C (200 °F). E.g. canola oilInstability 1: Normally stable, but can become unstable at elevated temperatures and pressures. E.g. calciumSpecial hazards (white): no code
1
1
1
"some title".
NFPA 704 four-colored diamondHealth 2: Intense or continued but not chronic exposure could cause temporary incapacitation or possible residual injury. E.g. chloroformFlammability 2: Must be moderately heated or exposed to relatively high ambient temperature before ignition can occur. Flash point between 38 and 93 °C (100 and 200 °F). E.g. diesel fuelInstability 2: Undergoes violent chemical change at elevated temperatures and pressures, reacts violently with water, or may form explosive mixtures with water. E.g. white phosphorusSpecial hazards (white): no code
2
2
2
NFPA 704 four-colored diamondHealth 4: Very short exposure could cause death or major residual injury. E.g. VX gasFlammability 4: Will rapidly or completely vaporize at normal atmospheric pressure and temperature, or is readily dispersed in air and will burn readily. Flash point below 23 °C (73 °F). E.g. propaneInstability 4: Readily capable of detonation or explosive decomposition at normal temperatures and pressures. E.g. nitroglycerinSpecial hazards (white): no code
4
4
4

List of codes

Code descriptions ( )
input type quarter code text
 
code H 0 Health 0: Exposure under fire conditions would offer no hazard beyond that of ordinary combustible material. E.g. sodium chloride
code H 1 Health 1: Exposure would cause irritation but only minor residual injury. E.g. turpentine
code H 2 Health 2: Intense or continued but not chronic exposure could cause temporary incapacitation or possible residual injury. E.g. chloroform
code H 3 Health 3: Short exposure could cause serious temporary or residual injury. E.g. chlorine gas
code H 4 Health 4: Very short exposure could cause death or major residual injury. E.g. VX gas
code F 0 Flammability 0: Will not burn. E.g. water
code F 1 Flammability 1: Must be pre-heated before ignition can occur. Flash point over 93 °C (200 °F). E.g. canola oil
code F 2 Flammability 2: Must be moderately heated or exposed to relatively high ambient temperature before ignition can occur. Flash point between 38 and 93 °C (100 and 200 °F). E.g. diesel fuel
code F 3 Flammability 3: Liquids and solids that can be ignited under almost all ambient temperature conditions. Flash point between 23 and 38 °C (73 and 100 °F). E.g. gasoline
code F 4 Flammability 4: Will rapidly or completely vaporize at normal atmospheric pressure and temperature, or is readily dispersed in air and will burn readily. Flash point below 23 °C (73 °F). E.g. propane
code I 0 Instability 0: Normally stable, even under fire exposure conditions, and is not reactive with water. E.g. liquid nitrogen
code I 1 Instability 1: Normally stable, but can become unstable at elevated temperatures and pressures. E.g. calcium
code I 2 Instability 2: Undergoes violent chemical change at elevated temperatures and pressures, reacts violently with water, or may form explosive mixtures with water. E.g. white phosphorus
code I 3 Instability 3: Capable of detonation or explosive decomposition but requires a strong initiating source, must be heated under confinement before initiation, reacts explosively with water, or will detonate if severely shocked. E.g. hydrogen peroxide
code I 4 Instability 4: Readily capable of detonation or explosive decomposition at normal temperatures and pressures. E.g. nitroglycerin
code S OX Special hazard OX: Oxidizer. E.g. potassium perchlorate
code S W, W, <s>W</s> Special hazard W: Reacts with water in an unusual or dangerous manner. E.g. sodium, sulfuric acid
code S W+OX, WOX Special hazard W+OX: Reacts with water in an unusual or dangerous manner AND is oxidizer
code S ACID Special hazard ACID: Acid
code S ALK Special hazard ALK: Alkaline
code S BIO Special hazard BIO: Biohazardous. E.g. smallpox virus
code S COR Special hazard COR: Corrosive; strong acid or base. E.g. sulfuric acid, potassium hydroxide
code S CRYO Special hazard CRYO: Cryogenic
code S POI Special hazard POI: Poisonous
code S RA Special hazard RA: Radioactive. E.g. plutonium
hyphen H - Health (blue): no hazard code
hyphen F - Flammability (red): no hazard code
hyphen I - Instability (yellow): no hazard code
hyphen S - Special hazards (white): no code
blank H <blank> Health (blue): no hazard code
blank F <blank> Flammability (red): no hazard code
blank I <blank> Instability (yellow): no hazard code
blank S <blank> Special hazards (white): no code
no letter
no letter 3
no letter 9
no letter WOX
unknown H xyz
unknown F xyz
unknown I xyz
unknown S xyz

Color style

Option |background=green. Default is transparent.
NFPA 704 four-colored diamondHealth 2: Intense or continued but not chronic exposure could cause temporary incapacitation or possible residual injury. E.g. chloroformFlammability 2: Must be moderately heated or exposed to relatively high ambient temperature before ignition can occur. Flash point between 38 and 93 °C (100 and 200 °F). E.g. diesel fuelInstability 2: Undergoes violent chemical change at elevated temperatures and pressures, reacts violently with water, or may form explosive mixtures with water. E.g. white phosphorusSpecial hazards (white): no code
2
2
2

Colors used

Blue Red Yellow White
1 4 3 SA
#6691ff #ff6666 #fcff66 #ffffff

Better not to use RGB colors named blue, red, yellow, because these produce a bad contrast with the text.


Template data

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:NFPA 704 diamond in articles based on its TemplateData.

TemplateData for NFPA 704 diamond

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Health (blue)H

no description

Suggested values
0, 1, 2, 3, 4, -
Stringoptional
Flammability (red)F

no description

Suggested values
0, 1, 2, 3, 4, -
Stringoptional
Instability, Reactivity (yellow)I R

no description

Suggested values
0, 1, 2, 3, 4, -
Stringoptional
Special code (white)S

no description

Suggested values
OX, W, WOX, W+OX, ACID, ALK, BIO, COR, CRYO, RA
Stringoptional
backgroundbackground

no description

Unknownoptional
refref

no description

Unknownoptional
showimageshowimage

shows S image when available

Booleanoptional
catcat

no description

Unknownoptional


Known issues

Tracking category

See also

References

  • ^ [1]
  • ^ [2]
  • ^ [3]
  • ^ "some title".
  • ^ [4]
  • ^ [5]
  • ^ "some title".
  • ^ [6]
  • ^ "some title".
  • ^ [7]
  • ^ [8]
  • ^ "some title".
  • The references are from the demos in this documentation.

    Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:NFPA_704_diamond&oldid=1169856739"

    Categories: 
    Templates using TemplateStyles
    Templates used in Chembox
    Hidden categories: 
    Wikipedia semi-protected templates
    Templates using TemplateData
    Templates that add a tracking category
     



    This page was last edited on 11 August 2023, at 18:36 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki