• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:Drugs.com/sandbox

  • Template
  • Talk
  • Language
  • Watch
  • Edit
< Template:Drugs.com

This is the template sandbox page for Template:Drugs.com (diff).
Template documentation[view] [edit] [history] [purge]
WarningThis template is used on approximately 3,200 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.
This template is intended for external links. It is not designed for use as a citation template for reliable sources. It should be used in conformance with the external links guideline and with the relevant section of the Manual of Style.

This template provides a simple external link to drug articles in the drugs.com website.

The template is commonly used in {{Infobox drug}} like:

|drugs.com={{Drugs.com|parent|lisinopril}} → lisinopril

Usage

edit

The template takes two parameters. The first is the drug subsection of the Drugs.com website which is selected from the list below. The second parameter is the drug name, most commonly the INN but sometimes a trade name.

  • lisinopril
  • lisinopril
Template:drugs.com options (see also drugs.com/sitemap)
Section
code
Returned link Root link Example drug Template
none; defaults to parent page lisinopril (parent page) https://www.drugs.com/ lisinopril {{Drugs.com|parent|lisinopril}} {{Drugs.com| |lisinopril}}
cdi Consumer Drug Information https://www.drugs.com/cdi/ pravastatin {{Drugs.com|cdi| pravastatin}}
cons Micromedex Detailed Consumer Information https://www.drugs.com/cons/ benzyl benzoate {{Drugs.com|cons| benzyl-benzoate-topical}}
mtm Multum Consumer Information https://www.drugs.com/mtm/ guanadrel {{Drugs.com|mtm| guanadrel}}
pro FDA Professional Drug Information https://www.drugs.com/pro/ edrophonium {{Drugs.com|pro| enlon}}
ppa Professional Drug Facts https://www.drugs.com/ppa/ calci.../betameth... dipro... {{Drugs.com|ppa| calcipotriene-betamethasone-dipropionate}}
drug-class Drug Classes https://www.drugs.com/drug-class/ ACE inhibitor {{Drugs.com|drug-class |angiotensin-converting-enzyme-inhibitors}}
enc Medical Encyclopedia https://www.drugs.com/enc/ vitamin K {{Drugs.com|enc| vitamin-k}}
drug-interactions Drug Interactions https://www.drugs.com/drug-interactions/ ofloxacin {{Drugs.com|drug-interactions| ofloxacin}}
monograph Monograph https://www.drugs.com/monograph/ lisinopril {{Drugs.com|monograph| lisinopril}}
npp MedFacts Natural Products https://www.drugs.com/npp/ vitamin D {{Drugs.com|npp| vitamin-d}}
pregnancy Use During Pregnancy and Breastfeeding https://www.drugs.com/pregnancy/ sofosbuvir {{Drugs.com|pregnancy| sofosbuvir}}
international International Drug Names https://www.drugs.com/international/ sertindole {{Drugs.com|international| sertindole}}
sfx Side Effects https://www.drugs.com/sfx/ paracetamol {{Drugs.com|sfx| paracetamol}}
UK UK Drug Information https://www.drugs.com/uk/ OsvaRen {{Drugs.com|UK| osvaren-435-mg-235-mg-film-coated-tablets-spc-9688}} (!)
vet Veterinary Use https://www.drugs.com/vet/ hetacillin {{Drugs.com|vet| hetacin-k-intramammary-infusion}}
mmx Drugs.com archive https://www.drugs.com/mmx/ etretinate {{Drugs.com|mmx| etretinate}}

TemplateData

edit
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Drugs.com in articles based on its TemplateData.

TemplateData for Drugs.com

Template provides a formatted external link to website Drugs.com

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
webpage type1

Subpage type of Drugs.com

Default
parent
Example
monograph
Stringsuggested
drug name2

drug name that identifies the subpage

Stringoptional

See also

edit
  • {{Infobox drug}} – uses this as input parameter
The above documentation is transcluded from Template:Drugs.com/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Drugs.com/sandbox&oldid=968003975"
Last edited on 16 July 2020, at 16:40

Languages

      This page is not available in other languages.

      Wikipedia
      • Wikimedia Foundation
      • Powered by MediaWiki
      • This page was last edited on 16 July 2020, at 16:40 (UTC).
      • Content is available under CC BY-SA 4.0 unless otherwise noted.
      • Privacy policy
      • About Wikipedia
      • Disclaimers
      • Contact Wikipedia
      • Code of Conduct
      • Developers
      • Statistics
      • Cookie statement
      • Terms of Use
      • Desktop