Jump to content

Template:NFPA 704 diamond/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Line 51: Line 51:
| {{NFPA 704 diamond|F=-|H=1|R=-|S=ra|showimage=yes}}
| {{NFPA 704 diamond|F=-|H=1|R=-|S=ra|showimage=yes}}
| {{NFPA 704 diamond|F=-|H=1|R=-|S=ra|showimage=no}}
| {{NFPA 704 diamond|F=-|H=1|R=-|S=ra|showimage=no}}
|}
{{clear}}
:ref
| 0 || 1 || 2 || 3 || 4 || - (hyphen)
|-
|{{NFPA 704 diamond|F=0|H=0|R=0|S=-|ref=<ref>{{cite web|url=www.example.com|title=;woerguh}}</ref>}}
|{{NFPA 704 diamond|F=1|H=1|R=1|S=-|ref=<ref>{{cite web|url=www.example.com|title=;woerguh}}</ref>}}}}
|{{NFPA 704 diamond|F=2|H=2|R=2|S=-}}
|{{NFPA 704 diamond|F=3|H=3|R=3|S=-|ref=<ref>[www.example.com]</ref>}}
|{{NFPA 704 diamond|F=4|H=4|R=4|S=-|ref=<ref>{{cite web|url=www.example.com|title=;woerguh}}</ref>}}
|{{NFPA 704 diamond|F=-|H=-|R=-|S=-|ref={{cite web|url=www.example.com|title=;woerguh}}}}
|}
|}



Revision as of 20:12, 24 March 2014

This template produces a bare NFPA 704 fire diamond with optionally four hazard codes. Primary use is in {{Chembox}} and as a {{NFPA 704}} box.

in infobox

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
ibox
|S=W |S=OX |S=W+OX |S=SA
NFPA 704 four-colored diamondHealth 1: Exposure would cause irritation but only minor residual injury. E.g. turpentineFlammability (red): no hazard codeInstability (yellow): no hazard codeSpecial hazard W: Reacts with water in an unusual or dangerous manner. E.g. sodium, sulfuric acid
1
NFPA 704 four-colored diamondHealth 1: Exposure would cause irritation but only minor residual injury. E.g. turpentineFlammability (red): no hazard codeInstability (yellow): no hazard codeSpecial hazard OX: Oxidizer. E.g. potassium perchlorate
1
NFPA 704 four-colored diamondHealth 1: Exposure would cause irritation but only minor residual injury. E.g. turpentineFlammability (red): no hazard codeInstability (yellow): no hazard codeSpecial hazard SA: Simple asphyxiant gas. E.g. nitrogen, helium
1
|S=ACID |S=ALK |S=BIO |S=COR |S=CRYO
NFPA 704 four-colored diamondHealth 1: Exposure would cause irritation but only minor residual injury. E.g. turpentineFlammability (red): no hazard codeInstability (yellow): no hazard codeSpecial hazard BIO: Biohazardous. E.g. smallpox virus
1
Special hazard BIO: Biohazardous. E.g. smallpox virus
|S=RA
|showimage=yes
|S=RA
|showimage=no
NFPA 704 four-colored diamondHealth 1: Exposure would cause irritation but only minor residual injury. E.g. turpentineFlammability (red): no hazard codeInstability (yellow): no hazard codeSpecial hazard RA: Radioactive. E.g. plutonium
1
Special hazard RA: Radioactive. E.g. plutonium
NFPA 704 four-colored diamondHealth 1: Exposure would cause irritation but only minor residual injury. E.g. turpentineFlammability (red): no hazard codeInstability (yellow): no hazard codeSpecial hazard RA: Radioactive. E.g. plutonium
1
ref

| 0 || 1 || 2 || 3 || 4 || - (hyphen) |-

|

|

}} |

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

|

|

|

[www.example.com ";woerguh"]. {{cite web}}: Check |url= value (help)
NFPA 704 four-colored diamondHealth (blue): no hazard codeFlammability (red): no hazard codeInstability (yellow): no hazard codeSpecial hazards (white): no code

|}

Blanks and unknown code

Blanks include all whitespace
=<blank> <nbsp> no param newlines (whitespace) code=xyz &nbsp;
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 hazards (white): no code
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 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
.

Input options

Parameters

{{NFPA 704 diamond
| F =
| H =
| R =
| S =
| ref =
| showimage =
| style =
}}
 
Flammability code 0-4 or -
Health code 0-4 or -
Reactivity code 0-4 or -
Special code W, OX, W+OX, ..., or -
References. Add the <ref> ... </ref> tags.
Set =no to show text instead ('RA' only. Default: =yes, show image)
css style (e.g., style=background:yellow;)
}}

Basic 0–4 and hyphen (-)

A hyphen (-) can be used to set a color diamond to "blank" (no hazard code).
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

ibox
|S=W |S=OX |S=W+OX |S=SA
NFPA 704 four-colored diamondHealth 1: Exposure would cause irritation but only minor residual injury. E.g. turpentineFlammability (red): no hazard codeInstability (yellow): no hazard codeSpecial hazard W: Reacts with water in an unusual or dangerous manner. E.g. sodium, sulfuric acid
1
NFPA 704 four-colored diamondHealth 1: Exposure would cause irritation but only minor residual injury. E.g. turpentineFlammability (red): no hazard codeInstability (yellow): no hazard codeSpecial hazard OX: Oxidizer. E.g. potassium perchlorate
1
NFPA 704 four-colored diamondHealth 1: Exposure would cause irritation but only minor residual injury. E.g. turpentineFlammability (red): no hazard codeInstability (yellow): no hazard codeSpecial hazard SA: Simple asphyxiant gas. E.g. nitrogen, helium
1
|S=ACID |S=ALK |S=BIO |S=COR |S=CRYO
NFPA 704 four-colored diamondHealth 1: Exposure would cause irritation but only minor residual injury. E.g. turpentineFlammability (red): no hazard codeInstability (yellow): no hazard codeSpecial hazard BIO: Biohazardous. E.g. smallpox virus
1
Special hazard BIO: Biohazardous. E.g. smallpox virus
|S=RA
|showimage=yes
|S=RA
|showimage=no
NFPA 704 four-colored diamondHealth 1: Exposure would cause irritation but only minor residual injury. E.g. turpentineFlammability (red): no hazard codeInstability (yellow): no hazard codeSpecial hazard RA: Radioactive. E.g. plutonium
1
Special hazard RA: Radioactive. E.g. plutonium
NFPA 704 four-colored diamondHealth 1: Exposure would cause irritation but only minor residual injury. E.g. turpentineFlammability (red): no hazard codeInstability (yellow): no hazard codeSpecial hazard RA: Radioactive. E.g. plutonium
1

Blanks and unknown code

Blanks include all whitespace
=<blank> <nbsp> no param newlines (whitespace) code=xyz &nbsp;
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 hazards (white): no code
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 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
.

Adding references

|ref=<ref>{{cite web|url=http://chemlabs.uoregon.edu/Safety/NFPA_White.html|title=some title}}</ref>
[14]+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
-
NFPA 704 four-colored diamondHealth (blue): no hazard codeFlammability (red): no hazard codeInstability (yellow): no hazard codeSpecial hazards (white): no code

Used inline

  • Used inline (no enveloping box or table):
{{NFPA 704 diamond|H=3|S=W}}
NFPA 704 four-colored diamondHealth 3: Short exposure could cause serious temporary or residual injury. E.g. chlorine gasFlammability (red): no hazard codeInstability (yellow): no hazard codeSpecial hazard W: Reacts with water in an unusual or dangerous manner. E.g. sodium, sulfuric acid
3

(Using {{clear}} here).

Categorization

Articles with an unknown or wrong NFPA code are categorized. When not in article space, errors show an error message. These pages are listed in Category:Articles with unknown NFPA 704 code.

|cat=no wll prevent any such action (no check performed).
  • |cat=no
  • F=0–4: Flammability (red): 0 (non-combustible) through 4 (ignites spontaneously)
  • H=0–4: Health (blue): Health dangers, 0 (harmless) through 4 (kills in very low doses)
  • R=0–4: Reactivity (yellow): 0 (inert) through 4 (highly sensitive explosive)
  • S= Other hazards (white). Various special considerations. Supported values for the template are as follows.
  • S=OX: Oxidizer (e.g. potassium perchlorate)
  • S=W: (W) Reacts with water in an unusual or dangerous manner (e.g. cesium, sodium)
Note: do not enter the stroked "<s>W</s>", "W" will do.
  • S=SA: Simple asphyxiant gas (e.g. nitrogen, helium, argon)
  • S=W+OX: Both W and OX
Symbols not standard in NFPA_704:
  • S=ACID: Strong acid (e.g. sulfuric acid)
  • S=ALK: Strong base/alkali (e.g. potassium hydroxide)
  • S=BIO: Biohazardous (e.g. smallpox virus)
  • S=COR: Corrosive; strong acid or base (e.g. sulfuric acid, potassium hydroxide)
  • S=CRYO: Cryogenic (e.g. liquid nitrogen, dry ice)
  • S=RA: Is radioactive (e.g. technetium-99m)

Texts

Texts
input type quarter code text
 
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 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 R 0 Instability 0: Normally stable, even under fire exposure conditions, and is not reactive with water. E.g. liquid nitrogen
code R 1 Instability 1: Normally stable, but can become unstable at elevated temperatures and pressures. E.g. calcium
code R 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 R 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 R 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 Special hazard W: Reacts with water in an unusual or dangerous manner. E.g. sodium, sulfuric acid
code S W
code S SA Special hazard SA: Simple asphyxiant gas. E.g. nitrogen, helium
code S COR Special hazard COR: Corrosive; strong acid or base. E.g. sulfuric acid, potassium hydroxide
code S BIO Special hazard BIO: Biohazardous. E.g. smallpox virus
code S CRYO Special hazard CRYO: Cryogenic
code S ACID Special hazard ACID: Acid
code S ALK Special hazard ALK: Alkaline
code S RA Special hazard RA: Radioactive. E.g. plutonium
code S W OX Special hazard W+OX: Reacts with water in an unusual or dangerous manner AND is oxidizer
code S WOX Special hazard W+OX: Reacts with water in an unusual or dangerous manner AND is oxidizer
blank F NFPA-F=<blank> Flammability (red): no hazard code
blank H NFPA-H=<blank> Health (blue): no hazard code
blank R NFPA-R=<blank> Instability (yellow): no hazard code
blank S NFPA-S=<blank> Special hazards (white): no code
no param F (no param) Flammability (red): no hazard code
no param H (no param) Health (blue): no hazard code
no param R (no param) Instability (yellow): no hazard code
no param S (no param) Special hazards (white): no code
no code F - Flammability (red): no hazard code
no code H - Health (blue): no hazard code
no code R - Instability (yellow): no hazard code
no code S - Special hazards (white): no code
unknown F xyz
unknown H xyz
unknown R xyz
unknown S xyz

Style

|style=background:green

All position settings can influence the layout:

|style=padding:10px; background:pink;

S=SW NFPA code error
.

Colors used

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

It is better not to use RGB colors "red, blue, yellow", because these produce a bad contrast with the text.

See also

Template:NFPA-chembox

References

  1. ^ [www.example.com ";woerguh"]. {{cite web}}: Check |url= value (help)
  2. ^ [www.example.com ";woerguh"]. {{cite web}}: Check |url= value (help)
  3. ^ [www.example.com]
  4. ^ [www.example.com ";woerguh"]. {{cite web}}: Check |url= value (help)
  5. ^ "some title".
  6. ^ [1]
  7. ^ [2]
  8. ^ [3]
  9. ^ "some title".
  10. ^ [4]
  11. ^ [5]
  12. ^ {{cite web|url=http://chemlabs.uoregon.edu/Safety/NFPA_White.html%7Ctitle=some title
  13. ^ [6]
  14. ^ [7]
  15. ^ "some title".
  16. ^ [8]
  17. ^ [9]
  18. ^ 999
  19. ^ "some title".
  20. ^ "some title".