Difference between revisions of "Template:Infobox drug/formatChemSpider"
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|}}}:& | + | |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|}}}:& | + | |#default={{#if:{{{ix_label|}}} |{{{ix_label|}}}: }}<span title="www.chemspider.com">[http://www.chemspider.com/Chemical-Structure.{{{localValue}}}.html {{{localValue}}}]</span><!-- |
| − | + | -->{{#if:{{{comment|}}}| {{{comment}}}}}<!-- | |
| − | --><noinclude>{{documentation}}</noinclude> | + | -->{{{botref|}}}}}<noinclude> |
| + | {{documentation}} | ||
| + | </noinclude> | ||
Latest revision as of 02:12, 23 November 2018
- Used in both {{Infobox drug}} & {{Infobox chemical}}
| The above documentation is transcluded from Template:Infobox drug/formatChemSpider/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |