Template:Infobox drug/doc: Difference between revisions

No edit summary
No edit summary
 
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|P628|P2566|cat=E number from Wikidata|section=Input from 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,274: Line 1,274:


===Input from Wikidata===
===Input from Wikidata===
{{Uses Wikidata|P628|P2566|P3117}}
{{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.