Template:NFPA: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Robert W King
No edit summary
imported>Robert W King
No edit summary
Line 2: Line 2:


{|table border="0" width="{{{size*4}}}" cellpadding="0" cellspacing="0" style="type:text/css; background:#{{{background}}}; z-index:2; margin-bottom:0px; table-layout:auto; valign:middle;"
{|table border="0" width="{{{size*4}}}" cellpadding="0" cellspacing="0" style="type:text/css; background:#{{{background}}}; z-index:2; margin-bottom:0px; table-layout:auto; valign:middle;"
|-valign="middle"
|-
| 
| 
|<div style="position: relative;
|<div style="position: relative;
Line 9: Line 9:
height: 1%;
height: 1%;
text-align: center;
text-align: center;
valign: middle;
font-size: 0px;
font-size: 0px;
line-height: 0px;
line-height: 0px;
Line 24: Line 23:
line-height:0px;
line-height:0px;
text-align: center;
text-align: center;
valign: middle;
background: transparent;
background: transparent;
z-index: 2;">{{{R}}}
z-index: 2;">{{{R}}}
</div>
</div>
|&nbsp;
|&nbsp;
|-valign="middle"
|-
|<div style="position: relative;
|<div style="position: relative;
top: 0px;
top: 0px;
width: 0px;
width: 0px;
height: 1%;
height: 1%;
valign:middle;
font-size: 0px;
font-size: 0px;
line-height: 0px;
line-height: 0px;
Line 50: Line 47:
line-height: 0px;
line-height: 0px;
text-align: right;
text-align: right;
valign: middle;
background: transparent;
background: transparent;
z-index: 2;">{{{B}}}
z-index: 2;">{{{B}}}

Revision as of 13:38, 12 August 2007


 
{{{R}}}
 
{{{B}}}
{{{Y}}}
 
{{{W}}}
 


Placement

Used in conjunction with the chemical infobox Template:Chem_Infobox.

Usage

See example on Scandium.

Wikitext Appearance
{{NFPA
|background=cacaca
|size=30
|fontsize=20
|R=3
|B=4
|Y=3
|W=<s>W</s>
}}
 
3
 
4
3
 
W
 


Anatomical
 
3
 
4
3
 
W
 



Parameters

{{NFPA
|background=
|size=
|fontsize=
|R=
|B=
|Y=
|W=
}}
  • background = background color in hexidecimal color code (e.g. ffffff for white)
  • size = Defines the size of the diamond in pixels (don't use less than 19 pixels)
  • fontsize = Defines the size of the text in pixels (For best results, use minimum 66% of diamond size; round up to nearest INT.)
  • R = RED (0-4) - Fire Hazard
    • 0: Will not burn
    • 1: Above 200 degrees F(93 C)
    • 2: Below 200 F
    • 3: Below 100 F (38 C)
    • 4: Below 73 F (23 C)
  • Y = YELLOW (0-4) - Reactivity
    • 0: Stable
    • 1: Unstable if Heated
    • 2: Violent Chemical
    • 3: Shock or Heat May detonate
    • 4: May detonate
  • B = BLUE (0-4) - Health Hazard
    • 0: None
    • 1: Slightly Hazardous
    • 2: Hazardous
    • 3: Extremely Hazardous
    • 4: Deadly
  • W = WHITE - Appropriate Warning
    • The only Official NFPA authorized symbols to place in this quadrant are W to indicate unusual reactions with water(H2O) and OX to indicate the material is an oxidizer. This quadrant is usually reserved for these symbols to indicate the appropriate warnings in case of fire fighting or spill control response, however other symbols may be used to designate additional warnings.
    • Examples:
      • ACID (Acidic material with a pH of lower than 7.0)
      • ALK (indicates an Alkaline material or base with a pH greater than 7.0)
      • COR (alternatively CORR, denotes a corrosive material)
      • Other graphical symbols include a "skull & crossbones" (poison), a radiation symbol to indicate radioactive materials, an explosion (although usually indicated by the Yellow Reactivity rating), or other nonstandard graphical markings.

Official Links

Official NFPA Organization Website - NFPA 704 Standard FAQ