Difference between revisions of "Template:Chembox Identifiers"
Physchim62 (talk | contribs) (link classes) |
Physchim62 (talk | contribs) |
||
Line 5: | Line 5: | ||
{{#if:{{{Abbreviations|}}} | {{!}} Abbreviations {{!!}} {{{Abbreviations}}} }} | {{#if:{{{Abbreviations|}}} | {{!}} Abbreviations {{!!}} {{{Abbreviations}}} }} | ||
|- | |- | ||
− | {{ | + | {{#if:{{{CASNo|}}} | {{!}} bgcolor = "{{{color_l|}}}" {{!}} [[CAS registry number|CAS number]] {{!!}} bgcolor = "{{{color_r|}}}" {{!}} {{#if:{{{CASNo|}}} | |
+ | {{chembox val fmt | ||
+ | |val=[<span class="reflink plainlinksneverexpand">[http://www.commonchemistry.org/ChemicalDetail.aspx?ref={{{CASNo}}} {{{CASNo}}}]</span>] | ||
+ | |fmt={{#switch:{{{CASNo_Ref|}}}x | {{cascite}}x=2 | changedx=3 | x=0 | #default=1 }} | ||
+ | }} }} | ||
+ | {{#if:{{{CASNos|}}}|{{#if:{{{CASNo|}}}|, }}{{{CASNos|}}} }}{{#if:{{{CASOther|}}}|{{#if:{{{CASNo|}}}{{{CASNos|}}}|, }}{{{CASOther|}}} }} |<includeonly>[[Category:Chemical pages needing a CAS Registry Number]]</includeonly>}} | ||
|- | |- | ||
{{#if:{{{PubChem|}}} | {{!}} [[PubChem]] {{!!}} <span class="reflink plainlinks neverexpand">[http://pubchem.ncbi.nlm.nih.gov/summary/summary.cgi?cid={{{PubChem}}} {{{PubChem}}}]</span> }} | {{#if:{{{PubChem|}}} | {{!}} [[PubChem]] {{!!}} <span class="reflink plainlinks neverexpand">[http://pubchem.ncbi.nlm.nih.gov/summary/summary.cgi?cid={{{PubChem}}} {{{PubChem}}}]</span> }} | ||
Line 25: | Line 30: | ||
{{#if:{{{RTECS|}}}| {{!}} [[Registry of Toxic Effects of Chemical Substances|RTECS]] {{!!}} {{{RTECS}}} }} | {{#if:{{{RTECS|}}}| {{!}} [[Registry of Toxic Effects of Chemical Substances|RTECS]] {{!!}} {{{RTECS}}} }} | ||
|- | |- | ||
− | + | {{#if:{{{ATCCode|}}}{{{ATCCode_prefix|}}}{{{ATCCode_suffix|}}}{{{ATC_Supplemental|}}} | {{!}} [[ATC{{#ifeq:{{{ATCvet|}}}|yes|vet}} code]] {{!!}} {{#if:{{{ATCCode|}}}|<span class="reflink plainlinks neverexpand">{{#ifeq:{{{ATCvet|}}}|yes|[http://www.whocc.no/atcvet/database/index.php?query=Q{{{ATCCode}}} Q{{{ATCCode}}}] | [http://www.whocc.no/atcddd/indexdatabase/index.php?query={{{ATCCode}}} {{{ATCCode}}}]}}</span>}}{{#if:{{{ATCCode_prefix|}}}{{{ATCCode_suffix|}}}|{{#if:{{{ATCCode|}}}|, }}[[ATC code {{{ATCCode_prefix}}}|{{#ifeq:{{{ATCvet|}}}|yes|Q}}{{{ATCCode_prefix}}}]]<span class="reflink plainlinks neverexpand">[{{#ifeq:{{{ATCvet}}} | yes | http://www.whocc.no/atcvet/database/index.php?query=Q{{{ATCCode_prefix}}}{{{ATCCode_suffix}}} {{{ATCCode_suffix}}} | http://www.whocc.no/atcddd/indexdatabase/index.php?query={{{ATCCode_prefix}}}{{{ATCCode_suffix}}} {{{ATCCode_suffix}}}}}]</span> }}{{#if:{{{ATC_Supplemental|}}}|{{#if:{{{ATCCode|}}}{{{ATCCode_prefix|}}}{{{ATCCode_suffix|}}}|, }}{{{ATC_Supplemental}}}}} }} | |
|- | |- | ||
− | + | {{#if:{{{SMILES|}}}{{{FullSMILES|}}}{{{DispSMILES|}}} | {{!}} [[Simplified molecular input line entry specification|SMILES]] {{!!}} <small><tt>{{#if:{{{FullSMILES|}}}|{{#if:{{{DispSMILES|}}}|{{Collapsible list|title = |list_style = text-align:left;display:none; |1 ={{{DispSMILES}}} }}|{{Collapsible list|title = |list_style = text-align:left;display:none; |1 ={{{SMILES|}}}}}| }}|{{#if:{{{DispSMILES|}}}|{{#if:{{{SMILES|}}}|{{Collapsible list|title = |list_style = text-align:left;display:none; |1 ={{{DispSMILES}}}}}|{{Collapsible list|title = |list_style = text-align:left;display:none; |1 ={{{DispSMILES}}}}} }}|{{Collapsible list|title = |list_style = text-align:left;display:none; |1 ={{{SMILES|}}}}} }} }}</tt></small> }} | |
|- | |- | ||
− | + | {{#if:{{{InChI|}}}{{{FullInChI|}}}{{{DispInChI|}}}| {{!}} [[International Chemical Identifier|InChI]] {{!!}} <small>{{#if:{{{FullInChI|}}}|{{#if:{{{DispInChI|}}}|{{{DispInChI}}}|{{Collapsible list|title = |liststyle = text-align:left;display:none; |1 = {{{InChI|}}} }}| }}|{{#if:{{{DispInChI|}}}|{{#if:{{{InChI|}}}|{{Collapsible list|title = |liststyle = text-align:left;display:none; |1 = {{{DispInChI}}} }} }}|{{Collapsible list|title = |liststyle = text-align:left;display:none; |1 = {{{InChI|}}} }} }} }}</small> }} | |
|- | |- | ||
{{#if:{{{Beilstein|}}} | {{!}} [[Beilstein Registry Number|Beilstein]] {{!!}} {{{Beilstein}}} }} <!-- used 5 times on WP --> | {{#if:{{{Beilstein|}}} | {{!}} [[Beilstein Registry Number|Beilstein]] {{!!}} {{{Beilstein}}} }} <!-- used 5 times on WP --> |
Revision as of 20:46, 13 August 2009
}} |-
|-
|-
|-
|-
|-
|-
|-
|-
|-
|-
|-
|-
|-
|-
|-
|-</includeonly>
This is a documentation subpage for Template:Chembox Identifiers (see that page for the template itself). It contains usage information, categories and other content that is not part of the original template page. |
Contents
Usage
Parameters
Examples
See also
Error creating thumbnail: Unable to save thumbnail to destination | This template was originally imported from Wikipedia, specifically this version of the template "Template:Chembox Identifiers". Please see the history page on Wikipedia for the original authors. This WikiChem template may have been modified since it was imported. It is licensed under the Creative Commons Attribution–Share Alike 3.0 Unported license. |