Difference between revisions of "Template:Chembox CASNo/format/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>DePiep
imported>DePiep
(rm category for 'none')
 
Line 1: Line 1:
 
{{#switch:{{{localValue|}}}
 
{{#switch:{{{localValue|}}}
 
|=
 
|=
|none|None={{#if:{{{ix_label|}}}|{{{ix_label|}}}:&#x20;}}{{{localValue|}}}{{#ifeq:{{{index|0}}}|0|<!--TEST COLON MAIN OTHER!-->[[:Category:Chemicals that do not have a CAS registry number assigned]]|<!--TEST COLON-->[[:Category:Chemicals (indexed) that do not have a CAS registry number assigned]]}}
+
|none|None={{#if:{{{ix_label|}}}|{{{ix_label|}}}:&#x20;}}{{{localValue|}}}
 
|#default={{#if:{{{ix_label|}}}|{{{ix_label|}}}:&#x20;}}<span title="www.commonchemistry.org">[http://www.commonchemistry.org/ChemicalDetail.aspx?ref={{{localValue}}} {{{localValue}}}]</span><!--
 
|#default={{#if:{{{ix_label|}}}|{{{ix_label|}}}:&#x20;}}<span title="www.commonchemistry.org">[http://www.commonchemistry.org/ChemicalDetail.aspx?ref={{{localValue}}} {{{localValue}}}]</span><!--
 
-->{{#if:{{{comment|}}} |&#x20;{{{comment}}}}}<!--
 
-->{{#if:{{{comment|}}} |&#x20;{{{comment}}}}}<!--

Latest revision as of 14:49, 5 March 2017