Template:Elem Infobox: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>David Yamakuchi
mNo edit summary
imported>Chris Day
(just test this to see how it looks and if it works)
Line 22: Line 22:
|}
|}
{| border="0" width="140" cellpadding="4" cellspacing="0"
{| border="0" width="140" cellpadding="4" cellspacing="0"
{{#if:{{{elClass|}}}|
{{#ifexist:Image:Periodic table {{{elementname}}}.jpg|  
{{!}}[[Image:Peridic table {{{elementname}}}.jpg|center|135px]]}}
{{!}}-
{{!}}-
{{!}}style="border-top:2px solid #bbb" width="100%"  align="left" valign="top" cellpadding="3" cellspacing="0" height="118" colspan="4" bgcolor=#ffffff{{!}}[[Periodic Table of Elements{{!}}{{Periodic|elSym={{{elSym}}}|elementColor=#000000|elClass={{{elClass}}}}}]]
{{!}}-
}}
{{#if:{{{properties|}}}|
{{#if:{{{properties|}}}|
{{!}}style="border-top:2px solid #bbb" width="100%"  align="right" cellpadding="3" cellspacing="0" bgcolor=#f2f2f2 {{!}}<font size=1>''' [[/Catalogs#Properties|Properties]]:'''</font>  
{{!}}style="border-top:2px solid #bbb" width="100%"  align="right" cellpadding="3" cellspacing="0" bgcolor=#f2f2f2 {{!}}<font size=1>''' [[/Catalogs#Properties|Properties]]:'''</font>  

Revision as of 14:06, 8 April 2008

{{{elName}}}
{{{elMass}}} {{{no1}}}
{{{no2}}}
{{{no3}}}
{{{no4}}}
  {{{elSym}}}
{{{elNum}}}
{{{eltrnCfg}}}



Template Description

Infobox for periodic table elements.

Execution

{{Elem_Infobox
|background1=ffffff
|align=left
|elementColor=f2f2f2
|elName=Promethium
|elMass=(145)
|elSym=Pm
|elNum=61
|elClass=Lanthanide
|eltrnCfg=[Xe]4f<sup>5</sup>6s<sup>2</sup>
|no1=
|no2=
|no3=
|no4=
|properties= 
|compounds= 
|uses=
|hazard=
}}
{{Elem_Infobox
|background1=ffffff
|align=left
|elementColor=f2f2f2
|elName=Uranium
|elMass=238.029
|elSym=U
|elNum=92
|elClass=Actinide
|eltrnCfg=[Rn]5f<sup>3</sup>6d<sup>1</sup>7s<sup>2</sup>
|no1=
|no2=
|no3=
|no4=
|properties= 
|compounds= 
|uses=
|hazard= Well, you know...
}}
Promethium
(145)



  Pm
61
[Xe]4f56s2
Uranium
238.02891



  U
92
[Rn]5f36d17s2
Hazard:
Well, you know...

Sample

See Lead.

Caveats

Authors