Template:Elem Infobox: Difference between revisions
Jump to navigation
Jump to search
imported>Chris Day (another bold edit, one border or two?) |
imported>David Yamakuchi (I think I found the right if finally) |
||
Line 26: | Line 26: | ||
|- | |- | ||
|- | |- | ||
{|border="0" width="100%" colspan="1" cellpadding="2" cellspacing="0" | {{#if:{{{properties|}}}| | ||
<table border="0" width="100%" colspan="1" cellpadding="2" cellspacing="0" bgcolor=#f2f2f2> | |||
| | <td width="100%" align="right"><font size=1px><b>[[/Catalogs#properties|Properties]]:</b></font></td></table>{{#if:{{{properties|}}}|<table border="0" width="100%" cellpadding="2" cellspacing="3" bgcolor=#ffffff><td><font size=1px>{{{properties}}}</font></td></table>}}}} | ||
| | {{#if:{{{compounds|}}}| | ||
|} | <table border="0" width="100%" colspan="1" cellpadding="2" cellspacing="0" bgcolor=#f2f2f2> | ||
<td width="100%" align="right"><font size=1px><b>[[/Catalogs#compounds|compounds]]:</b></font></td></table>{{#if:{{{compounds|}}}|<table border="0" width="100%" cellpadding="2" cellspacing="3" bgcolor=#ffffff><td><font size=1px>{{{compounds}}}</font></td></table>}}}} | |||
{{#if:{{{uses|}}}| | |||
<table border="0" width="100%" colspan="1" cellpadding="2" cellspacing="0" bgcolor=#f2f2f2> | |||
<td width="100%" align="right"><font size=1px><b>[[/Catalogs#Uses|Uses]]:</b></font></td></table>{{#if:{{{uses|}}}|<table border="0" width="100%" cellpadding="2" cellspacing="3" bgcolor=#ffffff><td><font size=1px>{{{uses}}}</font></td></table>}}}} | |||
{{#if:{{{hazard|}}}| | |||
|} | <table border="0" width="100%" colspan="1" cellpadding="2" cellspacing="0" bgcolor=#f2f2f2> | ||
<td width="100%" align="right"><font size=1px><b>[[/Catalogs#hazard|Hazard]]:</b></font></td></table>{{#if:{{{hazard|}}}|<table border="0" width="100%" cellpadding="2" cellspacing="3" bgcolor=#ffffff><td><font size=1px>{{{hazard}}}</font></td></table>}}}} | |||
|- | |- | ||
|} | |} |
Revision as of 01:23, 4 April 2008
PlacementArticles dealing with elements, similar to using code Elem_Infobox. NOT for complex chemical compounds. For that, use {{Chem_infobox}}.
UsageSee example on Lead. May also include Template:NFPA to indicate hazardous qualities.]
|
Parameters
- background1= aaccff (the color of the background, in Hex)
- elementColor=xxxxxx (the color of the element square, in Hex)
- elName= (element name)
- elMass= (element mass)
- elSym= (element symbol)
- elNum= (atomic number)
- eltrnCfg=X-X (electron confguration)
- no1=A (oxidation states)
- no2=B
- no3=C
- no4=D
- properties= Brief description of properties
- compounds= What common materials is it found in?
- uses= (uses)
- hazard= what type of hazard does it pose?
Credits
- Robert King, Original Design/test/scripting
- DaveY, added clearance keepout for surrounding article text, links, and some other fluff.