Template:Elem Infobox: Difference between revisions
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%"{{!}} | |||
{{!}}-}} | {{!}}-}} | ||
{{!}}[[Image:Element {{{elSym}}}.jpg|center|134px]]}} | |||
{{!}}- | |||
{{#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=# | {{!}} 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 22:25, 10 April 2008
|
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... }}
|
Sample
See Lead.
Caveats
Authors