Difference between revisions of "Template:Chembox Identifiers"

From WikiChem
Jump to: navigation, search
(add ChemCOinS)
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
|-
 
|-
! {{Chembox header}} | Identifiers{{{Reference|}}}<span class="chemcoins" title="ctx_ver=Z39.88-2004&rft_val_fmt=http%3A%2F%2Fpluto.potsdam.edu%2Fwikichem%2Findex.php%2FWikiChem%3AChemCOinS{{#if:{{{StdInChIkey|}}}|&rft_id={{{StdInChIkey}}}}}{{#if:{{{InChIkey|}}}|&rft_key={{{InChIkey}}}}}{{#if:{{{CASNo|}}}|&rft_cas={{{CASNo}}}}}{{#if:{{{EC-number|}}}{{{EINECS|}}}|&rft_ec={{{EC-number|}}}{{{EINECS|}}}}}"></span>
+
! {{Chembox header}} | Identifiers{{{Reference|}}}<includeonly>{{#if:{{{StdInChIkey|}}}{{{InChIkey|}}}{{{CASNo|}}}{{{EC-number|}}}{{{EINECS|}}}|<span class="chemcoins" title="ctx_ver=Z39.88-2004&rft_val_fmt=http%3A%2F%2Fpluto.potsdam.edu%2Fwikichem%2Findex.php%2FWikiChem%3AChemCOinS{{#if:{{{StdInChIkey|}}}|&rft_id={{{StdInChIkey}}}}}{{#if:{{{InChIkey|}}}|&rft_key={{{InChIkey}}}}}{{#if:{{{CASNo|}}}|&rft_cas={{{CASNo}}}}}{{#if:{{{EC-number|}}}{{{EINECS|}}}|&rft_ec={{{EC-number|}}}{{{EINECS|}}}}}"></span>|[[Category:Pages needing substance identifiers]]}}</includeonly>
 
|-
 
|-
 
{{#if:{{{Abbreviations|}}} | {{!}} Abbreviations {{!!}} {{{Abbreviations}}} }}
 
{{#if:{{{Abbreviations|}}} | {{!}} Abbreviations {{!!}} {{{Abbreviations}}} }}
 
|-
 
|-
{{#if:{{{InChI|}}}{{{FullInChI|}}}{{{DispInChI|}}}| {{!}} [[International Chemical Identifier|InChI]] {{!!}} <small>{{#if:{{{FullInChI|}}}|{{#if:{{{DispInChI|}}}|{{{DispInChI}}}|{{Collapsible list|title = &nbsp; |liststyle  = text-align:left;display:none; |1 = {{{InChI|}}} }}| }}|{{#if:{{{DispInChI|}}}|{{#if:{{{InChI|}}}|{{Collapsible list|title = &nbsp; |liststyle  = text-align:left;display:none; |1 = {{{DispInChI}}} }} }}|{{Collapsible list|title = &nbsp; |liststyle  = text-align:left;display:none; |1 = {{{InChI|}}} }} }} }}</small> }}
+
{{#if:{{{InChI|}}} | {{!}} [[International Chemical Identifier|InChI]] {{!!}} <small><tt>InChI={{{InChI}}}</tt></small> }}
 +
|-
 +
{{#if:{{{InChIKey|}}}| {{!}} [[International Chemical Identifier|InChIKey]] {{!!}} <tt>{{{InChIKey}}}</tt> }}
 +
|-
 +
{{#if:{{{StdInChI|}}}| {{!}} [[International Chemical Identifier|Standard InChI]] {{!!}} <small><tt>InChI={{{StdInChI}}}</tt></small> }}
 +
|-
 +
{{#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 12: 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.