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

From blackwiki
Jump to navigation Jump to search
imported>Boghog
(→‎Usage: structured data)
imported>Boghog
(documented new Mechanism_of_action, Mode_of_action, and Chemical_class parameters)
Line 14: Line 14:
 
| Alt              = {{{Alt}}}
 
| Alt              = {{{Alt}}}
 
| Caption          = {{{Caption}}}
 
| Caption          = {{{Caption}}}
 +
<!-- Class identifiers -->
 
| Use              = {{{Use}}}
 
| Use              = {{{Use}}}
<!-- Identifiers -->
+
| ATC_prefix        = {{{ATC_prefix}}}
 
| Biological_target = {{{Biological_target}}}
 
| Biological_target = {{{Biological_target}}}
| ATC_prefix        = {{{ATC_prefix}}}
+
| Mechanism_of_action = {{{Mechanism_of_action}}}
| MeshID            = {{{MeshID}}}
+
| Mode_of_action = {{{Mode_of_action}}}
 +
| Chemical_class = {{{Chemical_class}}}
 
<!-- Clinical data -->
 
<!-- Clinical data -->
 
| Drugs.com        = {{{Drugs.com}}}
 
| Drugs.com        = {{{Drugs.com}}}
Line 24: Line 26:
 
| medicinenet      = {{{medicinenet}}}
 
| medicinenet      = {{{medicinenet}}}
 
| rxlist            = {{{rxlist}}}
 
| rxlist            = {{{rxlist}}}
 +
<!-- External links -->
 +
| MeshID            = {{{MeshID}}}
 
}}
 
}}
  
 
<pre style="overflow: auto">
 
<pre style="overflow: auto">
 
{{Infobox drug class
 
{{Infobox drug class
| Name              = <!-- omit to use page name -->
+
| Name              = <!-- omit to use page name -->
| Image            =  
+
| Image            =
 
| Alt              =  
 
| Alt              =  
 
| Caption          =  
 
| Caption          =  
 +
<!-- Class identifiers -->
 
| Use              =  
 
| Use              =  
<!-- Identifiers -->
+
| ATC_prefix        =
 
| Biological_target =  
 
| Biological_target =  
| ATC_prefix        =  
+
| Mechanism_of_action =  
| MeshID            =  
+
| Mode_of_action =
 +
| Chemical_class =  
 
<!-- Clinical data -->
 
<!-- Clinical data -->
 
| Drugs.com        = <!-- {{Drugs.com|drug-class|?}} -->
 
| Drugs.com        = <!-- {{Drugs.com|drug-class|?}} -->
 
| Consumer_Reports  =  
 
| Consumer_Reports  =  
 
| medicinenet      =  
 
| medicinenet      =  
| rxlist            =  
+
| rxlist           = 
 +
<!-- External links -->
 +
| MeshID           =  
 
}}
 
}}
 
</pre>
 
</pre>

Revision as of 11:35, 6 November 2015

Use this template freely for any drug class article.

Usage

The template does not at the current time include summary information about the drug class itself. Instead, it contains a consistent interface to other sources that provide information about the drug class. Don't worry about trying to fill in all the fields – even if you can only get one or two, that still can be useful.

While editing an article about a drug class, copy and paste the following text at the top of the page:

{{{Name}}}
Drug class
[[File:{{{Image}}}|frameless|alt={{{Alt}}}|upright=1.25|{{{Alt}}}]]
{{{Caption}}}
Class identifiers
Use{{{Use}}}
ATC code[[ATC_code_{{{ATC_prefix}}}|{{{ATC_prefix}}}]]
Mode of action{{{Mode_of_action}}}
Mechanism of action{{{Mechanism_of_action}}}
Biological target{{{Biological_target}}}
Chemical class{{{Chemical_class}}}
Clinical data
Drugs.com{{{Drugs.com}}}
Consumer ReportsBest Buy Drugs
WebMDMedicineNet  RxList
External links
MeSH{{{MeshID}}}
[[d:Template:Wikidata |In Wikidata]]
{{Infobox drug class
| Name              =  <!-- omit to use page name -->
| Image             =
| Alt               = 
| Caption           = 
<!-- Class identifiers -->
| Use               = 
| ATC_prefix        = 
| Biological_target = 
| Mechanism_of_action = 
| Mode_of_action = 
| Chemical_class = 
<!-- Clinical data -->
| Drugs.com         = <!-- {{Drugs.com|drug-class|?}} -->
| Consumer_Reports  = 
| medicinenet       = 
| rxlist            =  
<!-- External links -->
| MeshID            = 
}}