Template:Molecule: Difference between revisions

From ChemWiki
(Added to the wiki via WikiImport-Script.)
(Added to the wiki via WikiImport-Script.)
 
(2 intermediate revisions by the same user not shown)
Line 35: Line 35:
|inchikey={{{inchikey|}}}
|inchikey={{{inchikey|}}}
}}
}}
{{#arraymap:{{#extractElements:|formula={{{smiles|}}} }}|,|x|[[ContainsElement::x| ]]|\s}}
{{#arraymap:{{#extractElements:|formula={{{molecularFormula|}}} }}|,|x|[[ContainsElement::x| ]]|\s}}


<div>
<div>
<span class="toggle-box" resource="chemdata">Click here to show SMILES and InChI.</span>
<div><span class="ce-copy-molOrRxn">Click here to copy MOL-file.</span></div>
<div><span class="toggle-box" resource="chemdata">Click here to show SMILES and InChI.</span></div>
{| id="chemdata" class="infobox wikitable" style="display:none;"
{| id="chemdata" class="infobox wikitable" style="display:none;"
|-
|-
Line 50: Line 51:
|}
|}
{{#set: Molfile={{{molOrRxn}}} }}
{{#set: Molfile={{{molOrRxn}}} }}
{{#set: BelongsToCollection={{{parent}}} }}
</div>
</div>



Latest revision as of 15:12, 13 February 2025

Template for Molecule ‎

Navigation