Difference between revisions of "Template:Chembox Identifiers"

From WikiChem
Jump to: navigation, search
 
(4 intermediate revisions by the same user not shown)
Line 6: Line 6:
 
{{#if:{{{InChI|}}} | {{!}} [[International Chemical Identifier|InChI]] {{!!}} <small><tt>InChI={{{InChI}}}</tt></small> }}
 
{{#if:{{{InChI|}}} | {{!}} [[International Chemical Identifier|InChI]] {{!!}} <small><tt>InChI={{{InChI}}}</tt></small> }}
 
|-
 
|-
|{{#if:{{{InChIKey|}}}| {{!}} [[International Chemical Identifier|InChIKey]] {{!!}} <tt>{{{InChIKey}}}</tt> }}
+
{{#if:{{{InChIKey|}}}| {{!}} [[International Chemical Identifier|InChIKey]] {{!!}} <tt>{{{InChIKey}}}</tt> }}
 
|-
 
|-
|{{#if:{{{StdInChI|}}}| {{!}} [[International Chemical Identifier|Standard InChI]] {{!!}} <small><tt>InChI={{{StdInChI}}}</tt></small> }}
+
{{#if:{{{StdInChI|}}}| {{!}} [[International Chemical Identifier|Standard InChI]] {{!!}} <small><tt>InChI={{{StdInChI}}}</tt></small> }}
 
|-
 
|-
|{{#if:{{{StdInChIKey|}}}| {{!}} [[International Chemical Identifier|Standard InChIKey]] {{!!}} <tt>{{{StdInChIKey}}}</tt> }}
+
{{#if:{{{StdInChIKey|}}}| {{!}} [[International Chemical Identifier|Standard InChIKey]] {{!!}} <tt>{{{StdInChIKey}}}</tt> }}
 
|-
 
|-
 
{{#if:{{{CASNo|}}} | {{!}} [[CAS registry number|CAS number]] {{!!}} {{#if:{{{CASNo|}}} |  {{chembox val fmt | val=[<span class="reflink plainlinks neverexpand">[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:{{{CASNo|}}} | {{!}} [[CAS registry number|CAS number]] {{!!}} {{#if:{{{CASNo|}}} |  {{chembox val fmt | val=[<span class="reflink plainlinks neverexpand">[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>}}
Line 18: Line 18:
 
{{#if:{{{EINECSCASNO|}}} | {{!}} [[EC number (chemistry)|EC number]] {{!!}} <span class="reflink plainlinks neverexpand">[http://ecb.jrc.it/esis/index.php?GENRE=CASNO&ENTREE={{{EINECSCASNO}}} {{{EINECSCASNO}}}]</span>}} <!-- To be deprecated, unused on WP -->
 
{{#if:{{{EINECSCASNO|}}} | {{!}} [[EC number (chemistry)|EC number]] {{!!}} <span class="reflink plainlinks neverexpand">[http://ecb.jrc.it/esis/index.php?GENRE=CASNO&ENTREE={{{EINECSCASNO}}} {{{EINECSCASNO}}}]</span>}} <!-- To be deprecated, unused on WP -->
 
|-
 
|-
{{#if:{{{UNNumber|}}} | {{!}} [[UN number]] {{!!}} {{{UNNumber}}} }}
+
{{#if:{{{UNNumber|}}}{{{UN-number|}}} | {{!}} [[UN number]] {{!!}} {{{UNNumber|}}}{{{UN-number|}}} }}
 
|-
 
|-
 
{{#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:{{{ATCCode|}}}{{{ATCCode_prefix|}}}{{{ATCCode_suffix|}}}{{{ATC_Supplemental|}}} | {{!}} [[Anatomical Therapeutic Chemical classification|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:{{{ChemSpider|}}}{{{ChemSpiderID|}}} | {{!}} [[ChemSpider]] {{!!}} <span class="reflink plainlinks neverexpand"> [http://www.chemspider.com/{{{ChemSpider|}}}{{{ChemSpiderID|}}} {{{ChemSpider|}}}{{{ChemSpiderID|}}}]</span> }}
 
{{#if:{{{ChemSpider|}}}{{{ChemSpiderID|}}} | {{!}} [[ChemSpider]] {{!!}} <span class="reflink plainlinks neverexpand"> [http://www.chemspider.com/{{{ChemSpider|}}}{{{ChemSpiderID|}}} {{{ChemSpider|}}}{{{ChemSpiderID|}}}]</span> }}

Latest revision as of 18:11, 20 June 2010

|- ! style="background: #F8EABA; text-align: center;" colspan="2" | Identifiers |-

|-

|-

|-

|-

|-

|-

|-

|-

|-

|-

|-

|-

|-

|-

|-

|-

|-

|-

|-

|-

|-

[edit] [purge] Template-info-500px.png Template documentation


Usage

Parameters

Examples

See also

Error creating thumbnail: Unable to save thumbnail to destination
Wikipedia-logo.png 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.