Difference between revisions of "Template:Drugs.com/doc"

From blackwiki
Jump to navigation Jump to search
imported>Boghog
(added ppa example)
imported>Funandtrvl
(fix code)
Line 1: Line 1:
== Description ==
+
{{Documentation subpage}}
 +
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[</nowiki>[[Wikipedia:Wikidata]]<nowiki>]]) -->
  
 
This template provides a simple link to drug articles contained in the [[Drugs.com]] website.  
 
This template provides a simple link to drug articles contained in the [[Drugs.com]] website.  
  
 
==Usage==
 
==Usage==
 
 
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 [[International Nonproprietary Name|INN]] but sometimes a trade name.
 
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 [[International Nonproprietary Name|INN]] but sometimes a trade name.
  
Line 43: Line 43:
 
|-
 
|-
 
| vet || <nowiki> http://www.drugs.com/vet/ </nowiki> || [[hetacillin]] || <nowiki>{{Drugs.com|vet|hetacin-k-intramammary-infusion}}</nowiki> || {{Drugs.com|vet|hetacin-k-intramammary-infusion}}
 
| vet || <nowiki> http://www.drugs.com/vet/ </nowiki> || [[hetacillin]] || <nowiki>{{Drugs.com|vet|hetacin-k-intramammary-infusion}}</nowiki> || {{Drugs.com|vet|hetacin-k-intramammary-infusion}}
|}
+
|}<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
 
+
<!-- Categories below this line, please; interwikis at Wikidata -->
 
[[Category:Drug templates]]
 
[[Category:Drug templates]]
 +
}}</includeonly>

Revision as of 00:45, 11 December 2015

This template provides a simple link to drug articles contained in the Drugs.com website.

Usage

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.

Examples
Subsection Root link Example drug Template Returned link
parent http://www.drugs.com/ lisinopril {{Drugs.com|parent|lisinopril}} lisinopril
CDI http://www.drugs.com/cdi/ pravastatin {{Drugs.com|CDI|pravastatin}} Consumer Drug Information
CONS http://www.drugs.com/cons/ benzyl benzoate {{Drugs.com|CONS|benzyl-benzoate-topical}} Micromedex Detailed Consumer Information
drug-class http://www.drugs.com/drug-class/ ACE inhibitor {{Drugs.com|drug-class|angiotensin-converting-enzyme-inhibitors}} Drug Classes
drug-interactions http://www.drugs.com/drug-interactions/ ofloxacin {{Drugs.com|drug-interactions|ofloxacin}} Drug Interactions
enc http://www.drugs.com/enc/ vitamin K {{Drugs.com|enc|vitamin-k}} Medical Encyclopedia
international http://www.drugs.com/international/ sertindole {{Drugs.com|international|sertindole}} International Drug Names
monograph http://www.drugs.com/monograph/ lisinopril {{Drugs.com|monograph|lisinopril}} Monograph
MTM http://www.drugs.com/mtm/ guanadrel {{Drugs.com|MTM|guanadrel}} Multum Consumer Information
npp http://www.drugs.com/npp/ vitamin D {{Drugs.com|npp|vitamin-d}} MedFacts Natural Products
Professional Drug Facts http://www.drugs.com/ppa/ calcipotriene/betamethasone dipropionate {{Drugs.com|ppa|calcipotriene-betamethasone-dipropionate}} Professional Drug Facts
pregnancy http://www.drugs.com/pregnancy/ sofosbuvir {{Drugs.com|pregnancy|sofosbuvir}} Use During Pregnancy and Breastfeeding
pro http://www.drugs.com/pro/ edrophonium {{Drugs.com|pro|enlon}} FDA Professional Drug Information
sfx http://www.drugs.com/sfx/ paracetamol {{Drugs.com|sfx|paracetamol-side-effects}} Side Effects
UK http://www.drugs.com/uk/ OsvaRen {{Drugs.com|UK|osvaren-435-mg-235-mg-film-coated-tablets-spc-9688}} UK Drug Information
vet http://www.drugs.com/vet/ hetacillin {{Drugs.com|vet|hetacin-k-intramammary-infusion}} Veterinary Use