Template talk:NFPA 2 0

From Citizendium
Revision as of 14:12, 3 July 2007 by imported>Robert W King
Jump to navigation Jump to search

Please note

Version 1 is submitted for removal. Use {{NFPA_2_0}}

Usage

  • 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)
  • YELLOW (0-4) - Reactivity
    • 0: Stable
    • 1: Unstable if Heated
    • 2: Violent Chemical
    • 3: Shock or Heat May detonate
    • 4: May detonate
  • BLUE (0-4) - Health Hazard
    • 0: None
    • 1: Slightly Hazardous
    • 2: Hazardous
    • 3: Extremely Hazardous
    • 4: Deadly
  • WHITE - Warning

Use

{{NPFA_2_0}}

  • background=background color in hex (e.g. ffffff for white)
  • size=(in pixels, not diameter; don't use less than 15 pixels)
  • fontsize=size of the font (in pixels)
  • R=0,1,2,3 or 4
  • Y=0,1,2,3 or 4
  • B=0,1,2,3 or 4
  • W=Appropriate Warning



Talk Archive


External Support Links

For Reference in development of this template

Clarification

I am still a little confused with repsect when to use or make changes to the background or text fonts. Maybe these should not be variables? If so some examples would be nice.

  • background = use hexidecimal color code such as "cacaca"

In what situations would this colour be required to change?

Visibility. White does not go well on white.
  • size = Defines the size of the text in pixels
  • fontsize = Defines the size of the text in pixels

These two parameters currently appear to refer to the same text elements. Which specific text elements are controlled by each of these font size parameters? Chris Day (talk) 15:58, 2 July 2007 (CDT)

D'oh. The size element refers to the size of the graphic. The fontsize refers to the size of the font in the graphic.--Robert W King 15:57, 2 July 2007 (CDT)
I see, sorry for being dumb there, for some reason I was thinking text for both. Chris Day (talk) 16:02, 2 July 2007 (CDT)

Current Template Issues

Elements viewed in wikitable format as well as how they appear in the chemical infobox

Mozilla seems fine. Chris Day (talk) 10:41, 3 July 2007 (CDT)

ToDo

Mac OSX 10.3.9

  • Safari 1.3.2: DIV Alignment incorrect, number alignment incorrect

Common Pool Issues (Windows & Mac)

  • Firefox 2.0.0.3: Number alignment incorrect (See Screenshot; not just applicable to MAC OS, verif. by C. Day)
    • I just looked at the template with firefox on a PC running windows and see the same error. Chris Day (talk) 13:23, 3 July 2007 (CDT)

Completed

Windows XP

  • IE 6: Displays Perfect

Mac OSX 10.3.9

  • Mozilla 1.6: Displays Perfect