Jump to content

Template:Infobox drug class: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
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
{{infobox
| abovestyle = background-color: {{{Background|lightgreen}}}
| abovestyle = background-color: {{#if:{{{Background|}}}|{{{Background|}}} |#ddbbee }}
| above = {{{Name|<includeonly>{{Name}}</includeonly>}}}
| above = {{#if:{{{Name|}}} |{{{Name|}}} |{{PAGENAME}}}}
| subheader = <includeonly>''Drug class''</includeonly>
| image = {{#if:{{{Image|}}}|[[File:{{{Image}}}|frameless|{{px|{{{Width|upright=1.06}}}}}|alt={{{Alt|}}}]]}}
| caption = {{{Caption|}}}


| subheader = ''[[Drug class]]''
| label1 = [[Anatomical Therapeutic Chemical Classification System|ATC code]]
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{Image|}}}|size={{{Width|}}}|sizedefault=frameless|upright=1.25|class={{{ImageClass|}}}|alt={{{Alt|}}}}}
| data1 = {{#if:{{{ATC_prefix|}}}|[[ATC_code_{{{ATC_prefix}}}|{{{ATC_prefix}}}]] | &nbsp;}}
| caption = {{{Caption|}}}


| headerstyle = background: #e8e8e8;
| label2 = [[Medical Subject Headings|MeSH]]
| header1 = {{#if:{{{Use|}}}{{{ATC_prefix|}}}{{{Biological_target|}}}{{{Target_mechanism|}}}{{{Chemical_class|}}}|Class identifiers}}
| data2 = {{#if:{{{MeshID|}}}|<span class="reflink plainlinks nourlexpansion">[http://www.nlm.nih.gov/cgi/mesh/{{{MeshYear|2011}}}/MB_cgi?field=uid&term={{{MeshID|}}} {{{MeshID}}}]</span> | &nbsp; }}


| 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|}}}&#x20;{{{pronounce comment|}}} }}<!--
| data3 = {{#if: {{{Drugs.com|}}} | <span class="reflink plainlinks nourlexpansion">[http://www.drugs.com/drug-class/{{{Drugs.com}}}.html list of generics]</span> | &nbsp; }}
-->{{#if:{{{pronounce 2|}}} |<br/>{{{pronounce 2|}}} }}


| label4 = [[Consumer Reports]]
| 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> | &nbsp; }}


| label5 = [[WebMD]]
| label4 = Use
| data5 = {{#if:({{{medicinenet|}}} or {{{rxlist|}}})|
| data4 = {{{Use|}}}
{{#if:{{{medicinenet|}}}|<span class="reflink plainlinks nourlexpansion">[http://www.medicinenet.com/{{{medicinenet}}}/article.htm medicinenet]</span> | &nbsp; }} &nbsp; {{#if:{{{rxlist|}}}|<span class="reflink plainlinks nourlexpansion">[http://www.rxlist.com/script/main/art.asp?articlekey={{{rxlist}}} rxlist] | &nbsp; }}
}}


| label5 = [[Anatomical Therapeutic Chemical Classification System|ATC code]]
}}
| data5 = {{#if:{{{ATC_prefix|}}}|[[ATC_code_{{{ATC_prefix}}}|{{{ATC_prefix}}}]] }}


| 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]]
| data12 = {{#if:{{{Consumer_Reports|}}}|<span class="reflink plainlinks nourlexpansion">[http://www.consumerreports.org/health/best-buy-drugs/{{{Consumer_Reports}}}.htm Best Buy Drugs]</span>}}

| label13 = [[WebMD]]
| 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]</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}}

| label15 = [[Medical Subject Headings|MeSH]]
| data15 = {{#if:{{{MeshID|}}}|<span class="reflink plainlinks nourlexpansion">[https://meshb.nlm.nih.gov/record/ui?ui={{{MeshID|}}} {{{MeshID}}}]</span>}}


<!-- 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