टेम्पलेट:Chembox Identifiers: रिवीजन सभ के बीचा में अंतर

Content deleted Content added
imported>DePiep
Formatting InChI, SMILES, JMol. Remove deprecated parameters. Fix footer logic. +minor changes. See talk
imported>DePiep
CAS NR, ChemSpider, ATC =none: id not assigned. See WP:Chemicals talk
लाइन 1:
{{#if:{{{Abbreviations|}}}{{{IUPHAR_ligand|}}}{{{IUPHAR_ligand1|}}}{{{IUPHAR_ligand2|}}}{{{IUPHAR_ligand3|}}}{{{IUPHAR_ligand4|}}}{{{IUPHAR_ligand5|}}}{{{IUPHAR_ligand_Other|}}}{{{RTECS|}}}{{{ATCCode|}}}{{{ATCCode_prefix|}}}{{{ATCCode_suffix|}}}{{{ATC_Supplemental|}}}{{{Beilstein|}}}{{{Gmelin|}}}{{{3DMet|}}}{{{EINECS|}}}{{{EC_number|}}}{{{EC_number_Comment|}}}{{{UNNumber|}}}{{{MeSHName|}}}<!--
-->{{#invoke:String|replace|source={{{CASNo|}}} {{{CASNo1|}}} {{{CASNo2|}}} {{{CASNo3|}}} {{{CASNo4|}}} {{{CASNo5|}}} |pattern=none |replace=|plain=true }}{{{CASNoOther|}}}
{{{ChEBI|}}}{{{ChEBI1|}}}{{{ChEBI2|}}}{{{ChEBI3|}}}{{{ChEBI4|}}}{{{ChEBI5|}}}{{{ChEBIOther|}}}
{{{ChEMBL|}}}{{{ChEMBL1|}}}{{{ChEMBL2|}}}{{{ChEMBL3|}}}{{{ChEMBL4|}}}{{{ChEMBL5|}}}{{{ChEMBLOther|}}}<!--
-->{{#invoke:String|replace|source={{{ChemSpiderID|}}} {{{ChemSpiderID1|}}} {{{ChemSpiderID2|}}} {{{ChemSpiderID3|}}} {{{ChemSpiderID4|}}} {{{ChemSpiderID5|}}} |pattern=none |replace=|plain=true }}{{{ChemSpiderIDOther|}}}
{{{DrugBank|}}}{{{DrugBank1|}}}{{{DrugBank2|}}}{{{DrugBank3|}}}{{{DrugBank4|}}}{{{DrugBank5|}}}{{{DrugBankOther|}}}
{{{StdInChI|}}}{{{StdInChIKey|}}}{{{InChI|}}}{{{InChIKey|}}}{{{InChI1|}}}{{{InIKey1|}}}{{{InChI2|}}}{{{InChIKey2|}}}{{{InChI3|}}}{{{InChIKey3|}}}{{{InChI4|}}}{{{InChIKey4|}}}{{{InChI5|}}}{{{InChIKey5|}}}{{{InChIOther|}}}
लाइन 17:
----- maintenance cats -----
-->|addcats=<!--
temp, cleanup:
-->{{#ifeq:{{#invoke:String|find |source=_{{{ChemSpiderID|}}}_{{{ChemSpiderID1|}}}{{{ChemSpiderID2|}}}_{{{ChemSpiderID3|}}}_{{{ChemSpiderID4|}}}_{{{ChemSpiderID5|}}}_ |target=_NA_ |plain=true }}|0|<!--ok-->|[[Category:Chemical infoboxes with tracked parameters|NA]]}}<!--
 
-->{{#if:{{{CASNo|}}}{{{CASNo1|}}}{{{CASNo2|}}}{{{CASNo3|}}}{{{CASNo4|}}}{{{CASNo5|}}}
|{{#ifeq:{{#invoke:String|find |source=_{{{CASNo|}}}_{{{CASNo1|}}}_{{{CASNo2|}}}_{{{CASNo3|}}}_{{{CASNo4|}}}_{{{CASNo5|}}}_ |target=_none_ |plain=true }}|0||[[Category:Chemicals that do not have a CAS Registry Number assigned]] }}
||[[Category:Chemical pages without CAS Registry Number]]}}<!--
-->{{#if:{{{ChEBI|}}}{{{ChEBI1|}}}{{{ChEBI2|}}}{{{ChEBI3|}}}{{{ChEBI4|}}}{{{ChEBI5|}}}
{{{ChEMBL|}}}{{{ChEMBL1|}}}{{{ChEMBL2|}}}{{{ChEMBL3|}}}{{{ChEMBL4|}}}{{{ChEMBL5|}}}
||[[Category:Articles without EBI source]]}}<!--
-->{{#if:{{{ChemSpiderID|}}}{{{ChemSpiderID1|}}}{{{ChemSpiderID2|}}}{{{ChemSpiderID3|}}}{{{ChemSpiderID4|}}}{{{ChemSpiderID5|}}}|
{{#ifeq:{{#invoke:String|find |source=_{{{ChemSpiderID|}}}_{{{ChemSpiderID1|}}}{{{ChemSpiderID2|}}}_{{{ChemSpiderID3|}}}_{{{ChemSpiderID4|}}}_{{{ChemSpiderID5|}}}_ |target=_none_ |plain=true }}|0|<!--OK, no 'none' -->|[[Category:Chemicals that do not have a ChemSpider ID assigned]] }} |[[Category:Chemical pages without ChemSpiderID]]}}<!--
||[[Category:Chemical pages without ChemSpiderID]]}}<!--
-->{{#if:{{{DrugBank|}}}{{{DrugBank1|}}}{{{DrugBank2|}}}{{{DrugBank3|}}}{{{DrugBank4|}}}{{{DrugBank5|}}}
||[[Category:Chemical pages without DrugBank identifier]]}}<!--
Line 49 ⟶ 53:
----- END HEADERBAR -->}}<!--
----- START DATA ROWS ----- -->
{{#if:{{#invoke:String|replace |source={{{CASNo|}}} {{{CASNo1|}}} {{{CASNo2|}}} {{{CASNo3|}}} {{{CASNo4|}}} {{{CASNo5|}}} |pattern=none |replace= |plain=true }}{{{CASNoOther|}}}
|{{Chembox CASNo
|CASNo ={{#ifswitch:{{{CASNo|}}} ||none=|#default={{Chembox CASNo/format |CASNo={{{CASNo|}}}|CASNo_comment={{{CASNo_Comment|}}}|CASNo_Ref={{{CASNo_Ref|}}} }}}}
|CASNo1={{#ifswitch:{{{CASNo1|}}} ||none=|#default={{Chembox CASNo/format |CASNo={{{CASNo1|}}}|CASNo_comment={{{CASNo1_Comment|}}}|CASNo_Ref={{{CASNo1_Ref|}}} }}}}
|CASNo2={{#ifswitch:{{{CASNo2|}}} ||none=|#default={{Chembox CASNo/format |CASNo={{{CASNo2|}}}|CASNo_comment={{{CASNo2_Comment|}}}|CASNo_Ref={{{CASNo2_Ref|}}} }}}}
|CASNo3={{#ifswitch:{{{CASNo3|}}} ||none=|#default={{Chembox CASNo/format |CASNo={{{CASNo3|}}}|CASNo_comment={{{CASNo3_Comment|}}}|CASNo_Ref={{{CASNo3_Ref|}}} }}}}
|CASNo4={{#ifswitch:{{{CASNo4|}}} ||none=|#default={{Chembox CASNo/format |CASNo={{{CASNo4|}}}|CASNo_comment={{{CASNo4_Comment|}}}|CASNo_Ref={{{CASNo4_Ref|}}} }}}}
|CASNo5={{#ifswitch:{{{CASNo5|}}} ||none=|#default={{Chembox CASNo/format |CASNo={{{CASNo5|}}}|CASNo_comment={{{CASNo5_Comment|}}}|CASNo_Ref={{{CASNo5_Ref|}}} }}}}
|CASNoOther={{{CASNoOther|}}} }}}}<!--
----- 3DMet -->
{{#if:{{{3DMet|}}} |{{Chembox 3DMet|value={{{3DMet|}}} }}}}<!--
----- ATCabbr -->
{{#if:{{{Abbreviations|}}} |{{Chembox Abbreviations |value={{{Abbreviations|}}} }}}}<!--
ATC -->
Line 86 ⟶ 90:
|ChEMBLOther={{{ChEMBLOther|}}} }} }}<!--
----- ChemSpiderID ----- -->
{{#if:{{#invoke:String|replace |source={{{ChemSpiderID|}}} {{{ChemSpiderID1|}}} {{{ChemSpiderID2|}}} {{{ChemSpiderID3|}}} {{{ChemSpiderID4|}}} {{{ChemSpiderID5|}}} |pattern=none |replace= |plain=true }}{{{ChemSpiderIDOther|}}}
|{{Chembox ChemSpiderID
|ChemSpiderID={{#ifswitch:{{{ChemSpiderID|}}}||none=|#default={{Chembox ChemSpiderID/format|ChemSpiderID={{{ChemSpiderID|}}}|ChemSpiderID_comment={{{ChemSpiderID_Comment|}}}|ChemSpiderID_Ref={{{ChemSpiderID_Ref|}}} }}}}
|ChemSpiderID1={{#ifswitch:{{{ChemSpiderID1|}}}||none=|#default={{Chembox ChemSpiderID/format|ChemSpiderID={{{ChemSpiderID1|}}}|ChemSpiderID_comment={{{ChemSpiderID1_Comment|}}}|ChemSpiderID_Ref={{{ChemSpiderID1_Ref|}}} }}}}
|ChemSpiderID2={{#ifswitch:{{{ChemSpiderID2|}}}||none=|#default={{Chembox ChemSpiderID/format|ChemSpiderID={{{ChemSpiderID2|}}}|ChemSpiderID_comment={{{ChemSpiderID2_Comment|}}}|ChemSpiderID_Ref={{{ChemSpiderID2_Ref|}}} }}}}
|ChemSpiderID3={{#ifswitch:{{{ChemSpiderID3|}}}||none=|#default={{Chembox ChemSpiderID/format|ChemSpiderID={{{ChemSpiderID3|}}}|ChemSpiderID_comment={{{ChemSpiderID3_Comment|}}}|ChemSpiderID_Ref={{{ChemSpiderID3_Ref|}}} }}}}
|ChemSpiderID4={{#ifswitch:{{{ChemSpiderID4|}}}||none=|#default={{Chembox ChemSpiderID/format|ChemSpiderID={{{ChemSpiderID4|}}}|ChemSpiderID_comment={{{ChemSpiderID4_Comment|}}}|ChemSpiderID_Ref={{{ChemSpiderID4_Ref|}}} }}}}
|ChemSpiderID5={{#ifswitch:{{{ChemSpiderID5|}}}||none=|#default={{Chembox ChemSpiderID/format|ChemSpiderID={{{ChemSpiderID5|}}}|ChemSpiderID_comment={{{ChemSpiderID5_Comment|}}}|ChemSpiderID_Ref={{{ChemSpiderID5_Ref|}}} }}}}
|ChemSpiderIDOther={{{ChemSpiderIDOther|}}} }}}}<!--
DrugBank -->