Difference between revisions of "Template:Infobox drug/formatChemSpider"

From blackwiki
Jump to navigation Jump to search
imported>Primefac
m (Changed protection level for "Template:Infobox drug/formatChemSpider": high-risk template with 4000+ transclusions ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite)))
imported>Zackmann08
(adding support for comment parameter)
 
Line 1: Line 1:
 
{{#switch:{{{localValue|}}}
 
{{#switch:{{{localValue|}}}
 
|=
 
|=
|None|none={{#if:{{{ix_label|}}} |{{{ix_label|}}}: }}{{{localValue|}}}{{main other
+
|None|none={{#if:{{{ix_label|}}} |{{{ix_label|}}}: }}{{{localValue|}}}{{main other
 
|{{#ifeq:{{{index|0}}}|0
 
|{{#ifeq:{{{index|0}}}|0
 
|[[Category:Chemicals that do not have a ChemSpider ID assigned|*]]
 
|[[Category:Chemicals that do not have a ChemSpider ID assigned|*]]
 
|[[Category:Chemicals that do not have a ChemSpider ID assigned|*]]<!-- ChemSpider: same category for now, not: '... (indexed) ...' for index=2. Feb 2017 -->}}}}
 
|[[Category:Chemicals that do not have a ChemSpider ID assigned|*]]<!-- ChemSpider: same category for now, not: '... (indexed) ...' for index=2. Feb 2017 -->}}}}
|#default={{#if:{{{ix_label|}}} |{{{ix_label|}}}:&#x20;}}<span title="www.chemspider.com">[http://www.chemspider.com/Chemical-Structure.{{{localValue}}}.html {{{localValue}}}]</span>{{{botref|}}} }}<!--
+
|#default={{#if:{{{ix_label|}}} |{{{ix_label|}}}:&nbsp;}}<span title="www.chemspider.com">[http://www.chemspider.com/Chemical-Structure.{{{localValue}}}.html {{{localValue}}}]</span><!--
 
+
-->{{#if:{{{comment|}}}|&nbsp;{{{comment}}}}}<!--
--><noinclude>{{documentation}}</noinclude>
+
-->{{{botref|}}}}}<noinclude>
 +
{{documentation}}
 +
</noinclude>

Latest revision as of 02:12, 23 November 2018

50px Template documentation[view] [edit] [history] [purge]