Difference between revisions of "Template:Chembox ChemSpiderID"

From Self-sufficiency
Jump to: navigation, search
(-ID)
 
(testing solution)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
<includeonly>| [[ChemSpider]]
 
<includeonly>| [[ChemSpider]]
| {{#if:{{{value|}}}|<span class="reflink plainlinks nourlexpansion">[http://www.chemspider.com/{{{value}}} {{{value}}}]</span>{{#if:{{{value_comment|}}}|&nbsp;{{{value_comment}}} }}{{#switch:{{{value_ref|}}}x | {{chemspidercite}}x=&nbsp;<sup>{{tick|7}}</sup> | changedx=&nbsp;<sup>{{cross|7}}</sup> }}}}{{#if:{{{value1|}}}|{{#if:{{{value|}}}|,&nbsp;}}<span class="reflink plainlinks nourlexpansion">[http://www.chemspider.com/{{{value1}}} {{{value1}}}]</span>{{#if:{{{value1_comment|}}}|&nbsp;{{{value1_comment}}} }}{{#switch:{{{value1_ref|}}}x | {{chemspidercite}}x=&nbsp;<sup>{{tick|7}}</sup> | changedx=&nbsp;<sup>{{cross|7}}</sup> }}}}{{#if:{{{value2|}}}|{{#if:{{{value|}}}{{{value1|}}}|,&nbsp;}}<span class="reflink plainlinks nourlexpansion">[http://www.chemspider.com/{{{value2}}} {{{value2}}}]</span>{{#if:{{{value2_comment|}}}|&nbsp;{{{value2_comment}}} }}{{#switch:{{{value2_ref|}}}x | {{chemspidercite}}x=&nbsp;<sup>{{tick|7}}</sup> | changedx=&nbsp;<sup>{{cross|7}}</sup> }}}}{{#if:{{{value3|}}}|{{#if:{{{value|}}}{{{value1|}}}{{{value2|}}}|,&nbsp;}}<span class="reflink plainlinks nourlexpansion">[http://www.chemspider.com/{{{value3}}} {{{value3}}}]</span>{{#if:{{{value3_comment|}}}|&nbsp;{{{value3_comment}}} }}{{#switch:{{{value3_ref|}}}x | {{chemspidercite}}x=&nbsp;<sup>{{tick|7}}</sup> | changedx=&nbsp;<sup>{{cross|7}}</sup> }}}}{{#if:{{{value4|}}}|{{#if:{{{value|}}}{{{value1|}}}{{{value2|}}}{{{value3|}}}|,&nbsp;}}<span class="reflink plainlinks nourlexpansion">[http://www.chemspider.com/{{{value4}}} {{{value4}}}]</span>{{#if:{{{value4_comment|}}}|&nbsp;{{{value4_comment}}} }}{{#switch:{{{value4_ref|}}}x | {{chemspidercite}}x=&nbsp;<sup>{{tick|7}}</sup> | changedx=&nbsp;<sup>{{cross|7}}</sup> }}}}{{#if:{{{value5|}}}|{{#if:{{{value|}}}{{{value1|}}}{{{value2|}}}{{{value3|}}}{{{value4|}}}|,&nbsp;}}<span class="reflink plainlinks nourlexpansion">[http://www.chemspider.com/{{{value5}}} {{{value5}}}]</span>{{#if:{{{value5_comment|}}}|&nbsp;{{{value5_comment}}} }}{{#switch:{{{value5_ref|}}}x | {{chemspidercite}}x=&nbsp;<sup>{{tick|7}}</sup> | changedx=&nbsp;<sup>{{cross|7}}</sup> }}}}{{#if:{{{value10|}}}|{{#if:{{{value|}}}|,&nbsp;}}{{{value10}}} }}{{#if:{{{value11|}}}|{{#if:{{{value|}}}{{{value10|}}}|,&nbsp;}}{{{value11}}} }}
+
| {{#if:{{{value|}}}|<span class="reflink plainlinks nourlexpansion">[http://www.chemspider.com/{{{value}}} {{{value}}}]</span>{{#if:{{{value_comment|}}}|&nbsp;{{{value_comment}}} }}{{#switch:{{{value_ref|}}}x | {{chemspidercite}}x=&nbsp;<sup>{{tick|7}}</sup> | changedx=&nbsp;<sup>{{cross|7}}</sup> }}}}{{#if:{{{value1|}}}|{{#if:{{{value|}}}|,}} <span class="reflink plainlinks nourlexpansion">[http://www.chemspider.com/{{{value1}}} {{{value1}}}]</span>{{#if:{{{value1_comment|}}}|&nbsp;{{{value1_comment}}} }}{{#switch:{{{value1_ref|}}}x | {{chemspidercite}}x=&nbsp;<sup>{{tick|7}}</sup> | changedx=&nbsp;<sup>{{cross|7}}</sup> }}}}{{#if:{{{value2|}}}|{{#if:{{{value|}}}{{{value1|}}}|,}} <span class="reflink plainlinks nourlexpansion">[http://www.chemspider.com/{{{value2}}} {{{value2}}}]</span>{{#if:{{{value2_comment|}}}|&nbsp;{{{value2_comment}}} }}{{#switch:{{{value2_ref|}}}x | {{chemspidercite}}x=&nbsp;<sup>{{tick|7}}</sup> | changedx=&nbsp;<sup>{{cross|7}}</sup> }}}}{{#if:{{{value3|}}}|{{#if:{{{value|}}}{{{value1|}}}{{{value2|}}}|,}} <span class="reflink plainlinks nourlexpansion">[http://www.chemspider.com/{{{value3}}} {{{value3}}}]</span>{{#if:{{{value3_comment|}}}|&nbsp;{{{value3_comment}}} }}{{#switch:{{{value3_ref|}}}x | {{chemspidercite}}x=&nbsp;<sup>{{tick|7}}</sup> | changedx=&nbsp;<sup>{{cross|7}}</sup> }}}}{{#if:{{{value4|}}}|{{#if:{{{value|}}}{{{value1|}}}{{{value2|}}}{{{value3|}}}|,}} <span class="reflink plainlinks nourlexpansion">[http://www.chemspider.com/{{{value4}}} {{{value4}}}]</span>{{#if:{{{value4_comment|}}}|&nbsp;{{{value4_comment}}} }}{{#switch:{{{value4_ref|}}}x | {{chemspidercite}}x=&nbsp;<sup>{{tick|7}}</sup> | changedx=&nbsp;<sup>{{cross|7}}</sup> }}}}{{#if:{{{value5|}}}|{{#if:{{{value|}}}{{{value1|}}}{{{value2|}}}{{{value3|}}}{{{value4|}}}|,}} <span class="reflink plainlinks nourlexpansion">[http://www.chemspider.com/{{{value5}}} {{{value5}}}]</span>{{#if:{{{value5_comment|}}}|&nbsp;{{{value5_comment}}} }}{{#switch:{{{value5_ref|}}}x | {{chemspidercite}}x=&nbsp;<sup>{{tick|7}}</sup> | changedx=&nbsp;<sup>{{cross|7}}</sup> }}}}{{#if:{{{value10|}}}|{{#if:{{{value|}}}|,&nbsp;}}{{{value10}}} }}{{#if:{{{value11|}}}|{{#if:{{{value|}}}{{{value10|}}}|,&nbsp;}}{{{value11}}} }}
 
|-</includeonly><noinclude>[[Category:Chembox templates|{{PAGENAME}}]]{{intricate}}</noinclude>
 
|-</includeonly><noinclude>[[Category:Chembox templates|{{PAGENAME}}]]{{intricate}}</noinclude>
[[Category:2Fix]]
 

Latest revision as of 19:37, 7 September 2010