Misplaced Pages

Template talk:Infobox drug

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.

This is an old revision of this page, as edited by Davidruben (talk | contribs) at 23:43, 2 June 2013 (Legality fields: why not comma separate ?). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Revision as of 23:43, 2 June 2013 by Davidruben (talk | contribs) (Legality fields: why not comma separate ?)(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
This is the talk page for discussing improvements to the Infobox drug template.
Archives: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19Auto-archiving period: 6 months 
WikiProject iconPharmacology Template‑class
WikiProject iconThis template is within the scope of WikiProject Pharmacology, a collaborative effort to improve the coverage of Pharmacology on Misplaced Pages. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.PharmacologyWikipedia:WikiProject PharmacologyTemplate:WikiProject Pharmacologypharmacology
TemplateThis template does not require a rating on Misplaced Pages's content assessment scale.
Archiving icon
Archives
Archive 1Archive 2Archive 3
Archive 4Archive 5Archive 6
Archive 7Archive 8Archive 9
Archive 10Archive 11Archive 12
Archive 13Archive 14Archive 15
Archive 16Archive 17Archive 18
Archive 19


This page has archives. Sections older than 180 days may be automatically archived by Lowercase sigmabot III when more than 4 sections are present.

Edit request on 20 August 2012

This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request.

Again, it's about the SMILES problem above. Using | liststyle = word-break:break-all; instead of | liststyle = max-width:22em; word-wrap:break-word; would makes it looks better when the image is wider than the original drugbox size, see the sandbox version and the current version.

Jsjsjs1111 (talk) 12:28, 20 August 2012 (UTC)

Literally only a few minutes ago this edit showed on my watchlist, and I happened to glance at Template talk:Chembox#Line wrap problem revisited. Having been involved then, I'm wondering how it will affect that problem? --Redrose64 (talk) 12:53, 20 August 2012 (UTC)
Well, if we use | liststyle = max-width:22em; word-wrap:break-word;, when the drugbox is wider than the original drugbox size, the smiles and inchi section would still have the fixed width of the original drugbox size. Using | liststyle = word-break:break-all; would solve this problem. However the chembox should not be changed since | liststyle = word-break:break-all; would might break down the words in the IUPAC name.--Jsjsjs1111 (talk) 14:09, 20 August 2012 (UTC)
Just to be clear, since there's a lot of difference between sandbox and live - this only affects a single line, the one for SMILES - the InChI line isn't to change? --Redrose64 (talk) 16:11, 20 August 2012 (UTC)
Could you change both of them? If you are not sure -- I've just edited the sandbox, thus you can just copy it. Thanks!--Jsjsjs1111 (talk) 16:39, 20 August 2012 (UTC)
 Done --Redrose64 (talk) 18:48, 20 August 2012 (UTC)
Thank you very much!--Jsjsjs1111 (talk) 18:57, 20 August 2012 (UTC)

Licence data

The params licence_EU and licence_US don't seem to work – the external links they produce end up on the EMA/FDA search pages. Any idea how to fix this? --ἀνυπόδητος (talk) 17:28, 14 January 2013 (UTC)

bot expansion/maintenance of drugbox

I recently started a discussion at WP:PHARM around a proposal to expand the information in this template and to maintain this information using a bot. The discussion began here, and has since moved over to User:ProteinBoxBot/Phase_3. I'd personally like to focus on adding new fields for data that is not already in the drugbox, but we're happy to take on the role of maintaining existing parameters as well. In any case, feedback is welcome... Cheers, Andrew Su (talk) 05:43, 21 May 2013 (UTC)

Equianalgesia parameter

This template needs a parameter for equianalgesia relative to morphine.   — C M B J   06:04, 22 May 2013 (UTC)

Legality fields

When multiple legality fields are used (e.g. legal_US and legal_UK), their contents run together. Instead, they should be separated by a line break, so that the distinction between localities is made clear. —Gordon P. Hemsley 17:49, 1 June 2013 (UTC)

Do we have examples of what these two different formatting styles look like? Doc James (talk · contribs · email) (if I write on your page reply on mine) 18:15, 1 June 2013 (UTC)
See, e.g., propranolol for what it looks like now (which is rather hard to read). It all just flows together, with a combination of regular text and smaller text in parentheses (representing the country). —Gordon P. Hemsley 19:13, 1 June 2013 (UTC)
Okay sounds good support the change. Doc James (talk · contribs · email) (if I write on your page reply on mine) 21:09, 1 June 2013 (UTC)
Nothing wrong with running together on as few a number of lines as possible. Rather than a line break for each, why not a separating "," comma ? David Ruben 23:43, 2 June 2013 (UTC)
Categories: