Template:Chembox CASNo/format: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
m not part of the URL
not creating a link to Common Chemistry if the CAS RN in the WD item does not have a reference (or if there is no CAS RN in the WD item at all); the link is unfortunately still created if the WD reference is NOT Common Chemistry
Tag: Reverted
Line 2: Line 2:
|=
|=
|none|None={{#if:{{{ix_label|}}}|{{{ix_label|}}}: }}{{{localValue|}}}
|none|None={{#if:{{{ix_label|}}}|{{{ix_label|}}}: }}{{{localValue|}}}
|#default={{#if:{{{ix_label|}}}|{{{ix_label|}}}:&#x20;}}<span title="commonchemistry.cas.org">[https://commonchemistry.cas.org/detail?cas_rn={{{localValue}}} {{{localValue}}}]</span><!--
|#default={{#if:{{{ix_label|}}}|{{{ix_label|}}}:&#x20;}}{{#if: {{wd|property|sourced| |P231}} | <span title="commonchemistry.cas.org">[https://commonchemistry.cas.org/detail?cas_rn={{{localValue}}} {{{localValue}}}]</span> | {{{localValue}}} }}<!--
-->{{#if:{{{comment|}}} |&#x20;{{{comment}}}}}<!--
-->{{#if:{{{comment|}}} |&#x20;{{{comment}}}}}<!--
-->{{{botref|}}}<!--
-->{{{botref|}}}<!--

Revision as of 21:16, 5 May 2021