Misplaced Pages

Template:Infobox drug class: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively← Previous editNext edit →Content deleted Content addedVisualWikitext
Revision as of 16:29, 2 February 2012 editAnypodetos (talk | contribs)Autopatrolled, Extended confirmed users, Pending changes reviewers, Rollbackers39,350 edits Update from sandbox (sort, header for external links, minor fixes)← Previous edit Revision as of 18:16, 2 February 2012 edit undoFrietjes (talk | contribs)Autopatrolled, Extended confirmed users, Template editors1,000,827 editsm wikifyNext edit →
Line 1: Line 1:
{{ infobox {{ infobox
| abovestyle = {{#if:{{{Background|}}}|background-color:{{{Background|}}} }} | abovestyle = {{#if:{{{Background|}}}|background-color:{{{Background|}}} }}
| above = {{{Name|{{PAGENAME}}}}} | above = {{{Name|<includeonly>{{PAGENAME}}</includeonly>}}}
| aboveclass = navbox-title | aboveclass = navbox-title
| subheader = <includeonly>''Drug class''</includeonly> | subheader = <includeonly>''Drug class''</includeonly>
| image = {{#if:{{{Image|}}}|]}} | image = {{#if:{{{Image|}}}|]}}
| caption = {{{Caption|}}} | caption = {{{Caption|}}}


| label1 = Use | label1 = Use
| data1 = {{#if:{{{Use|}}}| {{{Use|}}} | }} | data1 = {{{Use|}}}


| label2 = ] | label2 = ]
| data2 = {{#if:{{{Biological_target|}}}| {{{Biological_target|}}} | }} | data2 = {{{Biological_target|}}}


| label3 = ] | label3 = ]
| data3 = {{#if:{{{ATC_prefix|}}}|] | }} | data3 = {{#if:{{{ATC_prefix|}}}|] }}


| header4 = External links | header4 = {{#if:{{{MeshID|}}}{{{Drugs.com|}}}{{{Consumer_Reports|}}}{{{medicinenet|}}}{{{rxlist|}}}|External links}}


| label5 = ] | label5 = ]
| data5 = {{#if:{{{MeshID|}}}|<span class="reflink plainlinks nourlexpansion"></span> | }} | data5 = {{#if:{{{MeshID|}}}|<span class="reflink plainlinks nourlexpansion"></span>}}


| label6 = ]/] | label6 = ]/]
| data6 = {{#if: {{{Drugs.com|}}} | <span class="reflink plainlinks nourlexpansion"></span> | }} | data6 = {{#if: {{{Drugs.com|}}} | <span class="reflink plainlinks nourlexpansion"></span>}}


| label7 = ] | label7 = ]
| data7 = {{#if:{{{Consumer_Reports|}}}|<span class="reflink plainlinks nourlexpansion"></span> | }} | data7 = {{#if:{{{Consumer_Reports|}}}|<span class="reflink plainlinks nourlexpansion"></span>}}


| label8 = ] | label8 = ]
| data8 = {{#if:({{{medicinenet|}}}{{{rxlist|}}})|{{#if:{{{medicinenet|}}}|<span class="reflink plainlinks nourlexpansion"></span>&nbsp;| }} {{#if:{{{rxlist|}}}|<span class="reflink plainlinks nourlexpansion"> | }} | }} | data8 = {{#if:{{{medicinenet|}}}|<span class="reflink plainlinks nourlexpansion"></span>&nbsp;}} {{#if:{{{rxlist|}}}|<span class="reflink plainlinks nourlexpansion">}}


}}<noinclude> }}<noinclude>

Revision as of 18:16, 2 February 2012

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
]{{{Caption}}}
External links
MeSH> {{{MeshID}}}-->
AHFS/Drugs.comlist of generics
Consumer ReportsBest Buy Drugs
WebMDmedicinenet  rxlist
{{Infobox drug class
| Name                =  <!-- omit to use page name -->
| Image               =
| ImageClass          =
| 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              =  
| rxlist_name         =  
<!-- 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 – RxList articlekey index number
  • rxlist_name – RxList drug_class_name

External links

| MeshID            =

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Infobox drug class in articles based on its TemplateData.

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
rxlist_namerxlist_name

no description

Unknownoptional
MeshIDMeshID

no description

Unknownoptional
WidthWidth

no description

Unknownoptional
The above documentation is transcluded from Template:Infobox drug class/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template. Categories: