Difference between revisions of "Template:Infobox drug class"
imported>DePiep |
imported>Uzume |
||
| (3 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
{{infobox | {{infobox | ||
| − | | abovestyle = background-color:{{#if:{{{Background|}}}|{{{Background|}}} |#ddbbee }} | + | | abovestyle = background-color: {{#if:{{{Background|}}}|{{{Background|}}} |#ddbbee }} |
| above = {{#if:{{{Name|}}} |{{{Name|}}} |{{PAGENAME}}}} | | above = {{#if:{{{Name|}}} |{{{Name|}}} |{{PAGENAME}}}} | ||
| Line 7: | Line 7: | ||
| caption = {{{Caption|}}} | | caption = {{{Caption|}}} | ||
| − | | headerstyle = background:#e8e8e8; | + | | headerstyle = background: #e8e8e8; |
| 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}} | ||
| Line 44: | Line 44: | ||
| label13 = [[WebMD]] | | label13 = [[WebMD]] | ||
| − | | data13 = {{#if:{{{medicinenet|}}}|<span class="reflink plainlinks nourlexpansion">[http://www.medicinenet.com/{{{medicinenet}}}/article.htm MedicineNet]</span> }} {{#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> }} {{#if:{{{rxlist|}}}|<span class="reflink plainlinks nourlexpansion">[http://www.rxlist.com/script/main/art.asp?articlekey={{{rxlist}}} RxList]</span>}} |
| header14 = {{#if:{{{MeshID|}}}|External links}} | | header14 = {{#if:{{{MeshID|}}}|External links}} | ||
| label15 = [[Medical Subject Headings|MeSH]] | | label15 = [[Medical Subject Headings|MeSH]] | ||
| − | | data15 = {{#if:{{{MeshID|}}}|<span class="reflink plainlinks nourlexpansion">[ | + | | data15 = {{#if:{{{MeshID|}}}|<span class="reflink plainlinks nourlexpansion">[https://www.nlm.nih.gov/cgi/mesh/{{{MeshYear|2011}}}/MB_cgi?field=uid&term={{{MeshID|}}} {{{MeshID}}}]</span>}} |
| + | |belowstyle = background: #e8e8e8; text-align: center | ||
| + | |below = {{#if:{{wikidata|label|raw}} |[[d:{{wikidata|label|raw}} |In Wikidata]]}} | ||
}}<!-- | }}<!-- | ||
--><noinclude>{{Documentation}}</noinclude> | --><noinclude>{{Documentation}}</noinclude> | ||
Latest revision as of 00:46, 27 January 2021
| Infobox drug class | |
|---|---|
| Drug class | |
| [[d:Template:Wikidata |In Wikidata]] |
[[Category:Infobox templates|Template:Remove first word]]
Use this template freely for any drug class article.
Contents
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 Reports | Best Buy Drugs |
| WebMD | MedicineNet RxList |
| External links | |
| MeSH | > {{{MeshID}}}--> |
| [[d:Template:Wikidata |In Wikidata]] | |
{{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 =
- ATC_prefix If available, the ATC code prefix should be added to the drug class box.
- Mode_of_action The cellular mode of action.
- Mechanism_of_action If known, The molecular mechanism of action of the drug class. For example, a receptor agonist, antagonist, inverse agonist, or modulator; enzyme activator or inhibitor; or ion channel opener or blocker.
- Biological_target If known, the biological target of the drug class.
- Chemical_class If appropriate (the class is defined by a specific type of chemical structure) this should be specified in this parameter.
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
TemplateData for Infobox drug class
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | Name | no description | Unknown | optional |
| Image | Image | no description | Unknown | optional |
| Alt | Alt | no description | Unknown | optional |
| Caption | Caption | no description | Unknown | optional |
| Pronounce | Pronounce | no description | Unknown | optional |
| Synonyms | Synonyms | no description | Unknown | optional |
| Use | Use | no description | Unknown | optional |
| ATC_prefix | ATC_prefix | no description | Unknown | optional |
| Mode_of_action | Mode_of_action | no description | Unknown | optional |
| Mechanism_of_action | Mechanism_of_action | no description | Unknown | optional |
| Biological_target | Biological_target | no description | Unknown | optional |
| Chemical_class | Chemical_class | no description | Unknown | optional |
| Drugs.com | Drugs.com | no description | Unknown | optional |
| Consumer_Reports | Consumer_Reports | no description | Unknown | optional |
| Medicinenet | medicinenet | no description | Unknown | optional |
| Rxlist | rxlist | no description | Unknown | optional |
| MeshID | MeshID | no description | Unknown | optional |
| Width | Width | no description | Unknown | optional |
| 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. Please add categories to the /doc subpage. Subpages of this template. |