Jump to content

Template talk:Infobox drug class: Difference between revisions

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
Content deleted Content added
m Underlying lk moved page Template talk:Drugclassbox to Template talk:Infobox drug class: it's used as an infobox
Fix
Line 13: Line 13:
#A list of generics within the class. drugs.com provides this info http://www.drugs.com/drug-class/cardioselective-beta-blockers.html
#A list of generics within the class. drugs.com provides this info http://www.drugs.com/drug-class/cardioselective-beta-blockers.html
[[User:Jmh649|<span style="color:#0000f1">'''Doc James'''</span>]] ([[User talk:Jmh649|talk]] · [[Special:Contributions/Jmh649|contribs]] · [[Special:EmailUser/Jmh649|email]]) 09:48, 3 June 2011 (UTC)
[[User:Jmh649|<span style="color:#0000f1">'''Doc James'''</span>]] ([[User talk:Jmh649|talk]] · [[Special:Contributions/Jmh649|contribs]] · [[Special:EmailUser/Jmh649|email]]) 09:48, 3 June 2011 (UTC)
: Version 1.0 {{done}} (see [[Template:Drugclassbox/testcases|testcases]]). [[User:Boghog|Boghog]] ([[User talk:Boghog|talk]]) 10:40, 4 June 2011 (UTC)
: Version 1.0 {{done}} (see [[Template:{{BASEPAGENAME}}/testcases|testcases]]). [[User:Boghog|Boghog]] ([[User talk:Boghog|talk]]) 10:40, 4 June 2011 (UTC)
::Is there a way we can set it such that if no info is available it leaves the spot blank? Have started at [[Selective serotonin reuptake inhibitor]] [[User:Jmh649|<span style="color:#0000f1">'''Doc James'''</span>]] ([[User talk:Jmh649|talk]] · [[Special:Contributions/Jmh649|contribs]] · [[Special:EmailUser/Jmh649|email]]) 10:56, 4 June 2011 (UTC)
::Is there a way we can set it such that if no info is available it leaves the spot blank? Have started at [[Selective serotonin reuptake inhibitor]] [[User:Jmh649|<span style="color:#0000f1">'''Doc James'''</span>]] ([[User talk:Jmh649|talk]] · [[Special:Contributions/Jmh649|contribs]] · [[Special:EmailUser/Jmh649|email]]) 10:56, 4 June 2011 (UTC)
:::The template has been [http://en.wikipedia.org/enwiki/w/index.php?title=Template%3ADrugclassbox&action=historysubmit&diff=432520558&oldid=432497296 edited] so that if a parameter is missing, the left hand column containing the internal Wiki link will still be displayed, but the external link will be blank (see for example [[Template:Drugclassbox/doc]]). [[User:Boghog|Boghog]] ([[User talk:Boghog|talk]]) 14:20, 4 June 2011 (UTC)
:::The template has been [http://en.wikipedia.org/enwiki/w/index.php?title=Template%3ADrugclassbox&action=historysubmit&diff=432520558&oldid=432497296 edited] so that if a parameter is missing, the left hand column containing the internal Wiki link will still be displayed, but the external link will be blank (see for example [[Template:{{BASEPAGENAME}}/doc]]). [[User:Boghog|Boghog]] ([[User talk:Boghog|talk]]) 14:20, 4 June 2011 (UTC)
::::Yes but if the data does not exist for all headings it would look better if it where hidden IMO.--[[User:Jmh649|<span style="color:#0000f1">'''Doc James'''</span>]] ([[User talk:Jmh649|talk]] · [[Special:Contributions/Jmh649|contribs]] · [[Special:EmailUser/Jmh649|email]]) 08:23, 25 November 2011 (UTC)
::::Yes but if the data does not exist for all headings it would look better if it where hidden IMO.--[[User:Jmh649|<span style="color:#0000f1">'''Doc James'''</span>]] ([[User talk:Jmh649|talk]] · [[Special:Contributions/Jmh649|contribs]] · [[Special:EmailUser/Jmh649|email]]) 08:23, 25 November 2011 (UTC)



Revision as of 23:48, 30 September 2013

Content

It may be useful to have a template for classes of medications. Some ideas of content it could content

  1. Consumer reports have good overviews of drug classes as seen here for beta blockers [1]
  2. The ATC code
  3. The MESH ID code for beta blockers is D000319
  4. Medicinenet.com or rxlist.com by WebMD may also be useful [2][3]
  5. A list of generics within the class. drugs.com provides this info http://www.drugs.com/drug-class/cardioselective-beta-blockers.html

Doc James (talk · contribs · email) 09:48, 3 June 2011 (UTC)[reply]

Version 1.0  Done (see testcases). Boghog (talk) 10:40, 4 June 2011 (UTC)[reply]
Is there a way we can set it such that if no info is available it leaves the spot blank? Have started at Selective serotonin reuptake inhibitor Doc James (talk · contribs · email) 10:56, 4 June 2011 (UTC)[reply]
The template has been edited so that if a parameter is missing, the left hand column containing the internal Wiki link will still be displayed, but the external link will be blank (see for example Template:Infobox drug class/doc). Boghog (talk) 14:20, 4 June 2011 (UTC)[reply]
Yes but if the data does not exist for all headings it would look better if it where hidden IMO.--Doc James (talk · contribs · email) 08:23, 25 November 2011 (UTC)[reply]

Addition and some questions

  • I added a "Use" field. Suggestions for a better title are welcome.
  • I'd put the "Biological target" on top, maybe after the "Use".
  • Shouldn't empty lines be hidden? That's standard for infoboxes as far as I know.
  • Why is the Drugs.com entry named "list of generics"? And the title "best-buy-drugs" for Comsumer Reports sounds a bit like an online pharmacy for people who don't know the background.

--ἀνυπόδητος (talk) 14:03, 9 June 2011 (UTC)[reply]

Consumer reports

I am having trouble getting this one to work. Agree that "best-buy-drugs" is not the best title. --Doc James (talk · contribs · email) 08:42, 25 November 2011 (UTC)[reply]

Anyone able to fix this? Or should I give it a try?--Doc James (talk · contribs · email) 15:55, 28 December 2011 (UTC)[reply]

Am trying to use these boxes for vitamins. Can we add this link under drugs.com? --Doc James (talk · contribs · email) 15:55, 28 December 2011 (UTC)[reply]