Template:Infobox drug/formatCASnumber: Difference between revisions
Appearance
Content deleted Content added
per edit request on talk page - update external link |
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 |
||
Line 3: | Line 3: | ||
|none|None={{#if:{{{ix_label|}}}|{{{ix_label|}}}: }}{{{localValue|}}}{{main other|1={{#ifeq:{{{index|0}}}|0|[[Category:Chemicals that do not have a CAS registry number assigned]] |
|none|None={{#if:{{{ix_label|}}}|{{{ix_label|}}}: }}{{{localValue|}}}{{main other|1={{#ifeq:{{{index|0}}}|0|[[Category:Chemicals that do not have a CAS registry number assigned]] |
||
|[[Category:Chemicals (indexed) that do not have a CAS registry number assigned]]}}}} |
|[[Category:Chemicals (indexed) that do not have a CAS registry number assigned]]}}}} |
||
|#default={{#if:{{{ix_label|}}} |{{{ix_label|}}}: }}<span title=" |
|#default={{#if:{{{ix_label|}}} |{{{ix_label|}}}: }}{{#if: {{wd|property|sourced| |P231}} | <span title="commonchemistry.cas.org">[https://commonchemistry.cas.org/detail?cas_rn={{{localValue}}} {{{localValue}}}]</span> | {{{localValue}}} }}{{{botref|}}} {{{comment|}}}<!-- |
||
-->}}<!-- |
-->}}<!-- |
||