NFPA 704 {{Chembox}}, the {{NFPA 704}} box and {{OrganicBox complete}}.

All testcases below use the /sandbox version of the template.

Input options edit

Default code (blank) edit

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


Basic 0–4 and - (hyphen) edit

=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

Special hazard options edit

|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
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=COR |S=CRYO
|S=RA
|showimage=yes
|S=RA
|showimage=no
|S=RAD
|showimage=yes
|S=BIO
|showimage=yes
|S=BIO
|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 code

S=RAD NFPA code error
.

Unknown codes (error) edit

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

H=klm NFPA code error
.
F=abc 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

Adding references edit

"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
[10]+plain text with 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 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 1: Normally stable, but can become unstable at elevated temperatures and pressures. E.g. calciumSpecial hazards (white): no code
2
4
1
Plain text
NFPA 704 four-colored diamondHealth (blue): no hazard codeFlammability (red): no hazard codeInstability (yellow): no hazard codeSpecial hazards (white): no code

Texts edit

{| class="wikitable sortable" style="background:lavender" |- ! colspan=4 style="background:thistle" | Texts |- ! input type !! quarter !! code !! text |- !   !! !! !! |- | data-sort-value="code" | code | data-sort-value="F1_a0" | F | data-sort-value="0" | 0 || {{NFPA 704 diamond/text|quarter=red|code=0}} |- | data-sort-value="code" | code | data-sort-value="F1_0" | F | data-sort-value="1" | 1 || {{NFPA 704 diamond/text|quarter=red|code=1}} |- | data-sort-value="code" | code | data-sort-value="F1_2" | F | data-sort-value="2" | 2 || {{NFPA 704 diamond/text|quarter=red|code=2}} |- | data-sort-value="code" | code | data-sort-value="F1_3" | F | data-sort-value="3" | 3 || {{NFPA 704 diamond/text|quarter=red|code=3}} |- | data-sort-value="code" | code | data-sort-value="F1_4" | F | data-sort-value="4" | 4 || {{NFPA 704 diamond/text|quarter=red|code=4}} |- | data-sort-value="code" | code | data-sort-value="H1_0" | H | data-sort-value="0" | 0 || {{NFPA 704 diamond/text|quarter=blue|code=0}} |- | data-sort-value="code" | code | data-sort-value="H1_1" | H | data-sort-value="1" | 1 || {{NFPA 704 diamond/text|quarter=blue|code=1}} |- | data-sort-value="code" | code | data-sort-value="H1_2" | H | data-sort-value="2" | 2 || {{NFPA 704 diamond/text|quarter=blue|code=2}} |- | data-sort-value="code" | code | data-sort-value="H1_3" | H | data-sort-value="3" | 3 || {{NFPA 704 diamond/text|quarter=blue|code=3}} |- | data-sort-value="code" | code | data-sort-value="H1_4" | H | data-sort-value="4" | 4 || {{NFPA 704 diamond/text|quarter=blue|code=4}} |- | data-sort-value="code" | code | data-sort-value="R1_0" | R | data-sort-value="0" | 0 || {{NFPA 704 diamond/text|quarter=yellow|code=0}} |- | data-sort-value="code" | code | data-sort-value="R1_1" | R | data-sort-value="1" | 1 || {{NFPA 704 diamond/text|quarter=yellow|code=1}} |- | data-sort-value="code" | code | data-sort-value="R1_2" | R | data-sort-value="2" | 2 || {{NFPA 704 diamond/text|quarter=yellow|code=2}} |- | data-sort-value="code" | code | data-sort-value="R1_3" | R | data-sort-value="3" | 3 || {{NFPA 704 diamond/text|quarter=yellow|code=3}} |- | data-sort-value="code" | code | data-sort-value="R1_4" | R | data-sort-value="4" | 4 || {{NFPA 704 diamond/text|quarter=yellow|code=4}} |- | data-sort-value="code" | code | data-sort-value="S1_ox" | S || OX || {{NFPA 704 diamond/text|quarter=white|code=OX}} |- | data-sort-value="code" | code | data-sort-value="S1_w1" | S || W || {{NFPA 704 diamond/text|quarter=white|code=W}} |- | data-sort-value="code" | code | data-sort-value="S1_w2" | S || <s>W</s> || {{NFPA 704 diamond/text|quarter=white|code=<s>W</s>}} (see code <code>W</code>) |- | data-sort-value="code" | code | data-sort-value="S1_sa" | S || SA || {{NFPA 704 diamond/text|quarter=white|code=SA}} |- | data-sort-value="code" | code | data-sort-value="S1_cor" | S || COR || {{NFPA 704 diamond/text|quarter=white|code=COR}} |- | data-sort-value="code" | code | data-sort-value="S1_bio" | S || BIO || {{NFPA 704 diamond/text|quarter=white|code=BIO}} |- | data-sort-value="code" | code | data-sort-value="S1_cryo" | S || CRYO || {{NFPA 704 diamond/text|quarter=white|code=CRYO}} |- | data-sort-value="code" | code | data-sort-value="S1_acid" | S || ACID || {{NFPA 704 diamond/text|quarter=white|code=ACID}} |- | data-sort-value="code" | code | data-sort-value="S1_alk" | S || ALK || {{NFPA 704 diamond/text|quarter=white|code=ALK}} |- | data-sort-value="code" | code | data-sort-value="S1_ra" | S || RA || {{NFPA 704 diamond/text|quarter=white|code=RA}} |- | data-sort-value="code" | code | data-sort-value="S1_wox1" | S || W OX || {{NFPA 704 diamond/text|quarter=white|code=W OX}} |- | data-sort-value="code" | code | data-sort-value="S1_wox2" | S || WOX || {{NFPA 704 diamond/text|quarter=white|code=WOX }} |- | data-sort-value="blankF" | blank | data-sort-value="F5_" | F | F=<blank> || {{NFPA 704 diamond/text|quarter=red|code=}} |- | data-sort-value="blankH" | blank | data-sort-value="H5_" | H | H=<blank> || {{NFPA 704 diamond/text|quarter=blue|code=}} |- | data-sort-value="blankR" | blank | data-sort-value="R5_" | R | R=<blank> || {{NFPA 704 diamond/text|quarter=yellow|code=}} |- | data-sort-value="blankS" | blank | data-sort-value="S5_" | S | S=<blank> || {{NFPA 704 diamond/text|quarter=white|code=}} |- | data-sort-value="blank2F" | blank | data-sort-value="F5-" | F | (no param) || {{NFPA 704 diamond/text|quarter=red}} |- | data-sort-value="blank2H" | blank | data-sort-value="H5-" | H | (no param) || {{NFPA 704 diamond/text|quarter=blue}} |- | data-sort-value="blank2R" | blank | data-sort-value="R5-" | R | (no param) || {{NFPA 704 diamond/text|quarter=yellow}} |- | data-sort-value="blank2S" | blank | data-sort-value="S5-" | S | (no param) || {{NFPA 704 diamond/text|quarter=white}} |- | data-sort-value="blank3F" | blank | data-sort-value="F5-" | F | - || {{NFPA 704 diamond/text|quarter=red|code=-}} |- | data-sort-value="blank3H" | blank | data-sort-value="H5-" | H | - || {{NFPA 704 diamond/text|quarter=blue|code=-}} |- | data-sort-value="blank3R" | blank | data-sort-value="R5-" | R | - || {{NFPA 704 diamond/text|quarter=yellow|code=-}} |- | data-sort-value="blank3S" | blank | data-sort-value="S5-" | S | - || {{NFPA 704 diamond/text|quarter=white|code=-}} |- | data-sort-value="errorF" | unknown | data-sort-value="F7z" | F || xyz || {{NFPA 704 diamond/text|quarter=red|code=xyz}} |- | data-sort-value="errorH" | unknown | data-sort-value="H7z" | H || xyz || {{NFPA 704 diamond/text|quarter=blue|code=xyz}} |- | data-sort-value="errorR" | unknown | data-sort-value="R7z" | R || xyz || {{NFPA 704 diamond/text|quarter=yellow|code=xyz}} |- | data-sort-value="errorS" | unknown | data-sort-value="S7z" | S || xyz || {{NFPA 704 diamond/text|quarter=white|code=xyz}} |} ==Color style== :Option {{para|background|2=green}}. Default is {{code|1=transparent}}. {| class=wikitable cellpadding=0 style="background:lemonchiffon" |- |{{NFPA 704 diamond/sandbox|F=2|H=2|R=2|S=-|background=green|ref=<ref>{{cite web|url=http://chemlabs.uoregon.edu/Safety/NFPA_White.html|title=some title}}</ref>}} |} ;Colors used {| class="wikitable nounderlines" style="text-align:center; font-size:big; width:20em;" |- ! Red !! Blue !! Yellow !! White |- | style="background:#ff6666;" | '''4''' | style="background:#6691ff;" | '''2''' | style="background:#fcff66;" | '''3''' | style="background:#ffffff;" | '''SA''' |- | <code>#ff6666</code> | <code>#6691ff</code> | <code>#fcff66</code> | <code>#ffffff</code> |}

See also edit

References