Template:Infobox drug/formatCompTox: Difference between revisions
Jump to navigation
Jump to search
Richardpruen (talk | contribs) m (1 revision imported: Wikipedia article on Nicotine templates needed) |
imported>Firefly (per TPER from DePiep) |
||
Line 3: | Line 3: | ||
|#default={{#if:{{{localValue|}}}{{{useWD|}}}| | |#default={{#if:{{{localValue|}}}{{{useWD|}}}| | ||
{{#if:{{{ix_label|}}}|{{{ix_label|}}}: }}<span title="comptox.epa.gov"><!-- | {{#if:{{{ix_label|}}}|{{{ix_label|}}}: }}<span title="comptox.epa.gov"><!-- | ||
-->{{#if:{{{localValue|}}}|[https://comptox.epa.gov/dashboard/{{{localValue}}} {{{localValue}}}]|<!-- | -->{{#if:{{{localValue|}}}|[https://comptox.epa.gov/dashboard/chemical/details/{{{localValue}}} {{{localValue}}}]|<!-- | ||
-->[https://comptox.epa.gov/dashboard/{{{useWD}}} {{{useWD}}}]{{EditAtWikidata |pid=P3117}} | -->[https://comptox.epa.gov/dashboard/chemical/details/{{{useWD}}} {{{useWD}}}]{{EditAtWikidata |pid=P3117}} | ||
}}</span>}}<!-- | }}</span>}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
--><noinclude>{{documentation}}</noinclude> | --><noinclude>{{documentation}}</noinclude> |
Latest revision as of 11:16, 4 December 2021
This template is used on approximately 9,300 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
| DTXSID = | DTXSID2 =
- Wikidata
- By default:
|DTXSID=
shows the Wikidata property value P3117 (P3117). - When entered
|DTXSID=DTXSID1234567
, that local value will be used. - Setting
|DTXSID=none
will suppress the wikidata value. |DTXSID2=
will show as entered (no Wikidata in there).