Template:NFPA: Difference between revisions
Jump to navigation
Jump to search
imported>Robert W King No edit summary |
imported>Chris Day (maybe one is good) |
||
(122 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{|border=" | <!-- {|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;" | ||
| | |- | ||
| | |||
position: relative; | |<div style="position: relative; | ||
top: | top: 0px; | ||
width: 0px; | |||
height: 1%; | |||
text-align: center; | |||
font-size: 0px; | |||
line-height: 0px; | |||
border-width: 0px {{{size}}}px {{{size}}}px; | border-width: 0px {{{size}}}px {{{size}}}px; | ||
border-color:red #{{{background}}}; | border-style: solid; | ||
z-index:1 | border-color: red #{{{background}}}; | ||
z-index: 1;"> | |||
<div style="position: relative; | </div> | ||
<div style="position:relative; | |||
top:8%; | |||
bottom:92%; | |||
font-size:{{{fontsize}}}px; | font-size:{{{fontsize}}}px; | ||
line-height:0px; | line-height:0px; | ||
border-width: {{{size}}}px {{{size}}}px {{{size}}}px 0px; | text-align: center; | ||
border-color: #{{{background}}} blue; | background: transparent; | ||
z-index: | z-index: 2;">{{{R}}} | ||
<div style="position: relative; | </div> | ||
font-size:{{{fontsize}}}px; | | | ||
text-align: | |- | ||
background:transparent | |<div style="position: relative; | ||
top: 0px; | |||
z-index: | width: 0px; | ||
height: 1%; | |||
font-size: 0px; | |||
line-height: 0px; | |||
border-width: {{{size}}}px {{{size}}}px {{{size}}}px 0px; | |||
border-width:{{{size}}}px {{{size}}}px {{{size}}}px {{{size}}}px; | border-style: solid; | ||
border-style:solid | border-color: #{{{background}}} blue; | ||
z-index: 1;"> | |||
</div> | |||
border-color:red yellow white blue; | <div style=" position: relative; | ||
z-index: | bottom: {{{size}}}px; | ||
</div> | left: 15%; | ||
font-size: {{{fontsize}}}px; | |||
position:relative; | line-height: 0px; | ||
top: | text-align: right; | ||
background: transparent; | |||
z-index: 2;">{{{B}}} | |||
</div> | |||
line-height:0px; | |<div style=" position: relative; | ||
border-width: {{{size}}}px 0px {{{size}}}px {{{size}}}px; | top: 0px; | ||
border-color:#{{{background}}} yellow; | width: 0px; | ||
z-index: | height: 1%; | ||
<div style="position: relative; | font-size: 0px; | ||
font-size:{{{fontsize}}}px; | line-height: 0px; | ||
text-align: | border-width: {{{size}}}px {{{size}}}px {{{size}}}px {{{size}}}px; | ||
background:transparent | border-style: solid; | ||
border-color: red yellow white blue; | |||
z-index: | z-index: 1;"> | ||
</div> | |||
</div> | |<div style=" position: relative; | ||
top: 0px; | |||
width: 0px; | |||
height: 1%; | |||
font-size: 0px; | |||
line-height: 0px; | |||
border-width: {{{size}}}px 0px {{{size}}}px {{{size}}}px; | |||
border-style: solid; | |||
border-color: #{{{background}}} yellow; | |||
z-index: 1;"> | |||
</div> | |||
<div style=" position: relative; | |||
bottom: {{{size}}}px; | |||
left: -12%; | |||
font-size: {{{fontsize}}}px; | |||
line-height: 0px; | |||
text-align: left; | |||
background: transparent; | |||
z-index: 2;">{{{Y}}} | |||
</div> | |||
|- | |- | ||
| | | | ||
|<div style=" position: relative; | |||
top: 0px; | |||
width: 0px; | |||
height: 1%; | |||
font-size: 0px; | |||
line-height: 0px; | |||
border-width: {{{size}}}px {{{size}}}px 0px; | |||
border-style: solid; | |||
border-color: white #{{{background}}}; | |||
z-index: 1;"> | |||
</div> | |||
<div style="position: relative; | |||
bottom: {{{size}}}px; | |||
left: 0px; | |||
font-size: {{{fontsize}}}px; | |||
line-height: 0px; | |||
z-index: | text-align: center; | ||
< | background: transparent; | ||
z-index: 2;">{{{W}}} | |||
</div> | |||
| | |||
|} | |||
<noinclude> | |||
== Placement == | |||
Used in conjunction with the chemical infobox [[Template:Elem_Infobox]]. | |||
== Usage == | |||
See example on [[Scandium]]. | |||
| | {|border="0" colspan="4" cellpadding="1" cellspacing="3" style="margin: 0 0 0 0; background:#ffffff;" | ||
!Wikitext!!Appearance | |||
|- | |||
|<pre>{{NFPA | |||
|background=cacaca | |||
|size=30 | |||
|fontsize=20 | |||
|R=3 | |||
|B=4 | |||
|Y=3 | |||
|W=<s>W</s> | |||
}}</pre> | |||
|{{NFPA | |||
|background=cacaca | |||
|size=30 | |||
|fontsize=20 | |||
|R=3 | |||
|B=4 | |||
|Y=3 | |||
|W=<s>W</s> | |||
}} | |||
|} | |||
{| class="wikitable" | |||
!Anatomical | |||
|- | |||
|{{NFPA | |||
|background=cacaca | |||
|size=30 | |||
|fontsize=20 | |||
|R=3 | |||
|B=4 | |||
|Y=3 | |||
|W=<s>W</s> | |||
}} | |||
|} | |} | ||
==Parameters== | |||
<pre>{{NFPA | |||
|background= | |||
|size= | |||
|fontsize= | |||
|R= | |||
|B= | |||
|Y= | |||
|W= | |||
}}</pre> | |||
*'''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 <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> |
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