Template:Elem Infobox: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
No edit summary
imported>Chris Day
No edit summary
Line 22: Line 22:
|}
|}
{| border="0" width="140" cellpadding="4" cellspacing="0"
{| border="0" width="140" cellpadding="4" cellspacing="0"
{{#ifexist:Image:Element {{{elSym}}}.jpg|
{{#if:{{{elClass|}}}|
{{#if:{{{elClass|}}}|
{{!}}style="border-top:2px solid #bbb" width="100%"  align="right" cellpadding="3" cellspacing="0" bgcolor=#f2f2f2 {{!}}<font size=1>''' [[{{{elClass|}}}]]:'''</font>
{{!}}style="border-top:2px solid #bbb" width="100%"  align="right" cellpadding="3" cellspacing="0" bgcolor=#f2f2f2 {{!}}<font size=1>''' [[{{{elClass|}}}]]:'''</font>
{{!}}-|
{{!}}style="border-top:2px solid #bbb" width="100%"{{!}}
{{!}}-}}
{{!}}-}}
|width="100%" cellpadding="3" cellspacing="0" bgcolor=#ffffff|{{ {{#ifeq:{{{elClass}}}|Transition Metal
{{!}}[[Image:Element {{{elSym}}}.jpg|center|134px]]}}
        |User:Chris_day/sandbox
{{!}}-
        |Periodic}}|elSym={{{elSym}}}|elClass={{{elClass}}}  
|ele color=333
|nonmetal color=ff1e00
|noble color=2fc900
|alkali metal color=66ffff
|aem color=00a8ff
|metalloid color=aa00aa
|halogen color=ffd200
|ptm color=0000aa
|transition color=0042ff
|lanthanide color=4475ff
|actinide color=bb75ff}}
|-
{{#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>  
Line 58: Line 48:
{{!}}style="border-top:2px solid #bbb" width="100%"  align="right" cellpadding="3" cellspacing="0" bgcolor=#f2f2f2 {{!}}<font size=1>''' [[/Catalogs#Hazard|Hazard]]:'''</font>  
{{!}}style="border-top:2px solid #bbb" width="100%"  align="right" cellpadding="3" cellspacing="0" bgcolor=#f2f2f2 {{!}}<font size=1>''' [[/Catalogs#Hazard|Hazard]]:'''</font>  
{{!}}-
{{!}}-
{{!}}width="100%" cellpadding="3" cellspacing="0" bgcolor=#fff {{!}}<font size=1> {{{hazard}}}</font>}}
{{!}} width="100%" cellpadding="3" cellspacing="0" bgcolor=#ffffff {{!}}<font size=1> {{{hazard}}}</font>}}
|}
|}
|}
|}
|}
|}
</div>
</div>
<noinclude>
{{newtemplate
|description=Infobox for periodic table elements.
|sample= See [[Lead]].
|caveats=
|execution=
<pre>
{{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...
}}
</pre>
{{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.02891
|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...
}}
|authors=
*[[User:Robert_W_King|Robert King]]
*[[User:Chris_Day|Chris Day]]
*[[User:David_Yamakuchi|David Yamakuchi]]
}}
</noinclude>

Revision as of 23:25, 10 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
Lanthanide:
Element Pm.jpg
Uranium
238.02891



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

Sample

See Lead.

Caveats

Authors