Template:NFPA: Difference between revisions
Jump to navigation
Jump to search
imported>Chris Day (→Parameters: add example of template format) |
imported>Chris Day (maybe one is good) |
||
(30 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<!-- {|table border="0" align="center" width="{{{size*4}}}" cellpadding="0" cellspacing="0" style="background:#{{{background}}}; border-collapse:collapse; z-index:2; margin-bottom:0px; table-layout:auto;" --> | <!-- {|table border="0" align="center" width="{{{size*4}}}" cellpadding="0" cellspacing="0" style="background:#{{{background}}}; border-collapse:collapse; z-index:2; margin-bottom:0px; table-layout:auto;" --> | ||
{|table border="0" width="{{{size*4}}}" cellpadding="0" cellspacing="0" style="type:text/css; background:#{{{background}}}; z-index:2; margin-bottom:0px; table-layout:auto; valign:middle;" | |||
{|table border="0" width="{{{size*4}}}" cellpadding="0" cellspacing="0" style="type:text/css; background:#{{{background}}}; z-index:2; margin-bottom:0px; table-layout:auto;" | |||
|- | |- | ||
| | | | ||
Line 8: | Line 7: | ||
width: 0px; | width: 0px; | ||
height: 1%; | height: 1%; | ||
text-align: center; | |||
font-size: 0px; | font-size: 0px; | ||
line-height: 0px; | line-height: 0px; | ||
Line 26: | Line 26: | ||
</div> | </div> | ||
| | | | ||
|- | |- | ||
|<div style="position: relative; | |<div style="position: relative; | ||
top: 0px; | top: 0px; | ||
Line 40: | Line 40: | ||
<div style=" position: relative; | <div style=" position: relative; | ||
bottom: {{{size}}}px; | |||
bottom: | |||
left: 15%; | left: 15%; | ||
font-size: {{{fontsize}}}px; | font-size: {{{fontsize}}}px; | ||
Line 75: | Line 74: | ||
<div style=" position: relative; | <div style=" position: relative; | ||
bottom: {{{size}}}px; | |||
bottom: | |||
left: -12%; | left: -12%; | ||
font-size: {{{fontsize}}}px; | font-size: {{{fontsize}}}px; | ||
Line 84: | Line 82: | ||
z-index: 2;">{{{Y}}} | z-index: 2;">{{{Y}}} | ||
</div> | </div> | ||
|- | |- | ||
| | | | ||
|<div style=" position: relative; | |<div style=" position: relative; | ||
Line 99: | Line 97: | ||
<div style="position: relative; | <div style="position: relative; | ||
bottom: {{{size}}}px; | |||
bottom: | |||
left: 0px; | left: 0px; | ||
font-size: {{{fontsize}}}px; | font-size: {{{fontsize}}}px; | ||
Line 113: | Line 110: | ||
<noinclude> | <noinclude> | ||
== Placement == | == Placement == | ||
Used in conjunction with the chemical infobox [[Template: | Used in conjunction with the chemical infobox [[Template:Elem_Infobox]]. | ||
== Usage == | == Usage == | ||
Line 167: | Line 164: | ||
*'''background''' = background color in hexidecimal color code (e.g. ffffff for white) | *'''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 | *'''size''' = Defines the size of the diamond in pixels (don't use less than 19 pixels) | ||
*'''fontsize''' = Defines the size of the text in pixels | *'''fontsize''' = Defines the size of the text in pixels (For best results, use minimum 66% of diamond size; round up to nearest INT.) | ||
*'''R''' = RED (0-4) - '''Fire Hazard''' | *'''R''' = RED (0-4) - '''Fire Hazard''' | ||
**0: Will not burn | **0: Will not burn | ||
Line 188: | Line 185: | ||
**4: Deadly | **4: Deadly | ||
*'''W''' = WHITE - '''Appropriate Warning''' | *'''W''' = WHITE - '''Appropriate Warning''' | ||
**The only Official NFPA authorized symbols to place in this quadrant are <s>'''W'''</s> to indicate unusual reactions with water(H<sub>2</sub>O) and '''OX''' to indicate the material is an oxidizer. This quadrant is usually reserved for these symbols to indicate the appropriate warnings in case of fire fighting or spill control response, however other symbols may be used to designate additional warnings. | |||
**Examples: | |||
*** '''ACID''' (Acidic material with a pH of lower than 7.0) | |||
*** '''ALK''' (indicates an Alkaline material or base with a pH greater than 7.0) | |||
*** '''COR''' (alternatively CORR, denotes a corrosive material) | |||
*** Other graphical symbols include a "skull & crossbones" (poison), a radiation symbol to indicate radioactive materials, an explosion (although usually indicated by the Yellow Reactivity rating), or other nonstandard graphical markings. | |||
==Official Links== | |||
[http://www.nfpa.org/faq.asp?categoryID=928&cookie%5Ftest=1 Official NFPA Organization Website - NFPA 704 Standard FAQ] | |||
</noinclude> | </noinclude> |
Latest revision as of 17:27, 10 April 2008
{{{R}}}
|
||
{{{B}}}
|
{{{Y}}}
| |
{{{W}}}
|
Placement
Used in conjunction with the chemical infobox Template:Elem_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> }} |
|
Anatomical | |||||||||
---|---|---|---|---|---|---|---|---|---|
|
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 19 pixels)
- fontsize = Defines the size of the text in pixels (For best results, use minimum 66% of diamond size; round up to nearest INT.)
- 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
- The only Official NFPA authorized symbols to place in this quadrant are
Wto indicate unusual reactions with water(H2O) and OX to indicate the material is an oxidizer. This quadrant is usually reserved for these symbols to indicate the appropriate warnings in case of fire fighting or spill control response, however other symbols may be used to designate additional warnings. - Examples:
- ACID (Acidic material with a pH of lower than 7.0)
- ALK (indicates an Alkaline material or base with a pH greater than 7.0)
- COR (alternatively CORR, denotes a corrosive material)
- Other graphical symbols include a "skull & crossbones" (poison), a radiation symbol to indicate radioactive materials, an explosion (although usually indicated by the Yellow Reactivity rating), or other nonstandard graphical markings.
- The only Official NFPA authorized symbols to place in this quadrant are