Difference between revisions of "Template:Chembox ChemSpiderID/format"

From blackwiki
Jump to navigation Jump to search
imported>Rjd0060
(Adding {{pp-template}})
imported>DePiep
(change listformat)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>{{pp-template|small=yes}}</noinclude>{{#ifeq:{{uc:{{{ChemSpiderID|}}}}}|NA
+
{{#switch:{{{localValue|}}}
|{{main other |[[Category:Chemical compounds which do not have a ChemSpiderID]]}}  
+
|=
|<br/><span class="reflink plainlinks nourlexpansion">[http://www.chemspider.com/Chemical-Structure.{{{ChemSpiderID}}}.html {{{ChemSpiderID}}}]</span>}}<!--
+
|None|none={{#if:{{{ix_label|}}}|{{{ix_label|}}}:&#x20;}}{{{localValue|}}}
-->{{#if:{{{ChemSpiderID_comment|}}}|&#x20;{{{ChemSpiderID_comment}}} }}<!--
+
|#default={{#if:{{{ix_label|}}}|{{{ix_label|}}}:&#x20;}}<span title="www.chemspider.com">[http://www.chemspider.com/Chemical-Structure.{{{localValue}}}.html {{{localValue}}}]</span><!--
-->{{{ChemSpiderID_Ref|}}}<noinclude>
+
-->{{#if:{{{comment|}}}|&#x20;{{{comment}}}}}<!--
{{documentation}}
+
-->{{{botref|}}}}}<!--
</noinclude>
+
 
 +
--><noinclude>{{documentation}}</noinclude>

Latest revision as of 00:16, 20 March 2017