Template:NFPA: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
(→‎Parameters: update)
imported>Chris Day
(→‎Parameters: add example of template format)
Line 156: Line 156:


==Parameters==
==Parameters==
<pre>{{NFPA
|background=
|size=
|fontsize=
|R=
|B=
|Y=
|W=
}}</pre>


*'''background''' = background color in hexidecimal color code (e.g. ffffff for white)
*'''background''' = background color in hexidecimal color code (e.g. ffffff for white)

Revision as of 13:06, 5 July 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 15 pixels)
  • fontsize = Defines the size of the text in pixels
  • 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