Difference between revisions of "Template:Infobox drug/licence/doc"

From blackwiki
Jump to navigation Jump to search
imported>DePiep
imported>DePiep
 
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]]) -->
 
:Note: whether the infobox ''shows'' "LicenSe" or "LicenCe" is set by {{para|engvar}}. Default is en-US ("LicenSe"), alternative is {{para|engvar|en-UK}}. It should follow the article style, per [[WP:ENGVAR]].
 
:Note: whether the infobox ''shows'' "LicenSe" or "LicenCe" is set by {{para|engvar}}. Default is en-US ("LicenSe"), alternative is {{para|engvar|en-UK}}. It should follow the article style, per [[WP:ENGVAR]].
 
+
:{{sandbox other|Testcases are at [[Template:Infobox drug/testcases3#licence|/testcases3]]}}
 
== Usage ==
 
== Usage ==
 
<pre>
 
<pre>

Latest revision as of 15:59, 10 March 2019

Note: whether the infobox shows "LicenSe" or "LicenCe" is set by |engvar=. Default is en-US ("LicenSe"), alternative is |engvar=en-UK. It should follow the article style, per WP:ENGVAR.
Testcases are at /testcases3

Usage

| licence_CA =
| licence_EU =
| INN_EMA    = 
| DailyMedID =
| licence_US =
demo
INN: Sildenafil
Clinical data
License data
Identifiers
E number{{#property:P628}}
CompTox Dashboard (EPA)
ECHA InfoCard{{#property:P2566}}Script error: No such module "EditAtWikidata".
{{Infobox drug
| drug_name = demo
| INN       = Sildenafil
| licence_CA = Viagra
| licence_EU = yes
| INN_EMA    = Sildenafil
| DailyMedID =
| licence_US = Viagra
}}
demo
INN: Sildenafil
Clinical data
License data
Identifiers
E number{{#property:P628}}
CompTox Dashboard (EPA)
ECHA InfoCard{{#property:P2566}}Script error: No such module "EditAtWikidata".
{{Infobox drug
| drug_name = demo
| INN       = Sildenafil
| licence_EU = Viagra
| DailyMedID =
| licence_US = Viagra
}}
demo
INN: Sildenafil
Clinical data
License data
Identifiers
E number{{#property:P628}}
CompTox Dashboard (EPA)
ECHA InfoCard{{#property:P2566}}Script error: No such module "EditAtWikidata".
{{Infobox drug
| drug_name = demo
| INN       = Sildenafil
| licence_EU = Viagra
| DailyMedID = Viagra
}}
demo
INN: Sildenafil
Clinical data
License data
Identifiers
E number{{#property:P628}}
CompTox Dashboard (EPA)
ECHA InfoCard{{#property:P2566}}Script error: No such module "EditAtWikidata".
{{Infobox drug
| drug_name = demo
| INN       = Sildenafil
| licence_CA = Viagra
| licence_EU = Viagra
| DailyMedID = Viagra
| license_US = Viagra
}}

licence_EU (EMA)

Drugs that have an EU licence (provided by EMA) should have a link to the EMA site. EMA licences are by INN. The list if EMA licences (INNs) per June 2017 is here (623 INNs). he link is added by setting |licence_EU=yes. The infobox will then show an external link to the EMA licence page (EPAR publications).

In some cases, the INN used by EMA is different from the article's INN. In those cases, use |INN_EMA= to give the name that should be linked to on the EMA site.

As said, EMA licences are given for an INN. When |licence_EU=yes is set, the infobox uses as INN (in this order of priority): |INN_EMA=, |INN=, |drug_name=, <PAGENAME>.

Drugs with the EMA-link are listed in Category:Drug has EMA link‎ (0)