Template:NFPA: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
(fix NFPA link)
imported>Chris Day
(→‎Parameters: update)
Line 157: Line 157:
==Parameters==
==Parameters==


*'''background''' = use hexidecimal color code such as "cacaca"
*'''background''' = background color in hexidecimal color code (e.g. ffffff for white)
*'''size''' = Defines the size of the diamond in pixels
*'''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
*'''fontsize''' = Defines the size of the text in pixels
*'''R''' =  RED (0-4) - '''Fire Hazard'''
*'''R''' =  RED (0-4) - '''Fire Hazard'''
Line 178: Line 178:
**3: Extremely Hazardous
**3: Extremely Hazardous
**4: Deadly
**4: Deadly
*'''W''' =  WHITE - '''Warning'''
*'''W''' =  WHITE - '''Appropriate Warning'''


</noinclude>
</noinclude>

Revision as of 12:04, 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

  • 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