Template:Chembox CASNo/format: Difference between revisions
Appearance
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|}}}: }}<span title="commonchemistry.cas.org">[https://commonchemistry.cas.org/detail?cas_rn={{{localValue}}} {{{localValue}}}]</span><!-- |
|#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}}} }}<!-- |
||
-->{{#if:{{{comment|}}} | {{{comment}}}}}<!-- |
-->{{#if:{{{comment|}}} | {{{comment}}}}}<!-- |
||
-->{{{botref|}}}<!-- |
-->{{{botref|}}}<!-- |
Revision as of 21:16, 5 May 2021
This template is used on approximately 14,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Usage
- See also
- {{Cascite}}