Template:Elem Infobox: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>David Yamakuchi
m (Undo revision 100665733 by David Yamakuchi (Talk))
imported>David Yamakuchi
mNo edit summary
Line 42: Line 42:
|-
|-
{{#if:{{{properties|}}}|
{{#if:{{{properties|}}}|
{{!}}colspan=2 style="border-top:2px solid #bbb" width="100%"  align="right" cellpadding="3" cellspacing="0" bgcolor=#f2f2f2 {{!}}<font size=1>''' {{#ifeq:{{SUBPAGENAME}}|MSDS|[[/MSDS#Properties|Properties]]|[[/Properties|Properties]]}}:'''</font>  
{{!}}colspan=2 style="border-top:2px solid #bbb" width="100%"  align="right" cellpadding="3" cellspacing="0" bgcolor=#f2f2f2 {{!}}<font size=1>''' {{#ifeq:{{SUBPAGENAME}}|MSDS|[[{{{elName}}}/MSDS#Properties|Properties]]|[[{{{elName}}}/Properties|Properties]]}}:'''</font>  
{{!}}-
{{!}}-
{{!}}colspan=2 style="text-align: left;" width="100%" cellpadding="3" cellspacing="0" bgcolor=#ffffff {{!}}<font size=1> {{{properties}}}</font>}}
{{!}}colspan=2 style="text-align: left;" width="100%" cellpadding="3" cellspacing="0" bgcolor=#ffffff {{!}}<font size=1> {{{properties}}}</font>}}
{{!}}-
{{!}}-
{{#if:{{{compounds|}}}|
{{#if:{{{compounds|}}}|
{{!}}colspan=2 style="border-top:2px solid #bbb"  width="100%"  align="right" cellpadding="3" cellspacing="0" bgcolor=#f2f2f2 {{!}}<font size=1>''' {{#ifeq:{{SUBPAGENAME}}|MSDS|[[/MSDS#Compounds|Compounds]]|[[/Compounds|Compounds]]}}:'''</font>  
{{!}}colspan=2 style="border-top:2px solid #bbb"  width="100%"  align="right" cellpadding="3" cellspacing="0" bgcolor=#f2f2f2 {{!}}<font size=1>''' {{#ifeq:{{SUBPAGENAME}}|MSDS|[[{{{elName}}}/MSDS#Compounds|Compounds]]|[[{{{elName}}}/Compounds|Compounds]]}}:'''</font>  
{{!}}-
{{!}}-
{{!}}colspan=2 style="text-align: left;" width="100%" cellpadding="3" cellspacing="0" bgcolor=#ffffff {{!}}<font size=1> {{{compounds}}}</font>}}
{{!}}colspan=2 style="text-align: left;" width="100%" cellpadding="3" cellspacing="0" bgcolor=#ffffff {{!}}<font size=1> {{{compounds}}}</font>}}
{{!}}-
{{!}}-
{{#if:{{{uses|}}}|
{{#if:{{{uses|}}}|
{{!}}colspan=2 style="border-top:2px solid #bbb" width="100%"  align="right" cellpadding="3" cellspacing="0" bgcolor=#f2f2f2 {{!}}<font size=1>''' {{#ifeq:{{SUBPAGENAME}}|MSDS|[[/MSDS#Uses|Uses]]|[[/Uses|Uses]]}}:'''</font>  
{{!}}colspan=2 style="border-top:2px solid #bbb" width="100%"  align="right" cellpadding="3" cellspacing="0" bgcolor=#f2f2f2 {{!}}<font size=1>''' {{#ifeq:{{SUBPAGENAME}}|MSDS|[[{{{elName}}}/MSDS#Uses|Uses]]|[[{{{elName}}}/Uses|Uses]]}}:'''</font>  
{{!}}-
{{!}}-
{{!}}colspan=2 style="text-align: left;" width="100%" cellpadding="3" cellspacing="0" bgcolor=#ffffff {{!}}<font size=1> {{{uses}}}</font>}}
{{!}}colspan=2 style="text-align: left;" width="100%" cellpadding="3" cellspacing="0" bgcolor=#ffffff {{!}}<font size=1> {{{uses}}}</font>}}
{{!}}-
{{!}}-
{{#if:{{{hazard|}}}|
{{#if:{{{hazard|}}}|
{{!}}colspan=2 style="border-top:2px solid #bbb" width="100%"  align="right" cellpadding="3" cellspacing="0" bgcolor=#f2f2f2 {{!}}<font size=1>''' {{#ifeq:{{SUBPAGENAME}}|MSDS|[[/MSDS#Hazard|Hazard]]|[[/Hazard|Hazard]]}}:'''</font>  
{{!}}colspan=2 style="border-top:2px solid #bbb" width="100%"  align="right" cellpadding="3" cellspacing="0" bgcolor=#f2f2f2 {{!}}<font size=1>''' {{#ifeq:{{SUBPAGENAME}}|MSDS|[[{{{elName}}}/MSDS#Hazard|Hazard]]|[[{{{elName}}}/Hazard|Hazard]]}}:'''</font>  
{{!}}-
{{!}}-
{{!}}colspan=2 style="text-align: left;" width="100%" cellpadding="3" cellspacing="0" bgcolor=#ffffff {{!}}<font size=1> {{{hazard}}}</font>}}
{{!}}colspan=2 style="text-align: left;" width="100%" cellpadding="3" cellspacing="0" bgcolor=#ffffff {{!}}<font size=1> {{{hazard}}}</font>}}

Revision as of 11:38, 30 April 2010


This documentation is transcluded from Template:Elem Infobox/doc (edit | history)

Usage

{{Elem_Infobox
|background1= f2f2f2
|align=right
|elementColor=
|elName= Gold
|elMass= 196.967
|elSym= Au
|elNum= 79
|elClass=Transition metal
|elgroup=11
|elperiod=6
|elblock=d
|eltrnCfg=[Xe]6s<sup>1</sup>4f<sup>14</sup>5d<sup>10</sup>
|no1=1
|no2=3
|no3=
|no4=
|properties= IUPAC name, CAS number, molecular mass, boiling point, melting point, density, etc.
|compounds= Auranofin
|uses= coinage, jewelry
|hazard=
}}

gives:

Gold
196.96655 1
3


  Au
79
[Xe]6s14f145d10 11,6,d
[ ? ] Transition metal:
Properties:
IUPAC name, CAS number, molecular mass, boiling point, melting point, density, specific heat, refractive. index, etc.
Compounds:
Auranofin
Uses:
coinage, jewelry