Difference between revisions of "Template:Infobox drug class"

From blackwiki
Jump to navigation Jump to search
imported>Doc James
imported>Frietjes
Line 9: Line 9:
 
| header1 = {{#if:{{{Use|}}}{{{ATC_prefix|}}}{{{Biological_target|}}}{{{Target_mechanism|}}}{{{Chemical_class|}}}|Class identifiers}}
 
| header1 = {{#if:{{{Use|}}}{{{ATC_prefix|}}}{{{Biological_target|}}}{{{Target_mechanism|}}}{{{Chemical_class|}}}|Class identifiers}}
  
| label1 = Pronunciation
+
| label2 = Pronunciation
data1 = {{#if:{{{pronounce|{{{Pronounce|{{{Pronunciation|{{{pronunciation|}}}}}}}}}}}}{{{pronounce comment|}}} |{{{pronounce|{{{Pronounce|{{{Pronunciation|{{{pronunciation|}}}}}}}}}}}}{{{pronounce ref|}}}&#x20;{{{pronounce comment|}}} }}<!--
+
data2 = {{#if:{{{pronounce|{{{Pronounce|{{{Pronunciation|{{{pronunciation|}}}}}}}}}}}}{{{pronounce comment|}}} |{{{pronounce|{{{Pronounce|{{{Pronunciation|{{{pronunciation|}}}}}}}}}}}}{{{pronounce ref|}}}&#x20;{{{pronounce comment|}}} }}<!--
 
         -->{{#if:{{{pronounce 2|}}} |<br/>{{{pronounce 2|}}} }}
 
         -->{{#if:{{{pronounce 2|}}} |<br/>{{{pronounce 2|}}} }}
  
| label2 = [[Synonym]]s
+
| label3 = [[Synonym]]s
data2 = {{{Synonym|{{{synonym|{{{Synonyms|{{{synonyms|}}}}}}}}}}}}
+
data3 = {{{Synonym|{{{synonym|{{{Synonyms|{{{synonyms|}}}}}}}}}}}}
  
| label3 = Use
+
| label4 = Use
| data3 = {{{Use|}}}
+
| data4 = {{{Use|}}}
  
| label4 = [[Anatomical Therapeutic Chemical Classification System|ATC code]]
+
| label5 = [[Anatomical Therapeutic Chemical Classification System|ATC code]]
| data4 = {{#if:{{{ATC_prefix|}}}|[[ATC_code_{{{ATC_prefix}}}|{{{ATC_prefix}}}]] }}
+
| data5 = {{#if:{{{ATC_prefix|}}}|[[ATC_code_{{{ATC_prefix}}}|{{{ATC_prefix}}}]] }}
  
| label5 = [[Mode of action]]
+
| label6 = [[Mode of action]]
| data5 = {{{Mode_of_action|}}}
+
| data6 = {{{Mode_of_action|}}}
  
| label6 = [[Mechanism of action]]
+
| label7 = [[Mechanism of action]]
| data6 = {{{Mechanism_of_action|}}}
+
| data7 = {{{Mechanism_of_action|}}}
  
| label7 = [[Biological target]]
+
| label8 = [[Biological target]]
| data7 = {{{Biological_target|}}}
+
| data8 = {{{Biological_target|}}}
  
| label8 =  [[Chemical classification|Chemical class]]  
+
| label9 =  [[Chemical classification|Chemical class]]  
| data8 = {{{Chemical_class|}}}
+
| data9 = {{{Chemical_class|}}}
  
| header9 = {{#if:{{{Drugs.com|}}}{{{Consumer_Reports|}}}{{{medicinenet|}}}{{{rxlist|}}}|Clinical data}}
+
| header10 = {{#if:{{{Drugs.com|}}}{{{Consumer_Reports|}}}{{{medicinenet|}}}{{{rxlist|}}}|Clinical data}}
  
| label10 = [[Drugs.com]]
+
| label11 = [[Drugs.com]]
| data10 = {{{Drugs.com|}}}
+
| data11 = {{{Drugs.com|}}}
  
| label11 = [[Consumer Reports]]
+
| label12 = [[Consumer Reports]]
| data11 = {{#if:{{{Consumer_Reports|}}}|<span class="reflink plainlinks nourlexpansion">[http://www.consumerreports.org/health/best-buy-drugs/{{{Consumer_Reports}}}.htm Best Buy Drugs]</span>}}
+
| data12 = {{#if:{{{Consumer_Reports|}}}|<span class="reflink plainlinks nourlexpansion">[http://www.consumerreports.org/health/best-buy-drugs/{{{Consumer_Reports}}}.htm Best Buy Drugs]</span>}}
  
| label12 = [[WebMD]]
+
| label13 = [[WebMD]]
| data12 = {{#if:{{{medicinenet|}}}|<span class="reflink plainlinks nourlexpansion">[http://www.medicinenet.com/{{{medicinenet}}}/article.htm MedicineNet]</span>&nbsp;}}  {{#if:{{{rxlist|}}}|<span class="reflink plainlinks nourlexpansion">[http://www.rxlist.com/script/main/art.asp?articlekey={{{rxlist}}} RxList]}}
+
| data13 = {{#if:{{{medicinenet|}}}|<span class="reflink plainlinks nourlexpansion">[http://www.medicinenet.com/{{{medicinenet}}}/article.htm MedicineNet]</span>&nbsp;}}  {{#if:{{{rxlist|}}}|<span class="reflink plainlinks nourlexpansion">[http://www.rxlist.com/script/main/art.asp?articlekey={{{rxlist}}} RxList]}}
  
| header13 = {{#if:{{{MeshID|}}}|External links}}
+
| header14 = {{#if:{{{MeshID|}}}|External links}}
  
| label14 = [[Medical Subject Headings|MeSH]]
+
| label15 = [[Medical Subject Headings|MeSH]]
| data14 = {{#if:{{{MeshID|}}}|<span class="reflink plainlinks nourlexpansion">[http://www.nlm.nih.gov/cgi/mesh/{{{MeshYear|2011}}}/MB_cgi?field=uid&term={{{MeshID|}}} {{{MeshID}}}]</span>}}
+
| data15 = {{#if:{{{MeshID|}}}|<span class="reflink plainlinks nourlexpansion">[http://www.nlm.nih.gov/cgi/mesh/{{{MeshYear|2011}}}/MB_cgi?field=uid&term={{{MeshID|}}} {{{MeshID}}}]</span>}}
  
 
}}<!--
 
}}<!--
  
 
--><noinclude>{{Documentation}}</noinclude>
 
--><noinclude>{{Documentation}}</noinclude>

Revision as of 14:59, 28 October 2016

[[Category:Infobox templates|Template:Remove first word]]

Template documentation[view] [edit] [history] [purge]

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}}}
Pronunciation{{{Pronounce}}}
Synonyms{{{Synonyms}}} -->
Clinical data
Drugs.com{{{Drugs.com}}}
Consumer ReportsBest Buy Drugs
WebMDMedicineNet  RxList
External links
MeSH> {{{MeshID}}}-->
[[Category:Infobox templates|Template:Remove first word]]
{{Infobox drug class
| Name                =  <!-- omit to use page name -->
| Image               =
| Alt                 = 
| Caption             = 
| Pronounce           = 
| Synonyms            = 
<!-- Class identifiers -->
| Use                 = 
| ATC_prefix          = 
| Mode_of_action      = 
| Mechanism_of_action = 
| Biological_target   = 
| Chemical_class      = 
<!-- Clinical data -->
| Drugs.com           = <!-- {{Drugs.com|drug-class|?}} -->
| Consumer_Reports    = 
| medicinenet         = 
| rxlist              =  
<!-- External links -->
| MeshID              = 
}}

Parameter explanations

Name

This field lists the full name of the drug class, ideally from a nomenclature authority like ATC.

Image

This field specifies an image file that displays the chemical structure of a representative example (e.g., the first-in-class) drug from this class.

Use

| Use                 = 
| ATC_prefix          = 
| Mode_of_action      = 
| Mechanism_of_action = 
| Biological_target   = 
| Chemical_class      = 

Clinical data

| Drugs.com         = <!-- {{Drugs.com|drug-class|?}} -->
| Consumer_Reports  = 
| medicinenet       = 
| rxlist            =
  • Drugs.com – link to Drugs.com drug class
  • MedlinePlus – MedlinePlus drug accession number
  • medicinenet
  • rxlist

External links

| MeshID            =

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Infobox drug class

No description.

Template parameters

ParameterDescriptionTypeStatus
NameName

no description

Unknownoptional
ImageImage

no description

Unknownoptional
AltAlt

no description

Unknownoptional
CaptionCaption

no description

Unknownoptional
PronouncePronounce

no description

Unknownoptional
SynonymsSynonyms

no description

Unknownoptional
UseUse

no description

Unknownoptional
ATC_prefixATC_prefix

no description

Unknownoptional
Mode_of_actionMode_of_action

no description

Unknownoptional
Mechanism_of_actionMechanism_of_action

no description

Unknownoptional
Biological_targetBiological_target

no description

Unknownoptional
Chemical_classChemical_class

no description

Unknownoptional
Drugs.comDrugs.com

no description

Unknownoptional
Consumer_ReportsConsumer_Reports

no description

Unknownoptional
Medicinenetmedicinenet

no description

Unknownoptional
Rxlistrxlist

no description

Unknownoptional
MeshIDMeshID

no description

Unknownoptional
WidthWidth

no description

Unknownoptional