Template talk:NFPA 2 0: Difference between revisions
imported>Larry Sanger No edit summary |
imported>Robert W King (→Name) |
||
Line 98: | Line 98: | ||
Shouldn't this live at [[Template:NFPA]]? Just for the sake of brevity? --[[User:Larry Sanger|Larry Sanger]] 14:43, 3 July 2007 (CDT) | Shouldn't this live at [[Template:NFPA]]? Just for the sake of brevity? --[[User:Larry Sanger|Larry Sanger]] 14:43, 3 July 2007 (CDT) | ||
:Probably. I had two templates at one point, this one almost totally works across all browsers, and I had Stephen speedy delete the other. --[[User:Robert W King|Robert W King]] 14:44, 3 July 2007 (CDT) |
Revision as of 14:44, 3 July 2007
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)
Current Template Issues
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)
Completed
Windows XP
- IE 6: Displays Perfect
Mac OSX 10.3.9
- Mozilla 1.6: Displays Perfect
Name
Shouldn't this live at Template:NFPA? Just for the sake of brevity? --Larry Sanger 14:43, 3 July 2007 (CDT)
- Probably. I had two templates at one point, this one almost totally works across all browsers, and I had Stephen speedy delete the other. --Robert W King 14:44, 3 July 2007 (CDT)