Template talk:Infobox drug class: Difference between revisions
(10 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
{{hatnote|1={{red|1=Note: This talkpage has little activity (few followers). [[Template talk:Infobox drug]] may be more effective.}}}} |
|||
{{talk header|noarchive=yes}} |
{{talk header|noarchive=yes}} |
||
{{WikiProject Banner Shell|1= |
|||
{{WikiProjectBannerShell|1= |
|||
{{WikiProject Infoboxes}} |
|||
{{WikiProject Pharmacology}} |
{{WikiProject Pharmacology}} |
||
{{WikiProject Medicine}} |
{{WikiProject Medicine}} |
||
Line 13: | Line 15: | ||
#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: |
: 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: |
:::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) |
||
Line 25: | Line 27: | ||
* 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. |
* 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. |
||
--[[User:Anypodetos|ἀνυπόδητος]] ([[User talk:Anypodetos|talk]]) 14:03, 9 June 2011 (UTC) |
--[[User:Anypodetos|ἀνυπόδητος]] ([[User talk:Anypodetos|talk]]) 14:03, 9 June 2011 (UTC) |
||
==Consumer reports== |
|||
I am having trouble getting this one to work. Agree that "best-buy-drugs" is not the best title. --[[User:Jmh649|<span style="color:#0000f1">'''Doc James'''</span>]] ([[User talk:Jmh649|talk]] · [[Special:Contributions/Jmh649|contribs]] · [[Special:EmailUser/Jmh649|email]]) 08:42, 25 November 2011 (UTC) |
|||
::Anyone able to fix this? Or should I give it a try?--[[User:Jmh649|<span style="color:#0000f1">'''Doc James'''</span>]] ([[User talk:Jmh649|talk]] · [[Special:Contributions/Jmh649|contribs]] · [[Special:EmailUser/Jmh649|email]]) 15:55, 28 December 2011 (UTC) |
|||
==Adding http://www.drugs.com/npp/vitamin-d.html== |
|||
Am trying to use these boxes for vitamins. Can we add this link under drugs.com? --[[User:Jmh649|<span style="color:#0000f1">'''Doc James'''</span>]] ([[User talk:Jmh649|talk]] · [[Special:Contributions/Jmh649|contribs]] · [[Special:EmailUser/Jmh649|email]]) 15:55, 28 December 2011 (UTC) |
|||
== Changes == |
|||
Fixed article name showing up. I have removed the background color into purple. It was defined as "navbox-style" (class), but that is not appropriate in this infobox. I understand the color has no meaning, and may be changed. Headers now are with bg color grey. Also added the Wikidata link, if there is one. -[[User:DePiep|DePiep]] ([[User talk:DePiep|talk]]) 08:23, 8 December 2016 (UTC) |
|||
== class= parameter for dark mode purposes == |
|||
I made a tiny addition to [[Template:Infobox drug class/sandbox]] here ([[Special:Diff/1246109348]]) that allows me to add the <code>skin-invert-image</code> filter for dark line drawings (per [https://www.mediawiki.org/wiki/Recommendations_for_night_mode_compatibility_on_Wikimedia_wikis]). I'm not familiar with Template editing and wanted to double-check that this is a sane way to go about adding this filter. I copied the [[Vitamin E]] infobox drug class to [[User:Synpath/sandbox#Template test|my sandbox]] to test the addition, and it looks fine to me. ― [[User:Synpath|'''Syn''']][[User talk:Synpath|path]] 23:24, 16 September 2024 (UTC) |
|||
:I've made this change to the template ([[Special:Diff/1247489275]]) and updated the doc ([[Special:Diff/1247489515]]). ― [[User:Synpath|'''Syn''']][[User talk:Synpath|path]] 14:26, 24 September 2024 (UTC) |
Latest revision as of 14:26, 24 September 2024
This is the talk page for discussing improvements to the Infobox drug class template. |
|
This template does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | ||||||||||||||||||||||
|
Content
[edit]It may be useful to have a template for classes of medications. Some ideas of content it could content
- Consumer reports have good overviews of drug classes as seen here for beta blockers [1]
- The ATC code
- The MESH ID code for beta blockers is D000319
- Medicinenet.com or rxlist.com by WebMD may also be useful [2][3]
- 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)
- Version 1.0 Done (see testcases). 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 Doc James (talk · contribs · email) 10:56, 4 June 2011 (UTC)
- 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)
- 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)
- 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)
- 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)
Addition and some questions
[edit]- 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)
Consumer reports
[edit]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)
- Anyone able to fix this? Or should I give it a try?--Doc James (talk · contribs · email) 15:55, 28 December 2011 (UTC)
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)
Changes
[edit]Fixed article name showing up. I have removed the background color into purple. It was defined as "navbox-style" (class), but that is not appropriate in this infobox. I understand the color has no meaning, and may be changed. Headers now are with bg color grey. Also added the Wikidata link, if there is one. -DePiep (talk) 08:23, 8 December 2016 (UTC)
class= parameter for dark mode purposes
[edit]I made a tiny addition to Template:Infobox drug class/sandbox here (Special:Diff/1246109348) that allows me to add the skin-invert-image
filter for dark line drawings (per [4]). I'm not familiar with Template editing and wanted to double-check that this is a sane way to go about adding this filter. I copied the Vitamin E infobox drug class to my sandbox to test the addition, and it looks fine to me. ― Synpath 23:24, 16 September 2024 (UTC)
- I've made this change to the template (Special:Diff/1247489275) and updated the doc (Special:Diff/1247489515). ― Synpath 14:26, 24 September 2024 (UTC)