Misplaced Pages

Template:Infobox drug class/sandbox: 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.
< Template:Infobox drug class Browse history interactively← Previous editContent deleted Content addedVisualWikitext
Revision as of 16:37, 16 July 2020 editDePiep (talk | contribs)Extended confirmed users294,285 edits source code← Previous edit Latest revision as of 23:13, 16 September 2024 edit undoSynpath (talk | contribs)Extended confirmed users1,234 edits naive test for adding 'class' parameter to infobox imageTag: 2017 wikitext editor 
(7 intermediate revisions by 2 users not shown)
Line 4: Line 4:


| subheader = '']'' | subheader = '']''
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{Image|}}}|size={{{Width|}}}|sizedefault=frameless|upright=1.25|alt={{{Alt|}}}}} | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{Image|}}}|size={{{Width|}}}|sizedefault=frameless|upright=1.25|class={{{ImageClass|}}}|alt={{{Alt|}}}}}
| caption = {{{Caption|}}} | caption = {{{Caption|}}}


Line 35: Line 35:
| data9 = {{{Chemical_class|}}} | data9 = {{{Chemical_class|}}}


| header10 = {{#if:{{{Drugs.com|}}}{{{Consumer_Reports|}}}{{{medicinenet|}}}{{{rxlist|}}}|Clinical data}} | header10 = {{#if:{{{Drugs.com|}}}{{{Consumer_Reports|}}}{{{medicinenet|}}}{{{rxlist|}}}{{{rxlist_name|}}}|Clinical data}}


| label11 = ] | label11 = ]
Line 44: Line 44:


| label13 = ] | label13 = ]
| data13 = {{#if:{{{medicinenet|}}}|<span class="reflink plainlinks nourlexpansion"></span>&nbsp;}} {{#if:{{{rxlist|}}}|<span class="reflink plainlinks nourlexpansion"></span>}} | data13 = {{#if:{{{medicinenet|}}}|<span class="reflink plainlinks nourlexpansion"></span>&nbsp;}} {{#if:{{{rxlist|}}}|<span class="reflink plainlinks nourlexpansion"></span>}} {{#if:{{{rxlist_name|}}}|<span class="reflink plainlinks nourlexpansion"></span>}}


| header14 = {{#if:{{{MeshID|}}}|External links}} | header14 = {{#if:{{{MeshID|}}}|External links}}


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

<!-- LEGAL STATUS -->
| header60 = Legal status

| label61 = ]
| 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 |belowstyle = background: #e8e8e8; text-align: center
|below = {{#if:{{#invoke:Wikidata|pageId}} |]}} |below = {{#if:{{wikidata|label|raw}} |]}}
}}<!-- }}<!--



Latest revision as of 23:13, 16 September 2024

Infobox drug class/sandbox
Drug class
Legal status
This is the template sandbox page for Template:Infobox drug class (diff).
See also the companion subpage for test cases.
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}}}
Pronunciation{{{Pronounce}}}
Synonyms{{{Synonyms}}} -->
Clinical data
Drugs.com{{{Drugs.com}}}
Consumer ReportsBest Buy Drugs
WebMDMedicineNet  RxList
External links
MeSH> {{{MeshID}}}-->
Legal status
{{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. Category: