Difference between revisions of "Template:Chembox ChemSpiderID"
From Self-sufficiency
m (1 revision) |
(testing solution) |
||
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|}}}| {{{value_comment}}} }}{{#switch:{{{value_ref|}}}x | {{chemspidercite}}x= <sup>{{tick|7}}</sup> | changedx= <sup>{{cross|7}}</sup> }}}}{{#if:{{{value1|}}}|{{#if:{{{value|}}}|, | + | | {{#if:{{{value|}}}|<span class="reflink plainlinks nourlexpansion">[http://www.chemspider.com/{{{value}}} {{{value}}}]</span>{{#if:{{{value_comment|}}}| {{{value_comment}}} }}{{#switch:{{{value_ref|}}}x | {{chemspidercite}}x= <sup>{{tick|7}}</sup> | changedx= <sup>{{cross|7}}</sup> }}}}{{#if:{{{value1|}}}|{{#if:{{{value|}}}|,}} <span class="reflink plainlinks nourlexpansion">[http://www.chemspider.com/{{{value1}}} {{{value1}}}]</span>{{#if:{{{value1_comment|}}}| {{{value1_comment}}} }}{{#switch:{{{value1_ref|}}}x | {{chemspidercite}}x= <sup>{{tick|7}}</sup> | changedx= <sup>{{cross|7}}</sup> }}}}{{#if:{{{value2|}}}|{{#if:{{{value|}}}{{{value1|}}}|,}} <span class="reflink plainlinks nourlexpansion">[http://www.chemspider.com/{{{value2}}} {{{value2}}}]</span>{{#if:{{{value2_comment|}}}| {{{value2_comment}}} }}{{#switch:{{{value2_ref|}}}x | {{chemspidercite}}x= <sup>{{tick|7}}</sup> | changedx= <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|}}}| {{{value3_comment}}} }}{{#switch:{{{value3_ref|}}}x | {{chemspidercite}}x= <sup>{{tick|7}}</sup> | changedx= <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|}}}| {{{value4_comment}}} }}{{#switch:{{{value4_ref|}}}x | {{chemspidercite}}x= <sup>{{tick|7}}</sup> | changedx= <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|}}}| {{{value5_comment}}} }}{{#switch:{{{value5_ref|}}}x | {{chemspidercite}}x= <sup>{{tick|7}}</sup> | changedx= <sup>{{cross|7}}</sup> }}}}{{#if:{{{value10|}}}|{{#if:{{{value|}}}|, }}{{{value10}}} }}{{#if:{{{value11|}}}|{{#if:{{{value|}}}{{{value10|}}}|, }}{{{value11}}} }} |
|-</includeonly><noinclude>[[Category:Chembox templates|{{PAGENAME}}]]{{intricate}}</noinclude> | |-</includeonly><noinclude>[[Category:Chembox templates|{{PAGENAME}}]]{{intricate}}</noinclude> | ||
− |
Latest revision as of 19:37, 7 September 2010
40x40px | This template employs intricate features of template syntax. You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. Remember that you can conduct experiments, and should test all improvements, in either the general Template sandbox or your user space before changing anything here. |