Template:Infobox drug class: Difference between revisions
sync with sandobx |
adding ImageClass parameter to enable adding filters to Image |
||
(37 intermediate revisions by 15 users not shown) | |||
Line 1: | Line 1: | ||
{{ |
{{infobox |
||
| abovestyle = background-color: {{{Background| |
| abovestyle = background-color: {{#if:{{{Background|}}}|{{{Background|}}} |#ddbbee }} |
||
| above = {{{Name| |
| above = {{#if:{{{Name|}}} |{{{Name|}}} |{{PAGENAME}}}} |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
| headerstyle = background: #e8e8e8; |
|||
⚫ | |||
| header1 = {{#if:{{{Use|}}}{{{ATC_prefix|}}}{{{Biological_target|}}}{{{Target_mechanism|}}}{{{Chemical_class|}}}|Class identifiers}} |
|||
⚫ | |||
| label2 = Pronunciation |
|||
| label3 = [[American Society of Health-System Pharmacists|AHFS]]/[[Drugs.com]] |
|||
| data2 = {{#if:{{{pronounce|{{{Pronounce|{{{Pronunciation|{{{pronunciation|}}}}}}}}}}}}{{{pronounce comment|}}} |{{{pronounce|{{{Pronounce|{{{Pronunciation|{{{pronunciation|}}}}}}}}}}}}{{{pronounce ref|}}} {{{pronounce comment|}}} }}<!-- |
|||
⚫ | |||
-->{{#if:{{{pronounce 2|}}} |<br/>{{{pronounce 2|}}} }} |
|||
| |
| label3 = [[Synonym]]s |
||
| data3 = {{{Synonym|{{{synonym|{{{Synonyms|{{{synonyms|}}}}}}}}}}}} |
|||
| data4 = {{#if:{{{Consumer_Reports|}}}|<span class="reflink plainlinks nourlexpansion">[http://www.consumerreports.org/health/best-buy-drugs/{{{Consumer_Reports}}}.htm best-buy-drugs]</span> | }} |
|||
| |
| label4 = Use |
||
| |
| data4 = {{{Use|}}} |
||
⚫ | {{#if:{{{medicinenet|}}}|<span class="reflink plainlinks nourlexpansion">[http://www.medicinenet.com/{{{medicinenet}}}/article.htm |
||
⚫ | |||
⚫ | |||
}} |
|||
⚫ | |||
| label6 = [[Mode of action]] |
|||
}}<noinclude> |
|||
| data6 = {{{Mode_of_action|}}} |
|||
{{documentation}} |
|||
<!-- Add cats and interwikis to the /doc subpage, not here! --> |
|||
| label7 = [[Mechanism of action]] |
|||
</noinclude> |
|||
| data7 = {{{Mechanism_of_action|}}} |
|||
| label8 = [[Biological target]] |
|||
| data8 = {{{Biological_target|}}} |
|||
| label9 = [[Chemical classification|Chemical class]] |
|||
| data9 = {{{Chemical_class|}}} |
|||
| header10 = {{#if:{{{Drugs.com|}}}{{{Consumer_Reports|}}}{{{medicinenet|}}}{{{rxlist|}}}{{{rxlist_name|}}}|Clinical data}} |
|||
| label11 = [[Drugs.com]] |
|||
| data11 = {{{Drugs.com|}}} |
|||
| label12 = [[Consumer Reports]] |
|||
⚫ | |||
| 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]</span>}} {{#if:{{{rxlist_name|}}}|<span class="reflink plainlinks nourlexpansion">[http://www.rxlist.com/{{{rxlist_name}}}/drug-class.htm RxList]</span>}} |
||
| header14 = {{#if:{{{MeshID|}}}|External links}} |
|||
⚫ | |||
⚫ | |||
<!-- LEGAL STATUS --> |
|||
| header60 = Legal status |
|||
| label61 = [[Regulation of therapeutic goods|Legal status]] |
|||
| data61 = {{Infobox drug/legal status |
|||
|legal_AU={{{legal_AU|}}} |
|||
|legal_BR={{{legal_BR|}}} |
|||
|legal_CA={{{legal_CA|}}} |
|||
|legal_DE={{{legal_DE|}}} |
|||
|legal_NZ={{{legal_NZ|}}} |
|||
|legal_UK={{{legal_UK|}}} |
|||
|legal_US={{{legal_US|}}} |
|||
|legal_EU={{{legal_EU|}}} |
|||
|legal_UN={{{legal_UN|}}} |
|||
|legal_AU_comment={{{legal_AU_comment|}}} |
|||
|legal_BR_comment={{{legal_BR_comment|}}} |
|||
|legal_CA_comment={{{legal_CA_comment|}}} |
|||
|legal_DE_comment={{{legal_DE_comment|}}} |
|||
|legal_NZ_comment={{{legal_NZ_comment|}}} |
|||
|legal_UK_comment={{{legal_UK_comment|}}} |
|||
|legal_US_comment={{{legal_US_comment|}}} |
|||
|legal_EU_comment={{{legal_EU_comment|}}} |
|||
|legal_UN_comment={{{legal_UN_comment|}}} |
|||
|legal_status={{{legal_status|}}} |
|||
⚫ | |||
|belowstyle = background: #e8e8e8; text-align: center |
|||
|below = {{#if:{{wikidata|label|raw}} |[[d:{{wikidata|label|raw}} |In Wikidata]]}} |
|||
}}<!-- |
|||
--><noinclude>{{Documentation}}</noinclude> |
Latest revision as of 14:23, 24 September 2024
Infobox drug class | |
---|---|
Drug class | |
Legal status | |
In Wikidata |
Use this template freely for any drug class article.
Usage
[edit]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|class={{{ImageClass}}}]] | |
Pronunciation | {{{Pronounce}}} |
Synonyms | {{{Synonyms}}} --> |
Clinical data | |
Drugs.com | {{{Drugs.com}}} |
Consumer Reports | Best Buy Drugs |
WebMD | MedicineNet RxList |
External links | |
MeSH | > {{{MeshID}}}--> |
Legal status | |
In Wikidata |
{{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
[edit]Name
[edit]This field lists the full name of the drug class, ideally from a nomenclature authority like ATC.
Image
[edit]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
[edit]| 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
[edit]| 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
[edit]| MeshID =
TemplateData
[edit]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 |
rxlist_name | rxlist_name | no description | Unknown | optional |
MeshID | MeshID | no description | Unknown | optional |
Width | Width | no description | Unknown | optional |