Template talk:NFPA: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Robert W King
No edit summary
imported>Chris Day
(add talk page from template NFP 2.0)
Line 1: Line 1:
{{archive box|auto=long}}
==Please note==
==Please note==


This template requires tedious visual tweaking to implementYou are warned.
Version 1 is submitted for removalUse <nowiki>{{NFPA_2_0}}</nowiki>


==Usage==
==Usage==
Line 30: Line 31:
==Use==
==Use==


<nowiki>{{NPFA}}</nowiki>
<nowiki>{{NPFA_2_0}}</nowiki>
*background=background color in hex (e.g. ffffff for white)
*background=background color in hex (e.g. ffffff for white)
*size=(in pixels, not diameter; don't use less than 15 pixels)
*size=(in pixels, not diameter; don't use less than 15 pixels)
Line 39: Line 40:
*W=Appropriate Warning
*W=Appropriate Warning


*redfix=move the red triangle down to connect with the rest
*redtextfix=move the red number down to align properly in the square
*bluetextfix=same
*blueLRfix=move the location of the blue triangle left or right to adjust for display error
*blueUDfix=move the location of the blue triangle up or down to adjust for display error
*yellowtextfix=
*yellowLRfix=
*yellowUDfix=
*whitefix=
*whitetextfix=




<!-- http://www.infimum.dk/HTML/slantHowto.html used to create; notation made here in the talk page -->
<!-- http://www.infimum.dk/HTML/slantHowto.html used to create; notation made here in the talk page -->
<!-- http://people.howstuffworks.com/question327.htm used to reference the template -->
<!-- http://people.howstuffworks.com/question327.htm used to reference the template -->
==External Support Links==
'''For Reference in development of this template'''
* [http://developer.apple.com/reference/AppleApplications/idxSafari-date.html#//apple_ref/doc/uid/TP30001281-TP30000418-TP30001042 Implementation Reference for Apple's Safari]
* [http://www.gtalbot.org/BrowserBugsSection/MSIE7Bugs/ List of IE CSS Bugs]
==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? [[User:Chris Day|Chris Day]] [[User talk: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.--[[User:Robert W King|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. [[User:Chris Day|Chris Day]] [[User talk:Chris Day|(talk)]] 16:02, 2 July 2007 (CDT)
== Current Template Issues ==
[[Image:New look.jpg|thumb|400px|Elements viewed in wikitable format as well as how they appear in the chemical infobox]]
Mozilla seems fine. [[User:Chris Day|Chris Day]] [[User talk: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. [[User:Chris Day|Chris Day]] [[User talk: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
== Name ==
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 00:30, 4 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



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

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)