Difference between revisions of "Template:Drugs.com/doc"
Jump to navigation
Jump to search
imported>DePiep |
imported>DePiep (→Usage) |
||
| Line 9: | Line 9: | ||
==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. | ||
| + | |||
| + | * {{Drugs.com|parent| lisinopril}} | ||
| + | * {{Drugs.com|| lisinopril}} | ||
;Examples: | ;Examples: | ||
| Line 19: | Line 22: | ||
|- | |- | ||
| − | | {{sort | 1= | 2 = ''none''}} || {{Drugs.com|parent|lisinopril}} ''(parent page)''|| [https://www.drugs.com/<nowiki>https://www.drugs.com/</nowiki>] || [[lisinopril]] || <nowiki>{{Drugs.com|parent| lisinopril}}</nowiki> | + | | {{sort | 1= | 2 = ''none; defaults to parent page''}} || {{Drugs.com|parent|lisinopril}} ''(parent page)''|| [https://www.drugs.com/<nowiki>https://www.drugs.com/</nowiki>] || [[lisinopril]] || <nowiki>{{Drugs.com|parent|lisinopril}} {{Drugs.com| |lisinopril}}</nowiki> |
|- | |- | ||
Revision as of 16:42, 20 March 2017
| This is a documentation subpage for Template:Drugs.com. It contains usage information, categories and other content that is not part of the original template page. |
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}}
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
TemplateData
Syntax error in JSON.
See also
- {{Infobox drug}} -- uses this as input parameter
- Category:Template:drugs.com link with non-standard subpage -- standard input being: parent, monograph