Template:Infobox drug/doc: Difference between revisions
imported>Fire No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | ||
{{Template shortcut|Drugbox}} | {{Template shortcut|Drugbox}} | ||
{{Tracks Wikidata| | {{Tracks Wikidata|P810|P809|cat=E number from Wikidata|section=Input from Wikidata}} | ||
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Wikidata|Module:String|Module:TemplatePar|Module:ParameterCount}} | {{Lua|Module:Infobox|Module:InfoboxImage|Module:Wikidata|Module:String|Module:TemplatePar|Module:ParameterCount}} | ||
Line 1,015: | Line 1,015: | ||
{{Para|DTXSID}} is the identifier for the [[CompTox Chemicals Dashboard]] (by [[EPA]]). For example: {{para|DTXSID|DTXSID5020108}} for [https://comptox.epa.gov/dashboard/dsstoxdb/results?search=DTXSID5020108 aspirin]. | {{Para|DTXSID}} is the identifier for the [[CompTox Chemicals Dashboard]] (by [[EPA]]). For example: {{para|DTXSID|DTXSID5020108}} for [https://comptox.epa.gov/dashboard/dsstoxdb/results?search=DTXSID5020108 aspirin]. | ||
By default, the value is read from Wikidata {{property| | By default, the value is read from Wikidata {{property|P806}}. This can be overwritten by entering a value for {{Para|DTXSID}}. Setting {{Para|DTXSID|none}} suppresses the Wikidata value (no show). | ||
====Second identifier (like: <code>CAS_number2</code>)==== | ====Second identifier (like: <code>CAS_number2</code>)==== | ||
Line 1,274: | Line 1,274: | ||
===Input from Wikidata=== | ===Input from Wikidata=== | ||
{{Uses Wikidata| | {{Uses Wikidata|P810|P809|P806}} | ||
The template reads and shows the '''[[E number]]''', '''[[ECHA InfoCard|ECHA InfoCard ID]]''' and '''[[CompTox Chemicals Dashboard|Comptox DTXSID ID]]''' from Wikidata. If there is no value present, no data is shown. | The template reads and shows the '''[[E number]]''', '''[[ECHA InfoCard|ECHA InfoCard ID]]''' and '''[[CompTox Chemicals Dashboard|Comptox DTXSID ID]]''' from Wikidata. If there is no value present, no data is shown. |