Template:MoleculeCollection: Difference between revisions

From ChemWiki
(Added to the wiki via WikiImport-Script.)
(Added to the wiki via WikiImport-Script.)
Line 1: Line 1:
<noinclude>Template for ChemicalFormula</noinclude>
<noinclude>Template for ChemicalFormula</noinclude>
‎<includeonly>
‎<includeonly>
* Smiles: {{#set: Smiles={{{smiles}}} }} {{{smiles}}}
{{#if: {{{inchi|}}} |* InChI: {{#set: InChI={{{inchi}}} }} {{{inchi}}}|}}
{{#if: {{{inchikey|}}} |* InChI-Key: {{#set: InChIKey={{{inchikey}}} }} {{{inchikey}}}|}}
{{#if: {{{abbrev|}}} |* Abbreviation: {{#set: Abbreviation={{{abbrev}}} }} {{{abbrev}}}|}}
{{#if: {{{abbrev|}}} |* Abbreviation: {{#set: Abbreviation={{{abbrev}}} }} {{{abbrev}}}|}}
{{#if: {{{trivialname|}}} |* Trivialname: {{#set: Trivialname={{{trivialname}}} }} {{{trivialname}}}|}}
{{#if: {{{trivialname|}}} |* Trivialname: {{#set: Trivialname={{{trivialname}}} }} {{{trivialname}}}|}}
Line 12: Line 9:
|inchikey={{{inchikey|}}}
|inchikey={{{inchikey|}}}
}}
}}
<div>
<span class="toggle-box" resource="chemdata">Click here to show SMILES and Molecule-Key.</span>
{| id="chemdata" class="infobox wikitable" style="display:none;"
|-
| Key (SMILES + RGroups) || {{{inchikey}}}
|-
| SMILES || {{#set: Smiles={{{smiles}}} }} {{{smiles}}}
|-
|}
</div>
[[Category:Molecule collection]]
[[Category:Molecule collection]]
‎<includeonly>
‎<includeonly>

Revision as of 16:53, 19 January 2023

Template for ChemicalFormula ‎