Template:Elem Infobox: Difference between revisions
Jump to navigation
Jump to search
imported>David Yamakuchi (added clearance keepout for surrounding article text, links, and some other fluff.) |
imported>David Yamakuchi mNo edit summary |
||
Line 63: | Line 63: | ||
{|border="0" colspan="3" cellpadding="1" align="left" cellspacing="3" style="margin: 0 0 0 0; background:#ffffff; class="wikitable";" | {|border="0" colspan="3" cellpadding="1" align="left" cellspacing="3" style="margin: 0 0 0 0; background:#ffffff; class="wikitable";" | ||
|- | |- | ||
|{{ | |{{Elem_Infobox | ||
|background1=ffffff | |background1=ffffff | ||
|elementColor=fefefe | |elementColor=fefefe | ||
Line 87: | Line 87: | ||
|hazard=[[Lead Poisoning|Toxic]] | |hazard=[[Lead Poisoning|Toxic]] | ||
}} | }} | ||
|<pre>{{ | |<pre>{{Elem_Infobox | ||
|background1=ffffff | |background1=ffffff | ||
|elementColor=fefefe | |elementColor=fefefe | ||
Line 114: | Line 114: | ||
|- | |- | ||
{|class="wikitable" | {|class="wikitable" | ||
|{{ | |{{Elem_Infobox | ||
| background1=ffffff | | background1=ffffff | ||
| elementColor=fefefe | | elementColor=fefefe |
Revision as of 20:56, 3 April 2008
|
Placement
Articles dealing with elements, similar to using code Elem_Infobox. NOT for complex chemical compounds. For that, use {{Chem_infobox}}.
Usage
See example on Lead. May also include Template:NFPA to indicate hazardous qualities.]
|
{{Elem_Infobox |background1=ffffff |elementColor=fefefe |elMenucolor1=ffffff |elName=Lead |elMass=207.2 |elSym=Pb |elNum=82 |eltrnCfg=[Xe]6''s'' <sup>2</sup>4''f'' <sup>14</sup>5''d'' <sup>10</sup>6''p'' <sup>2</sup> |no1= +2 |no2= +4 |no3= |no4= |properties=Metallic |compounds= [[galena]](PbS),<br /> [[anglesite]](PbSO<sub>4</sub>),<br /> [[cerussite]](PbCO<sub>3</sub>) |uses= |hazard=Toxic }} |
|
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.