Template talk:PubChemRow
From Wikipedia, the free encyclopedia
To add a row giving the PubChem CID to one of the standard infoxboxes:
{{PubChemRow|1}}
produces:
PubChem |
If a comment is also required:
{{PubChemRow|5793|(D-glucose))}}
produces:
PubChem |
5793 (D-glucose) |
Here is an illustration of its use in a wikitable. Notice that the wiki-machinery is not needed around the PubChemRow template invocations:
[edit] Example
{| border="1" cellspacing="0" cellpadding="3" style="margin: 0 0 0 0.5em; background: #FFFFFF; border-collapse: collapse; border-color: #C0C090; width: 320px;" ! {{chembox header}} | '''Glucose''' |- | [[CAS registry number|CAS number]] | 50-99-7 (D-glucose) |- | [[CAS registry number|CAS number]] | 921-60-8 (L-glucose) {{PubChemRow|5793|(D-glucose)}} {{PubChemRow|206|(L-glucose)}} |}
Glucose | |
---|---|
CAS number | 50-99-7 (D-glucose) |
CAS number | 921-60-8 (L-glucose) |
PubChem |
5793 (D-glucose) |
PubChem |
206 (L-glucose) |