Nodyn:Chembox/testcases

Oddi ar Wicipedia
Jump to navigation Jump to search

Test {{Chembox Identifiers}}. Copied from source: en:Template:Chembox/testcases2

  • cywiki notes
Lefthand = {{chembox/sandbox}} (missing in cywiki).
Righthand side = live version so should be OK. -DePiep (sgwrs) 14:23, 20 Gorffennaf 2017 (UTC)

When redlinked in the infobox, on lefthand, the article is missing at cywiki. For example:

PubChem
To solve: click & create article. When the article takes a different name (in cy language), do create the cy named article and change in the subtemplate. Example:
en:CAS number
cy: Rhif CAS (to create)
set in subtemplate {{Chembox CASNo}} (to edit)
-DePiep (sgwrs) 17:11, 20 Gorffennaf 2017 (UTC)

Subtemplates used[golygu cod y dudalen]

(this list may be outdated/incomplete. {{Chembox Identifiers}} is defining).
Indexed parameters
for indexed parameters: CASNo, CASNo1, CASNo2, CASNo3, CASNo4, CASNo5
and having: CASNo_Comment, CASNo1_Comment, CASNo2_Comment, CASNo3_Comment, CASNo4_Comment, CASNo5_Comment
Also, once: CASNoOther (any text, shown unedited)

Similarly:

{{Chembox ChEBI/format}}
{{Chembox ChEMBL/format}}
{{Chembox ChemSpiderID/format}}
{{Chembox DrugBank/format}}
{{Chembox InChI/format}}
{{Chembox IUPHAR ligand/format}}
{{Chembox Jmol/format}}
{{Chembox KEGG/format}}
{{Chembox PubChem/format}}
{{Chembox SMILES/format}}
{{Chembox UNII/format}}
Non-indexed parameters

Indentifiers[golygu cod y dudalen]

All identifiers[golygu cod y dudalen]

Puro

Nodyn:Chembox/sandbox
Chembox/testcases
Dynodwyr
3D model (Jmol)
3DMet 3dmet
Byrnodau abbr
Cyfeirnodau Beilstein beilst
ChEBI
ChemSpider
DrugBank
Rhif EC einecsecnr
Cyfeirnodau Gmelin geme
IUPHAR/BPS
KEGG
MeSH [www.nlm.nih.gov/cgi/show_data.php?acc={{{MeSH}}} {{{MeSH}}}]
PubChem
Rhif RTECS rtecs
UNII
Rhif yr UN unnnr
  • Tracking categories (test):

SMILES and Jmol[golygu cod y dudalen]

DDT: | SMILES = Clc1ccc(cc1)C(c2ccc(Cl)cc2)C(Cl)(Cl)Cl
Nitroglycerine | Jmol = C(C(CO[N+](=O)[O-])O[N+](=O)[O-])O[N+](=O)[O-]

basic[golygu cod y dudalen]

Puro

  • has SM=
Nodyn:Chembox/sandbox
Chembox/testcases
Dynodwyr
PubChem
  • Tracking categories (test):

Jmol[golygu cod y dudalen]

Puro Has SM and Jmol input

Nodyn:Chembox/sandbox
Jmol overwrite
Dynodwyr
3D model (Jmol)
PubChem
  • Tracking categories (test):

Puro Has SM=, and Jmol=None

Nodyn:Chembox/sandbox
Jmol is None
Dynodwyr
PubChem
  • Tracking categories (test):

Jmol more tests[golygu cod y dudalen]

Puro

Nodyn:Chembox/sandbox
Jmol ovwr
Dynodwyr
3D model (Jmol)
PubChem
  • Tracking categories (test):

Puro

Nodyn:Chembox/sandbox
Jmol1,2 is None,alt
Dynodwyr
3D model (Jmol)
PubChem
  • Tracking categories (test):

Jmoln indexes[golygu cod y dudalen]

SMILES input parameters can have indexes: <blank>, 1, 2, 3, 4, 5: (parameters |SMILES= ... |SMILES5=). Indexed |Jmoln= corresponds with these SMILES input. So |Jmol3= will overwrite input |SMILES3= for the Jmol3 link.

I apologise for the crude input examples. What needs to be tested is that Jmolm overwrites SMILESm.

Puro

Nodyn:Chembox/sandbox


All indexes used:
Dynodwyr
3D model (Jmol)
PubChem
  • Tracking categories (test):
Nodyn:Chembox/sandbox
All up; SM1=empty; Jml4=none
Dynodwyr
3D model (Jmol)
PubChem
  • Tracking categories (test):

SMILESn_Comment handling[golygu cod y dudalen]

eg |SMILES1_Comment=smi1cmt. Jmol-datarow reuses any SMILES_Comment.
Nodyn:Chembox/sandbox
All indexes used +SMcmt:
Dynodwyr
3D model (Jmol)
PubChem
  • Tracking categories (test):
Nodyn:Chembox/sandbox
All up; SM1=empty; Jml4=none; cmt2=blank
Dynodwyr
3D model (Jmol)
PubChem
  • Tracking categories (test):

ChemSpiderID[golygu cod y dudalen]

base[golygu cod y dudalen]

Puro

Nodyn:Chembox/sandbox
Chembox/testcases
Dynodwyr
ChemSpider
PubChem
  • Tracking categories (test):

NA[golygu cod y dudalen]

Puro

Nodyn:Chembox/sandbox
Chembox/testcases
Dynodwyr
ChemSpider
  • None
PubChem
  • Tracking categories (test):

multiple[golygu cod y dudalen]

Puro

Nodyn:Chembox/sandbox

ChemSpiderID[golygu cod y dudalen]

base[golygu cod y dudalen]

Puro

Nodyn:Chembox/sandbox
Chembox/testcases
Dynodwyr
ChemSpider
PubChem
  • Tracking categories (test):

NA[golygu cod y dudalen]

Puro

Nodyn:Chembox/sandbox
Chembox/testcases
Dynodwyr
ChemSpider
PubChem
  • Tracking categories (test):

multiple[golygu cod y dudalen]

Puro

Nodyn:Chembox/sandbox
Chembox/testcases
Dynodwyr
ChemSpider
PubChem
  • Tracking categories (test):

blank[golygu cod y dudalen]

Puro

Nodyn:Chembox/sandbox
Chembox/testcases
Dynodwyr
PubChem
  • Tracking categories (test):