Template talk:Infobox drug/Archive 9

Page contents not supported in other languages.
Source: Wikipedia, the free encyclopedia.
Archive 5 Archive 7 Archive 8 Archive 9 Archive 10 Archive 11 Archive 15

Addition of OtherNames field?

Would it be useful to have an OtherNames field (analogous to the one available to Template:Chembox? --InsufficientData (talk) 13:56, 7 May 2011 (UTC)

Names of drugs tend to be much more standardized than chemical names. The according to the
International Nonproprietary Name should be used as the article name and the page name is repeated over the drug box. In addition, there is a field for the IUPAC chemical name. Finally in the sandbox version of the drugbox, there is a Tradename field (see the Lisinopril article for an example). IMHO, this should be adequate. Boghog (talk
) 20:58, 8 May 2011 (UTC)
What motivated this was an edit to the
COX ... so would one use acetamide to call attention to this part of the molecule? But it is also an ethanamide? My solution was to use both with an intermediate break. But I wondered ... chembox has this, drugbox doesn't. That was my motivation. --InsufficientData (talk
) 05:04, 24 May 2011 (UTC)

Proposed changes to drugbox

A number of changes have been made to the sandbox. We (

Jmh649
and myself) would like to incorporate these changes in the production version. Before doing so, we would like to make sure there is consensus for the following modifications:

  1. The contents of drug box may optionally be moved to special purpose template and transcluded back into the article. This is done to reduce clutter in the raw text so as not to scare off new editors.
  2. The "Therapeutic considerations" section has been renamed to "Clinical data" and move up to more closely match the
    recommended
    order of sections in body of the article.
  3. New optional links to AHFS/Drugs.com and MedlinePlus have been added to the "Clinical data" section.
  4. A new optional field fortrade names has been added to the "Clinical data" section.

For a live version of the proposed changes, see the drugbox in the Lisinopril article.

Is it OK if we go ahead and make these changes? Boghog (talk) 20:06, 19 May 2011 (UTC)

Thanks Boghog for bringing this about. I think these are extremely important changes to make our articles more generally accessible.
talk · contribs · email
) 21:49, 19 May 2011 (UTC)

I would not move the template into a special purpose template ... it may make the page-code cleaner, but newbies are less likely to find the actual data. Having a clean template structure (every parameter on a new line, nicely indented) in the document makes it easy to overview the data, and to edit it. --Dirk Beetstra T C 09:31, 24 May 2011 (UTC)

With the little edit buttons associated with the templates they are easier IMO to edit.
talk · contribs · email
) 15:46, 24 May 2011 (UTC)
Hmm .. but is thát easier to understand for newbies. And I don't think it is easier, I don't even think there is any difference, except that it will bring confusion (I've seen such questions with the element boxes). Moreover, to be consistent it would need several thousands of edits .. But that part of the suggestion does not need the rest of the drugbox to be implemented. --Dirk Beetstra T C 16:08, 24 May 2011 (UTC)
Adding to it, I've hardly ever heard someone complain about the drugbox/chembox being there in the beginning of a page. --Dirk Beetstra T C 16:10, 24 May 2011 (UTC)
Concerning special purpose templates, I don't have any strong feelings one way or the other, but I think these template do provide some advantages to both newbies and experienced editors. Separating the template from the article makes both less cluttered and easier to edit.
An example of where special purpose templates have been successfully used are Gene Wiki articles. There are about ~10,000 of these articles and each has a special purpose template devoted to it (e.g., Estrogen receptor beta). Very rarely an editor starts to add material to the special purpose template that belongs in the article. I think that it is less likely with the "v•d•e" symbols that are within the boundaries of the proposed drugbox. A problem with the element infoboxes is that editing links are placed at the bottom of the box where many editors may miss them. This is inconsistent with the conventional placement of editing links above the article or section that is used throughout Wikipedia. In the proposed update to the drugbox, these links are placed at the top.
Concerning consistency, a bot could create special purpose templates for each drug article. ProteinBoxBot did this for the Gene Wiki articles and BogBot could do the same for drug articles as I have offered to do here. Boghog (talk) 18:01, 24 May 2011 (UTC)
I would suggest first further discussion about the transclusion part - but IMHO the box can be updated. Still, I have seen more editors asking 'where is that data' when there was a template transcluded, than that I have heard editors complain that there is a long box in front of the text and that they don't see where they can start editing. But I must also say .. having them transcluded does have maintenance and other advantages (with regard to User:CheMoBot). --Dirk Beetstra T C 07:44, 25 May 2011 (UTC)

GHS phrases and pictograms

As a chemist I do understand the significance of the drugbox to medical interested persons, but I'd like to find chmical information on substances. I would like to be able to put the GHS phrases and pictograms in the infobox. Can anyone put in lines for those entrys in the template?T.vanschaik (talk) 11:00, 27 May 2011 (UTC)

Hmm .. drugbox does not have anything like that. I'm not sure whether adding is a good idea, seen we may soon want to merge {{
drugbox}}. --Dirk Beetstra T C
11:14, 27 May 2011 (UTC)
I Noticed the discussion, but did not want to interfere there with a totaly new proposal, but if the drugbox is redisigned, I would be glad.T.vanschaik (talk) 11:55, 27 May 2011 (UTC)

Can someone who knows the details of this template please have a look at Talk:Bleomycin. There seems to be a problem with the way the drugbox is displaying. Thank you. — Preceding unsigned comment added by 71.185.49.174 (talk) 22:24, 30 May 2011 (UTC)

Also check [Vinblastine] and [Vincristine]. I'm the user that 71.185.49.174's talking to on the Bleomycin page. I re-sized it from [this, which totally covers the whole screen] to [this, which is a sized down version.] The only change I made was to insert line breaks (literally, hit the return key, no <br> 's at all. As I hadn't worked on any drug boxes before I left a note on the Bleomycin, Vincristine and Vinblastine pages stating I'd changed it and why and that anyone was free to change it back. 71.185.49.174 saw no difference in either box, I did, however, and only in those three pages and no other, so far (example Morphine's drug box displays just fine for me. (I'm using Windows 7, Mozilla Firefox 3.6 with 1280 X 1024 resolution ). Thanks KoshVorlon Naluboutes Aeria Gloris 11:59, 31 May 2011 (UTC)

Drugbox ChEMBL hyperlinks

Hi, can someone look at fixing the ChEMBL links in the drug box please? Whoever has changed the links to show a consecutive number has altered the hyperlink so that it shows the chembl number twice - for example:

https://www.ebi.ac.uk/chembldb/index.php/compound/inspect/CHEMBL403664CHEMBL403664 (bleomycin)

Thanks, Louisa Louisajb (talk) 08:40, 6 June 2011 (UTC)

Fixed - may show in mainspace due to the refresh for some time still, if you purge, or go to edit mode, it should be correct. --Dirk Beetstra T C 08:48, 6 June 2011 (UTC)

Problems with other links

In addition to the problem with the ChEMBL link that has already been fixed (see above), there are similar problems with the ATC, chemspider, and UNII links (see

Template:Drugbox/testcases
, right side). Apparently some key white spaces were accidentally deleted when I was editing the sandbox version. My apologizes.

In addition, I have added back the displayed "monograph" text to the drug.com link. There is no database entry identifier/accession number for drug.com monograph entries to use as the displayed text. Therefore instead of displaying a bare link (e.g., [1]), I thought it was better to display the text "monograph".

I would appreciate if an administrator would re-synch the production version of the Drugbox with the sandbox. Thanks. Boghog (talk) 09:22, 6 June 2011 (UTC)

Sync'd. --Dirk Beetstra T C 09:39, 6 June 2011 (UTC)

Trade names

In preparation of populating drugboxes with clinical data, I noticed that the number of trade names for some drugs can be quite large (in excess of a one hundred in a few cases, see Drugbank DrugCard data). The tradename field could therefore easily overwhelm the rest of the fields in the drugbox. Hence I propose to make this part of the drugbox collapsable (see righthand in the

Template:Drugbox/testcases for an example of how this would look). Does this look OK? Boghog (talk
) 18:54, 3 July 2011 (UTC)

I'm obviously neglecting Wikipedia -- I hadn't noticed the addition of the tradename field. Wasn't there a discussion deciding on not including it? Anyway, I am all for it and I like your solution, Bog! --ἀνυπόδητος (talk) 09:50, 4 July 2011 (UTC)
Thanks for your feedback. You may have been referring to this
WP:R#PLA, these trade name redirects should be mentioned somewhere in the article. Adding these names to a collapsable section of the drug infobox seems like a good compromise. Boghog (talk
) 20:05, 4 July 2011 (UTC)
Hmm. I hate to be picky, but is there any way to trigger autocollapse only if the contents of the field exceed a certain character length? (Three or four names in the field would display by default, for instance, but a longer list would be autocollapsed) Fvasconcellos (t·c) 23:08, 4 July 2011 (UTC)
Good suggestion. I have now modified the sandbox version so that the trade name section is only collaspsed if the list of trade names exceeds one line (string length ≥ 38 characters). Boghog (talk) 19:59, 5 July 2011 (UTC)
Before I forget—this was a great addition, by the way :) Fvasconcellos (t·c) 23:10, 4 July 2011 (UTC)
Thanks. However, Drugbank contains quite a large number of erroneous trade names (typos, synonyms that aren't trade names at all, etc). I've been planning to manually prune Category:Redirects from trade names, but I simply haven't got the time at the moment. Just to tell anyone it probably wouldn't be a good idea to add trade names to drugboxes by bot. --ἀνυπόδητος (talk) 13:32, 5 July 2011 (UTC)
OK, how about the Merck Manual list of trade names (or perhaps even better the intersection between the Merck and Drugbank lists) instead? Boghog (talk) 19:23, 5 July 2011 (UTC)
Yes, that list is largely (but not completely) accurate. It's also much shorter than Drugbank, but would be a good start. --ἀνυπόδητος (talk) 13:12, 6 July 2011 (UTC)

Any bot to make separate templates of drugboxes?

I think we can start discussing which bot should perform the task above in #Suggestion: Make separate templates of drugboxes. I think it ct could be integrated into the tasks of existing bots that make regular fixes to drug articles, to save on the amount of edits. Does anyone know now which bot might be fit for the task? Mikael Häggström (talk) 18:37, 18 July 2011 (UTC)

There was also some reservations expressed about doing this above in this
thread. Since the proposal to use special purpose templates would also effect eventual merger with the chembox, it is important to first that we get the the chembox people on board. (PS to Doc James: I will complete the population of the drugboxes shortly but some urgent issue at work came up that I need to deal with first). Boghog (talk
) 18:52, 18 July 2011 (UTC)


I would support moving it to a separate template as long as we leave a none visible note on the edit page that says "to edit the template click on the edit button within the template" or some such thing. Look forwards to the population of the drugbox :-) --) 20:45, 18 July 2011 (UTC)

Drugs.com links

Concerning the planned addition of clinical data to drugboxes, the source code has been written and BogBot is almost ready to start this (see for example this diff), but before doing so, I have a question concerning Drugs.com links. Currently the drugbox is hardwired to link to http://www.drugs.com/monograph/, but I noticed that many drugs to do not have monograph links, but instead have links to other parts of the drugs.com web site. More specifically, there appears to be at least four different drug sections in the drugs.com website:

The question I have is should we only provide links if a monograph is available or alternatively, if a monograph is not available, should a link be provided to one of the alternative sections, and if so, in what order of precedence? If we do provide links to alternative sites, then a slight modification to the drugbox template will need to be made. Boghog (talk) 15:07, 22 July 2011 (UTC)

The AHFS link is best. The other three seem about the same as medlineplus with no references to the literature provided. Some of the AHFS pages are under the brand names as in pravastatin is prevachol http://www.drugs.com/monograph/pravachol.html --
talk · contribs · email
) 19:23, 22 July 2011 (UTC)
CONS appears better than MTM and CDI on after a superficial examination.) 19:40, 22 July 2011 (UTC)
Thanks for your quick feedback. I didn't realize that some of the monographs were under the brand names. The bot can easily check for that. So based on your suggestions, the suggested order of precedence is:
  • monograph: http://www.drugs.com/monograph/<INN or tradename>.html
  • CONS: http://www.drugs.com/cons/<INN or tradename>.html
  • CDI: http://www.drugs.com/cdi/<INN or tradename>.html
  • MTM: http://www.drugs.com/mtm/<INN or tradename>.html
  • parent: http://www.drugs.com/<INN or tradename>.html (I noticed that some of these are redirects to one of the above)
Is this reasonable? Boghog (talk) 20:07, 22 July 2011 (UTC)

To support the above alternative links, I have created a new template, {{

Template:Drugbox/testcases (produces an identical Drugs.com link as the left hand side). Boghog (talk
) 06:25, 23 July 2011 (UTC) Yes looks good...--) 03:18, 24 July 2011 (UTC)

Minor requested change