Anonymous user
Template:Infobox drug/doc: Difference between revisions
no edit summary
Richardpruen (talk | contribs) m (1 revision imported: Wikipedia article on Nicotine templates needed) |
imported>DePiep No edit summary |
||
Line 1: | Line 1: | ||
{{bots|deny=CheMoBot}} | {{bots|deny=CheMoBot}} | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
{{ | <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | ||
{{High-use|demo={{ROOTPAGENAME}}}} | |||
{{Template shortcut|Drugbox}} | {{Template shortcut|Drugbox}} | ||
{{Tracks Wikidata|P628|P2566|cat=E number from Wikidata|section=Input from Wikidata}} | {{Tracks Wikidata|P628|P2566|cat=E number from Wikidata|section=Input from Wikidata}} | ||
Line 7: | Line 8: | ||
'''{{tl|Infobox drug}}''' or {{tlf|Drugbox}} is the infobox for drugs, both medical and recreational. It can be used for single chemicals (most common), and for [[#Combination products]], [[#Monoclonal antibody drugs]] and [[#Vaccines]]. | '''{{tl|Infobox drug}}''' or {{tlf|Drugbox}} is the infobox for drugs, both medical and recreational. It can be used for single chemicals (most common), and for [[#Combination products]], [[#Monoclonal antibody drugs]] and [[#Vaccines]]. | ||
__TOC__ | |||
== Type of drug == | == Type of drug == | ||
=== Single chemical {{nobold|1=(type=)}}{{anchor|1=Single chemical|2=Single chemicals}}=== | === Single chemical {{nobold|1=(type=)}}{{anchor|1=Single chemical|2=Single chemicals}}=== | ||
{{anchor|1=Single chemical}} | {{anchor|1=Single chemical}} | ||
Drugs that are a simple chemical compound (about 90% of the drug articles are). Short parameter list: | Drugs that are a simple chemical compound (about 90% of the drug articles are). Short parameter list: | ||
< | <syntaxhighlight lang="html"> | ||
{{Infobox drug | {{Infobox drug | ||
| drug_name = | | drug_name = | ||
Line 27: | Line 28: | ||
| pregnancy_AU = <!-- A / B1 / B2 / B3 / C / D / X --> | | pregnancy_AU = <!-- A / B1 / B2 / B3 / C / D / X --> | ||
| pregnancy_AU_comment = | | pregnancy_AU_comment = | ||
| pregnancy_category= | | pregnancy_category= | ||
| routes_of_administration = | | routes_of_administration = | ||
Line 72: | Line 71: | ||
| molecular_weight = | | molecular_weight = | ||
}} | }} | ||
</ | </syntaxhighlight> | ||
'''Full single-drug template''' with extended fields: | '''Full single-drug template''' with extended fields: | ||
< | <syntaxhighlight lang="html"> | ||
{{Infobox drug | {{Infobox drug | ||
| drug_name = | | drug_name = | ||
Line 106: | Line 105: | ||
| pregnancy_AU = <!-- A / B1 / B2 / B3 / C / D / X --> | | pregnancy_AU = <!-- A / B1 / B2 / B3 / C / D / X --> | ||
| pregnancy_AU_comment = | | pregnancy_AU_comment = | ||
| pregnancy_category= | | pregnancy_category= | ||
| dependency_liability = | | dependency_liability = | ||
Line 183: | Line 180: | ||
| specific_rotation = | | specific_rotation = | ||
}} | }} | ||
</ | </syntaxhighlight> | ||
==== Automatic generation ==== | |||
The [https://alyw234237.github.io/wiki-drugbox-chembox-maker/ Wikipedia Drugbox and Chembox Maker] can be used to automatically generate single-chemical drugbox templates. For quicker access, this tool can be added to the tools section of Wikipedia's left sidebar via [[User:Qwerfjkl/scripts/chemboxmaker]]. | |||
Another option is [[User:Diberri|Diberri]] and [[User:Boghog|Boghog]]'s excellent [https://tools.wmflabs.org/citation-template-filling/cgi-bin/index.cgi Wikipedia template filling tool] which will generate a populated template to copy and paste into an article if "DrugBank ID" is selected in the dropdown menu and a [[DrugBank]] ID number (which may be obtained from [http://redpoll.pharmacy.ualberta.ca/drugbank/ DrugBank search]) is added in the adjacent field. Please select for ''Fill template vertically'', but as Wikipedia is a general encyclopedia, most drugs do not warrant ''Show extended fields''. However, drugbox generation with this tool [https://citation-template-filling.toolforge.org/cgi-bin/index.cgi?type=drugbank_id&id=DB00328 is currently broken] and [https://web.archive.org/web/20200712040837/https://citation-template-filling.toolforge.org/cgi-bin/index.cgi?type=drugbank_id&id=DB00328 has been for some time]. | |||
=== Combination of drugs {{nobold|1=(type=combo)}}{{anchor|1Combination of drugs}} === | === Combination of drugs {{nobold|1=(type=combo)}}{{anchor|1Combination of drugs}} === | ||
{{anchor|1=Combination of drugs}} | {{anchor|1=Combination of drugs}} | ||
For drug-combinations, at least two components must be defined, with optional | For drug-combinations, at least two components must be defined, with more optional (up to 6). For each component: | ||
< | <syntaxhighlight lang="html"> | ||
| | | component''n'' = <!-- name, will be wikilinked --> | ||
| | | class''n'' = <!-- class of agent, needs manual wikilinking --> | ||
</ | </syntaxhighlight> | ||
Example for [[Seretide]]: | Example for [[Seretide]]: | ||
Line 206: | Line 206: | ||
| class2 = [[Beta2-adrenergic receptor agonist|Long-acting beta2 agonist]] | | class2 = [[Beta2-adrenergic receptor agonist|Long-acting beta2 agonist]] | ||
}} | }} | ||
< | <syntaxhighlight lang="tid"> | ||
| drug_name = Seretide | | drug_name = Seretide | ||
| type = combo | | type = combo | ||
Line 214: | Line 214: | ||
| component2 = Salmeterol | | component2 = Salmeterol | ||
| class2 = [[Beta2-adrenergic receptor agonist|Long-acting beta2 agonist]] | | class2 = [[Beta2-adrenergic receptor agonist|Long-acting beta2 agonist]] | ||
</ | </syntaxhighlight> | ||
Generally combination articles will not need to display the molecular images of its constituents (the relevant specific articles would have the images). It disables all Chemical & Pharmacology parameters (which describe properties of single drug items). These redundant disabled parameters are best not included in the template calling, so use the following abridged forms of the template: | Generally combination articles will not need to display the molecular images of its constituents (the relevant specific articles would have the images). It disables all Chemical & Pharmacology parameters (which describe properties of single drug items). These redundant disabled parameters are best not included in the template calling, so use the following abridged forms of the template: | ||
'''Shortened combination product form:''' | '''Shortened combination product form:''' | ||
< | <syntaxhighlight lang="html" style="overflow: auto"> | ||
{{Infobox drug | {{Infobox drug | ||
| drug_name = | | drug_name = | ||
Line 235: | Line 235: | ||
| pregnancy_AU = <!-- A / B1 / B2 / B3 / C / D / X --> | | pregnancy_AU = <!-- A / B1 / B2 / B3 / C / D / X --> | ||
| pregnancy_AU_comment = | | pregnancy_AU_comment = | ||
| pregnancy_category= | | pregnancy_category= | ||
| routes_of_administration = | | routes_of_administration = | ||
Line 268: | Line 266: | ||
| KEGG = | | KEGG = | ||
}} | }} | ||
</ | </syntaxhighlight> | ||
'''Full combination product template''' with extended fields and allowing for up to | '''Full combination product template''' with extended fields and allowing for up to six items: | ||
< | <syntaxhighlight lang="html" style="overflow: auto"> | ||
{{Infobox drug | {{Infobox drug | ||
| drug_name = | | drug_name = | ||
Line 284: | Line 282: | ||
| component4 = <!-- Drugname, automatically linked --> | | component4 = <!-- Drugname, automatically linked --> | ||
| class4 = <!-- Group, manual link using [[..|..]] --> | | class4 = <!-- Group, manual link using [[..|..]] --> | ||
| component5 = <!-- Drugname, automatically linked --> | |||
| class5 = <!-- Group, manual link using [[..|..]] --> | |||
| component6 = <!-- Drugname, automatically linked --> | |||
| class6 = <!-- Group, manual link using [[..|..]] --> | |||
<!-- Clinical data --> | <!-- Clinical data --> | ||
| pronounce = | | pronounce = | ||
Line 291: | Line 293: | ||
| licence_CA = <!-- Health Canada may use generic or brand name (generic name preferred) --> | | licence_CA = <!-- Health Canada may use generic or brand name (generic name preferred) --> | ||
| licence_EU = <!-- EMA uses INN (or special INN_EMA) --> | | licence_EU = <!-- EMA uses INN (or special INN_EMA) --> | ||
| DailyMedID | | DailyMedID = <!-- DailyMed may use generic or brand name (generic name preferred) --> | ||
| licence_US = <!-- FDA may use generic or brand name (generic name preferred) --> | | licence_US = <!-- FDA may use generic or brand name (generic name preferred) --> | ||
| pregnancy_AU = <!-- A / B1 / B2 / B3 / C / D / X --> | | pregnancy_AU = <!-- A / B1 / B2 / B3 / C / D / X --> | ||
| pregnancy_AU_comment = | | pregnancy_AU_comment = | ||
| pregnancy_category= | | pregnancy_category= | ||
| dependency_liability = | | dependency_liability = | ||
Line 339: | Line 339: | ||
| synonyms = | | synonyms = | ||
}} | }} | ||
</ | </syntaxhighlight> | ||
=== Monoclonal antibody drugs {{nobold|1=(type=mab)}}{{anchor|1=Monoclonal antibody drugs}}=== | === Monoclonal antibody drugs {{nobold|1=(type=mab)}}{{anchor|1=Monoclonal antibody drugs}}=== | ||
Line 345: | Line 345: | ||
* {{para|type|mab}} | * {{para|type|mab}} | ||
This form the box uses parameters: | This form the box uses parameters: | ||
< | <syntaxhighlight lang="html" style="overflow: auto"> | ||
| type = mab | | type = mab | ||
<!-- Monoclonal antibody data --> | <!-- Monoclonal antibody data --> | ||
Line 351: | Line 351: | ||
| source = | | source = | ||
| target = | | target = | ||
</ | </syntaxhighlight> | ||
For example [[Catumaxomab]]: | For example [[Catumaxomab]]: | ||
Line 362: | Line 362: | ||
| target = [[EpCAM]], [[CD3 (immunology)|CD3]] | | target = [[EpCAM]], [[CD3 (immunology)|CD3]] | ||
}} | }} | ||
< | <syntaxhighlight lang="tid" style="overflow: auto"> | ||
| type = mab | | type = mab | ||
<!-- Monoclonal antibody data --> | <!-- Monoclonal antibody data --> | ||
Line 368: | Line 368: | ||
| source = axo | | source = axo | ||
| target = [[EpCAM]], [[CD3 (immunology)|CD3]] | | target = [[EpCAM]], [[CD3 (immunology)|CD3]] | ||
</ | </syntaxhighlight> | ||
'''mab_type''' defines one of the following types of antibody or antibody fragment: | '''mab_type''' defines one of the following types of antibody or antibody fragment: | ||
Line 431: | Line 431: | ||
'''Shortened Monoclonal antibody form:''' | '''Shortened Monoclonal antibody form:''' | ||
< | <syntaxhighlight lang="html" style="overflow: auto"> | ||
{{Infobox drug | {{Infobox drug | ||
| type = mab | | type = mab | ||
Line 448: | Line 448: | ||
| pregnancy_AU = <!-- A / B1 / B2 / B3 / C / D / X --> | | pregnancy_AU = <!-- A / B1 / B2 / B3 / C / D / X --> | ||
| pregnancy_AU_comment = | | pregnancy_AU_comment = | ||
| pregnancy_category= | | pregnancy_category= | ||
| routes_of_administration = | | routes_of_administration = | ||
Line 489: | Line 487: | ||
| KEGG = | | KEGG = | ||
}} | }} | ||
</ | </syntaxhighlight> | ||
=== Vaccines {{nobold|1=(type=vaccine)}}{{anchor|1=Vaccine|2=Vaccines}}=== | === Vaccines {{nobold|1=(type=vaccine)}}{{anchor|1=Vaccine|2=Vaccines}}=== | ||
Line 500: | Line 498: | ||
! vaccine_type value !! Output | ! vaccine_type value !! Output | ||
|- | |- | ||
| killed ''or'' | | inactivated ''or'' killed || [[Inactivated vaccine|Inactivated]] | ||
|- | |||
| attenuated || [[Attenuated vaccine|Attenuated]] | |||
|- | |||
| subunit || [[Subunit vaccine|Subunit]] | |||
|- | |||
| protein ''or'' protein subunit || [[Subunit vaccine#Protein subunit|Protein subunit]] | |||
|- | |- | ||
| | | peptide ''or'' peptide subunit || [[Subunit vaccine#Peptide subunit|Peptide subunit]] | ||
|- | |- | ||
| | | polysaccharide || [[Subunit vaccine#Polysaccharide subunit|Polysaccharide]] | ||
|- | |||
| vlp || [[Subunit vaccine#Virus-like particles|Virus-like particles]] | |||
|- | |- | ||
| toxoid || [[Toxoid]] | | toxoid || [[Toxoid]] | ||
|- | |- | ||
| | | conjugate || [[Conjugate vaccine|Conjugate]] | ||
|- | |||
| viral || [[Viral vector vaccine|Viral vector]] | |||
|- | |||
| recombinant || [[Recombinant DNA|Recombinant vector]] | |||
|- | |- | ||
| | | dna || [[DNA vaccine|DNA]] | ||
|- | |- | ||
| | | rna || [[RNA vaccine|RNA]] | ||
|- | |- | ||
| | | mrna || [[mRNA vaccine|mRNA]] | ||
|- | |- | ||
| | | heterologous || [[Heterologous vaccine|Heterologous]] | ||
|- | |- | ||
| ''any text'' || ''any text'' (shows unedited) | | ''any text'' || ''any text'' (shows unedited) | ||
Line 524: | Line 534: | ||
'''Shortened Vaccine form:''' | '''Shortened Vaccine form:''' | ||
< | <syntaxhighlight lang="html"> | ||
{{Infobox drug | {{Infobox drug | ||
| drug_name = | | drug_name = | ||
Line 532: | Line 542: | ||
| caption = | | caption = | ||
<!-- Vaccine data --> | <!-- Vaccine data --> | ||
| target = <!-- | | target = <!-- antigen/bacteria/toxin/virus --> | ||
| vaccine_type = <!-- killed/attenuated/live/toxoid/protein subunit/subunit/conjugate/recombinant/DNA --> | | vaccine_type = <!-- killed/attenuated/live/toxoid/protein subunit/subunit/conjugate/recombinant/DNA --> | ||
<!-- Clinical data --> | <!-- Clinical data --> | ||
Line 541: | Line 551: | ||
| pregnancy_AU = <!-- A / B1 / B2 / B3 / C / D / X --> | | pregnancy_AU = <!-- A / B1 / B2 / B3 / C / D / X --> | ||
| pregnancy_AU_comment = | | pregnancy_AU_comment = | ||
| pregnancy_category= | | pregnancy_category= | ||
| routes_of_administration = | | routes_of_administration = | ||
Line 573: | Line 581: | ||
| DrugBank = | | DrugBank = | ||
}} | }} | ||
</ | </syntaxhighlight> | ||
'''Full Vaccine template''' with extended fields: | '''Full Vaccine template''' with extended fields: | ||
< | <syntaxhighlight lang="html"> | ||
{{Infobox drug | {{Infobox drug | ||
| drug_name = | | drug_name = | ||
Line 598: | Line 606: | ||
| licence_CA = <!-- Health Canada may use generic or brand name (generic name preferred) --> | | licence_CA = <!-- Health Canada may use generic or brand name (generic name preferred) --> | ||
| licence_EU = <!-- EMA uses INN (or special INN_EMA) --> | | licence_EU = <!-- EMA uses INN (or special INN_EMA) --> | ||
| DailyMedID | | DailyMedID = <!-- DailyMed may use generic or brand name (generic name preferred) --> | ||
| licence_US = <!-- FDA may use generic or brand name (generic name preferred) --> | | licence_US = <!-- FDA may use generic or brand name (generic name preferred) --> | ||
| pregnancy_AU = <!-- A / B1 / B2 / B3 / C / D / X --> | | pregnancy_AU = <!-- A / B1 / B2 / B3 / C / D / X --> | ||
| pregnancy_AU_comment = | | pregnancy_AU_comment = | ||
| pregnancy_category= | | pregnancy_category= | ||
| routes_of_administration = | |||
| ATCvet = | |||
| ATC_prefix = <!-- 'none' if uncategorised --> | |||
| ATC_suffix = | |||
<!-- Legal status --> | <!-- Legal status --> | ||
| legal_AU = <!-- S2, S3, S4, S5, S6, S7, S8, S9 or Unscheduled --> | | legal_AU = <!-- S2, S3, S4, S5, S6, S7, S8, S9 or Unscheduled --> | ||
Line 639: | Line 649: | ||
| NIAID_ChemDB = | | NIAID_ChemDB = | ||
}} | }} | ||
</ | </syntaxhighlight> | ||
== Parameters == | == Parameters == | ||
{{ | ===Full parameter list=== | ||
{{collapse top|title = {{tlf|Infobox drug}} parameter list| bg=#eaeaea}} | |||
{{Infobox drug/doc/parameter list}} | |||
{{collapse bottom}} | |||
=== Infobox title and INN === | === Infobox title and INN === | ||
{{infobox drug|drug_name=Aspirin|image=Blank file.xcf|width=5px}} | {{infobox drug|drug_name=Aspirin|image=Blank file.xcf|width=5px}} | ||
Line 667: | Line 679: | ||
{{Infobox drug | {{Infobox drug | ||
| drug_name = demo: image | | drug_name = demo: image | ||
| image = | | image = Acetylsalicylsäure2.svg | ||
| caption = structure | | caption = structure | ||
| alt = Molecule of aspirin | | alt = Molecule of aspirin | ||
Line 673: | Line 685: | ||
}} | }} | ||
<pre> | <pre> | ||
| image = | | image = Acetylsalicylsäure2.svg | ||
| caption = structure | | caption = structure | ||
| alt = Molecule of aspirin | | alt = Molecule of aspirin | ||
Line 714: | Line 726: | ||
==== Pregnancy category ==== | ==== Pregnancy category ==== | ||
:''See also [[Template:Infobox drug/pregnancy category|pregnancy category, documentation]] for extensive documentation'' | :''See also [[Template:Infobox drug/pregnancy category|pregnancy category, documentation]] for extensive documentation'' | ||
Pregnancy Categorisation has been previously declared using just the '''pregnancy_category''' parameter with a variety of markup styles used to indicate various countries and their classifications. Alternatively '''pregnancy_AU | Pregnancy Categorisation has been previously declared using just the '''pregnancy_category''' parameter with a variety of markup styles used to indicate various countries and their classifications. Alternatively '''pregnancy_AU''' may be set to the fixed categories. For Australia values permitted are: A, B1, B2, B3, C, D or X (note if just set to 'B' then '''B?''' is shown). Pregnancy categories are no longer used in the US. | ||
Note the UK does not have official designated categorisations, but has both a variety of standard phrases with explanatory qualifications, plus many individual descriptions. The generic {{para|pregnancy_category}} accepts any text, and may be used with such country-specific information (non AU or US). | Note the UK does not have official designated categorisations, but has both a variety of standard phrases with explanatory qualifications, plus many individual descriptions. The generic {{para|pregnancy_category}} accepts any text, and may be used with such country-specific information (non AU or US). | ||
{{Infobox drug | {{Infobox drug | ||
| drug_name=Demo pregnancy | | drug_name=Demo pregnancy | ||
| pregnancy_AU = B1 | | pregnancy_AU = B1 | ||
| pregnancy_AU_comment = {{dummy reference}} | | pregnancy_AU_comment = {{dummy reference}} | ||
| pregnancy_category = Used in pregnancy against [[Pregnancy-induced hypertension|PIH]] | | pregnancy_category = Used in pregnancy against [[Pregnancy-induced hypertension|PIH]] | ||
}} | }} | ||
< | <syntaxhighlight lang="tid"> | ||
| pregnancy_AU = B1 | | pregnancy_AU = B1 | ||
| pregnancy_AU_comment = <ref>...</ref> | | pregnancy_AU_comment = <ref>...</ref> | ||
| pregnancy_category = Used in pregnancy against [[Pregnancy-induced hypertension|PIH]] | | pregnancy_category = Used in pregnancy against [[Pregnancy-induced hypertension|PIH]] | ||
</syntaxhighlight> | |||
</ | |||
==== Dependence liability ==== | ==== Dependence liability ==== | ||
Line 836: | Line 841: | ||
Note: if a drug is restricted everywhere to prescription-only, please set '''legal_status = Rx-only''' rather than similarly define for each and every country. {{para|legal_status|Rx-only}} is specifically recognised and shows as {{Infobox drug/legal status|legal_status=Rx-only}} | Note: if a drug is restricted everywhere to prescription-only, please set '''legal_status = Rx-only''' rather than similarly define for each and every country. {{para|legal_status|Rx-only}} is specifically recognised and shows as {{Infobox drug/legal status|legal_status=Rx-only}} | ||
{|class="wikitable collapsible collapsed" style="width:100%;" | {|class="wikitable mw-collapsible mw-collapsed" style="width:100%;" | ||
|- | |- | ||
! Input !! Meaning | ! Input !! Meaning | ||
Line 1,017: | Line 1,022: | ||
{{anchor|1=Second identifier}} | {{anchor|1=Second identifier}} | ||
{{collapse top|title=Using second identifiers|bg=#ddd}} | {{collapse top|title=Using second identifiers|bg=#ddd}} | ||
{| class=wikitable style="float:right; font-size:95%; font-family: | {| class=wikitable style="float:right; font-size:95%; font-family: 'Courier Code', Menlo, 'Red Hat Mono', 'DejaVu Sans Mono', 'PT Mono', 'Courier New', FreeMono, Courier, 'Lucida Console', monospace;" | ||
|- | |- | ||
|ATC_prefix2 = | |ATC_prefix2 = | ||
Line 1,077: | Line 1,082: | ||
| DrugBank = | | DrugBank = | ||
}}</div> | }}</div> | ||
< | <syntaxhighlight lang="html"> | ||
{{infobox drug | {{infobox drug | ||
| drug_name=Demo indexes<br/>([[Diminazen]]) | | drug_name=Demo indexes<br/>([[Diminazen]]) | ||
Line 1,092: | Line 1,097: | ||
| DrugBank = | | DrugBank = | ||
}} | }} | ||
</ | </syntaxhighlight> | ||
* When used, the indexes '' | * When used, the indexes {{angbr|''blank''}} and ''2'' are used consistently for two substances (so, all #2 identifiers refer to the same alternate substance). | ||
* When index 2 is used, consider adding {{para|index_label}} and {{para|index2_label}} prefixes, to appear before every identifier. | * When index 2 is used, consider adding {{para|index_label}} and {{para|index2_label}} prefixes, to appear before every identifier. | ||
* These index prefixes can be explained using {{para|index_comment}}, {{para|index2_comment}} which will show in top. | * These index prefixes can be explained using {{para|index_comment}}, {{para|index2_comment}} which will show in top. | ||
Line 1,119: | Line 1,124: | ||
:Formula {{Chembox Elements/molecular formula| C=2 | H=6 | O=1 | charge=2-}} | :Formula {{Chembox Elements/molecular formula| C=2 | H=6 | O=1 | charge=2-}} | ||
This is called the ''empirical'' form, the most simple form. Entered this way, the elements are ordered in the [[Hill notation]] order: When C is present, C<sub>x</sub>H<sub>y</sub> in front and the others alphabetically Ar ... Zr. When a ''molecular'' formula or ''structural'' formula is known, that one should be entered in {{para|chemical_formula}} (consider using {{tl| | This is called the ''empirical'' form, the most simple form. Entered this way, the elements are ordered in the [[Hill notation]] order: When C is present, C<sub>x</sub>H<sub>y</sub> in front and the others alphabetically Ar ... Zr. When a ''molecular'' formula or ''structural'' formula is known, that one should be entered in {{para|chemical_formula}} (consider using {{tl|Chem2}}). | ||
You can provide the chemical formula as fixed | You can provide the chemical formula as fixed | ||
Line 1,147: | Line 1,152: | ||
When {{para|SMILES}} has input, the template automatically adds an external link to the Jmol 3D molecule model. | When {{para|SMILES}} has input, the template automatically adds an external link to the Jmol 3D molecule model. | ||
* '''{{para|Jmol|None}}''' will suppress (hide) that data row. | * '''{{para|Jmol|None}}''' will suppress (hide) that data row. | ||
* '''{{para|Jmol| | * '''{{para|Jmol|{{angbr|some SMILES string}}}}''' will link to the 3D-model of ''that'' string (i.e. overwriting {{para|SMILES}} input). SMILES will show its input unchanged. | ||
==== Physical data ==== | ==== Physical data ==== | ||
Line 1,200: | Line 1,205: | ||
When this section has input, sections Clinical data and Legal data should be empty. | When this section has input, sections Clinical data and Legal data should be empty. | ||
< | <syntaxhighlight lang="html"> | ||
<!-- Physiological data --> | <!-- Physiological data --> | ||
| source_tissues = | | source_tissues = | ||
Line 1,210: | Line 1,215: | ||
| biosynthesis = | | biosynthesis = | ||
| metabolism = <!-- same parameter as in pharmacokinetic data --> | | metabolism = <!-- same parameter as in pharmacokinetic data --> | ||
</ | </syntaxhighlight> | ||
Example: | Example: | ||
{{Infobox drug | {{Infobox drug | ||
Line 1,224: | Line 1,229: | ||
| metabolism = [[oxytocinase]] | | metabolism = [[oxytocinase]] | ||
}} | }} | ||
< | <syntaxhighlight lang="tid"> | ||
| drug_name = [[Oxytocin]] | | drug_name = [[Oxytocin]] | ||
<!-- Physiological data --> | <!-- Physiological data --> | ||
Line 1,235: | Line 1,240: | ||
| biosynthesis = [[magnolysin]] | | biosynthesis = [[magnolysin]] | ||
| metabolism = [[oxytocinase]] | | metabolism = [[oxytocinase]] | ||
</ | </syntaxhighlight> | ||
* Categorised: {{Category link with count|Drugs that are a physiological drug}} | * Categorised: {{Category link with count|Drugs that are a physiological drug}} | ||
Line 1,279: | Line 1,284: | ||
==Miscellaneous== | ==Miscellaneous== | ||
=== Verification by CheMoBot (parameters: ..._Ref) === | === Verification by CheMoBot (parameters: ..._Ref) === | ||
Seven | Seven identifying parameters like {{para|CAS_number}} are tracked in a [[Wikipedia:WikiProject Chemicals/Chembox validation|WP:Drugbox data validation process]]. A bot adds parameters like | ||
{{para|verifiedrevid}} and {{para|CAS_number_Ref|<nowiki>{{cascite|correct}}</nowiki>}}. See also {{tl|cascite}} documentation. | {{para|verifiedrevid}} and {{para|CAS_number_Ref|<nowiki>{{cascite|correct}}</nowiki>}}. See also {{tl|cascite}} documentation. | ||
Line 1,300: | Line 1,305: | ||
Dependent sections: | Dependent sections: | ||
{{Infobox drug/doc/type-conditional sections|state=collapsed}} | {{Infobox drug/doc/type-conditional sections|state=collapsed}} | ||
=== Multiple Infoboxes drug=== | |||
* [[Eprinomectin]], [[Hib vaccine]], [[Sarafotoxin]] (3 boxes), [[Valproate]], [[Varespladib]] | |||
:<small>(checked manually using [[WP:AWB]], 5/8275, 20-12-2021)</small> | |||
== TemplateData == | == TemplateData == | ||
{{collapse top|title=[[Wikipedia:TemplateData|TemplateData]] | {{collapse top|title=[[Wikipedia:TemplateData|TemplateData]]|bg=#ddd}} | ||
{{TemplateData header|noheader=1}} | {{TemplateData header|noheader=1}} | ||
<templatedata> | <templatedata> | ||
Line 1,316: | Line 1,326: | ||
"image": { | "image": { | ||
"label": "Image", | "label": "Image", | ||
"example": "Aspirin. | "example": "Aspirin-Wireframe.svg", | ||
"type": "wiki-file-name", | "type": "wiki-file-name", | ||
"suggested": true | "suggested": true | ||
Line 1,378: | Line 1,388: | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
"dependency_liability": {}, | "dependency_liability": {}, | ||
"addiction_liability": {}, | "addiction_liability": {}, | ||
Line 1,422: | Line 1,431: | ||
"label": "Pregnancy (Australia)", | "label": "Pregnancy (Australia)", | ||
"description": "Pregnancy category in Australia. Use one of these codes: A, B1, B2, B3, C, D, X", | "description": "Pregnancy category in Australia. Use one of these codes: A, B1, B2, B3, C, D, X", | ||
"example": "C", | "example": "C", | ||
"type": "line", | "type": "line", | ||
Line 1,771: | Line 1,772: | ||
"pregnancy_AU", | "pregnancy_AU", | ||
"pregnancy_AU_comment", | "pregnancy_AU_comment", | ||
"pregnancy_category", | "pregnancy_category", | ||
"legal_AU", | "legal_AU", | ||
"legal_AU_comment", | "legal_AU_comment", | ||
Line 2,059: | Line 2,057: | ||
== Tracking categories == | == Tracking categories == | ||
* {{Category link with count| | * {{Category link with count|Pages using infobox drug with unknown parameters}} | ||
* See also: {{cl|Infobox drug tracking categories}} | * See also: {{cl|Infobox drug tracking categories}} | ||
Line 2,066: | Line 2,064: | ||
* {{tl|Infobox medical condition}} | * {{tl|Infobox medical condition}} | ||
* [[WP:PHARM]] for WikiProject page | * [[WP:PHARM]] for WikiProject page | ||
* [https://alyw234237.github.io/wiki-drugbox-chembox-maker/ Wikipedia Drugbox and Chembox Maker] | |||
<includeonly>{{sandbox other| | | <includeonly>{{sandbox other| | | ||
[[Category:Medicine infobox templates|Drug]] | [[Category:Medicine infobox templates|Drug]] | ||
[[Category:Infobox drug templates | [[Category:Infobox drug templates]] | ||
[[Category:Infobox templates using Wikidata]] | [[Category:Infobox templates using Wikidata]] | ||
[[Category:Templates that add a tracking category]] | [[Category:Templates that add a tracking category|{{PAGENAME}}]] | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
[[Category:Infobox drug documentation| ]] | [[Category:Infobox drug documentation| ]] | ||
</noinclude> | </noinclude> |