:Template:Chembox CASNo/format

{{#switch:{{{localValue|}}}

|=

|none|None={{#if:{{{ix_label|}}}|{{{ix_label|}}}: }}{{{localValue|}}}

|#default={{#if:{{{ix_label|}}}|{{{ix_label|}}}: }}[https://commonchemistry.cas.org/detail?cas_rn={{{localValue}}} {{{localValue}}}]{{#if:{{{comment|}}} | {{{comment}}}}}{{{botref|}}}}}{{documentation}}