Template:Elem Infobox: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
(experiment not having item show if field is empty)
imported>Chris Day
(rv)
Line 19: Line 19:
|align="left" colspan="4"|<font size=1px>{{{eltrnCfg}}}</font><!-- electron configuration -->
|align="left" colspan="4"|<font size=1px>{{{eltrnCfg}}}</font><!-- electron configuration -->
|}
|}
{{#ifeq:{{{properties|}}}|||
{|border="0" width="100%" colspan="1" cellpadding="2" cellspacing="0" style="margin: 0 0 0 0; background:#f2f2f2;"  
{|border="0" width="100%" colspan="1" cellpadding="2" cellspacing="0" style="margin: 0 0 0 0; background:#f2f2f2;"  
|align="right" width="100%"|<font size=1px><b>Properties:</b></font>
|align="right" width="100%"|<font size=1px><b>Properties:</b></font>
Line 25: Line 24:
|align="left" width="100%"|<font size=1px>{{{properties}}}</font>
|align="left" width="100%"|<font size=1px>{{{properties}}}</font>
|}
|}
|} }}
|}
{{#ifeq:{{{compounds|}}}|||
{|border="0" width="100%" colspan="1" cellpadding="2" cellspacing="0" style="margin: 0 0 0 0; background:#f2f2f2;"  
{|border="0" width="100%" colspan="1" cellpadding="2" cellspacing="0" style="margin: 0 0 0 0; background:#f2f2f2;"  
|align="right" width="100%"|<font size=1px><b>Compounds:</b></font>
|align="right" width="100%"|<font size=1px><b>Compounds:</b></font>
Line 32: Line 30:
|align="left" width="100%"|<font size=1px>{{{compounds}}}</font>
|align="left" width="100%"|<font size=1px>{{{compounds}}}</font>
|}
|}
|}}}
|}
{|border="0" width="100%" colspan="1" cellpadding="2" cellspacing="0" style="margin: 0 0 0 0; background:#f2f2f2;"  
{|border="0" width="100%" colspan="1" cellpadding="2" cellspacing="0" style="margin: 0 0 0 0; background:#f2f2f2;"  
|align="right" width="100%"|<font size=1px><b>Uses:</b></font>
|align="right" width="100%"|<font size=1px><b>Uses:</b></font>

Revision as of 22:17, 23 September 2007

{{{elName}}}
{{{elMass}}}   {{{no1}}}
{{{no2}}}
{{{no3}}}
{{{no4}}}
  {{{elSym}}}
{{{elNum}}}
{{{eltrnCfg}}}
Properties:
{{{properties}}}
Compounds:
{{{compounds}}}
Uses:
{{{uses}}}
Hazards:
{{{hazard}}}

















Placement

Articles dealing with chemical makeup, using code Template:Chem_Infobox.

Usage

See example on Scandium. May also include Template:NFPA to indicate hazardous qualities.

Wikitext Appearance Anatomical
{{Chem_Infobox
|background1=ffffff
|elementColor=
|elName=Scandium
|elMass=44.9559
|elSym=Sc
|elNum=21
|eltrnCfg=Ar3d<sup>1</sup>-4s<sup>2</sup>
|no1=2
|no2=8
|no3=9
|no4=2
|properties=Metallic
|compounds=[[Thortveitite]].
|uses=None
|hazard=Radioactive.  
}}
Template:Chem Infobox
Template:Chem Infobox

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= Describe what it looks like
  • compounds= What is it found in?
  • uses= (uses)
  • hazard= what type of hazard does it pose?

Credits