Template:Chem infobox: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>David E. Volk
m (fix uses variable)
imported>David E. Volk
(trying to alternate colors)
Line 10: Line 10:
{|border="1" width=100% style="background-color:#FFFFFF; border:1px solid #FFFFFF; margin:5 5 5 5; padding:5 5 5 5;" frame=box rules=none
{|border="1" width=100% style="background-color:#FFFFFF; border:1px solid #FFFFFF; margin:5 5 5 5; padding:5 5 5 5;" frame=box rules=none
|width=50% style="background-color:#E0E0E0;"|IUPAC name:
|width=50% style="background-color:#E0E0E0;"|IUPAC name:
|width=50%|{{{iupac}}}
|width=50% style="background-color:#E0E0E0;"|{{{iupac}}}
|-
|-
|width=50% style="background-color:#E0E0E0;"|Synonyms:
|width=50%|Synonyms:
|width=50%|{{{synonyms}}}
|width=50%|{{{synonyms}}}
|-
|-
|width=50% style="background-color:#E0E0E0;"|Formula:
|width=50% style="background-color:#E0E0E0;"|Formula:
|width=50%|{{{molformula}}}
|width=50% style="background-color:#E0E0E0;"|{{{molformula}}}
|}
|}
|-
|-
Line 22: Line 22:
|width=50%|{{{uses}}}
|width=50%|{{{uses}}}
|-
|-
|width=50%| Properties:
|width=50% style="background-color:#E0E0E0;"| Properties:
|width=50%|{{{properties}}}
|width=50% style="background-color:#E0E0E0;"|{{{properties}}}
|-
|-
|width=50%| Hazards:
|width=50%| Hazards:

Revision as of 14:26, 24 March 2008

{{{image}}}
{{{molname}}}
IUPAC name: {{{iupac}}}
Synonyms: {{{synonyms}}}
Formula: {{{molformula}}}
 Uses: {{{uses}}}
 Properties: {{{properties}}}
 Hazards: {{{hazards}}}
Mass (g/mol): CAS #:
{{{molmass}}} {{{casnumber}}}




Template Description

Template for chemical information. NOT for single elements. For element information, use {{Elem_Infobox}}.

Execution

{{chem_infobox
|width= use the same width as the picture pixel width.
|align= use this to position the infobox on the article (left right or center)
|image= insert the image on this line
|iupac=
|synonyms=
|molformula=
|casnumber=
|properties=
|molmass=
|uses=
|hazards=
}}

Sample

see itraconazole

Caveats

IUPAC number might not work yet.

Authors