Template talk:EMedicine

From WikiProjectMed
Jump to navigation Jump to search
WikiProject iconMedicine Template‑class
WikiProject iconThis template is within the scope of WikiProject Medicine. Please visit the project page for details or ask questions at Wikipedia talk:WikiProject Medicine.
TemplateThis template does not require a rating on Wikipedia's content assessment scale.

I removed the links to the clinical and treatment section, as I expect people will find these by themselves... --WS 21:49, 30 December 2005 (UTC)[reply]

Explain

Could someone explain how to use this template and what it's useful for? Thanks much, delldot | talk 21:55, 14 January 2007 (UTC)[reply]

To create links to eMedicine articles like this: {{eMedicine|ped|101}} resulting in this: ped/100 at eMedicine. --WS 00:16, 15 January 2007 (UTC)[reply]
I've expanded the description by use of /doc subpage. David Ruben Talk 22:48, 22 September 2007 (UTC)[reply]

New question, is there a way to use the same format to cite?Gizmo.AT (talk) 14:36, 27 March 2012 (UTC)[reply]

eMedicine webpage restructuring

Previously eMedicine structured pages by field and topic-number

<code>Hence: http://www.emedicine.com/<<field>>/topic<<topic number>>.htm and then optional sections of #section~<<section>></code> Example, for the paediatric orientated article on [[Pityriasis alba]]: :<code>Coding: {{eMedicine|ped|1813}}</code>
Gives : ped/1813 at eMedicine

However, eMedicine now internally redirects the above link to its /article space as http://emedicine.medscape.com/article/910770-overview seemingly without ability to link to headers within that page but offering fairly consistant subpages of say http://emedicine.medscape.com/article/910770-treatment

So the old <<field>> <<topic number>> style still works, and indeed we need to allow for this preserved backwards compatability usage where this template is still so used. I have though now modified the coding to accept the new style where the 1st parameter (old <<field>>) is defined as "article" and this will link to the top-page article suffixed as "-overview" where the optional 4th <<section>> is not specified.

This template still therefore takes the mandatory 2 parameter value input (to preserve backwards compatability), but now must use the new eMedicine URL structure whenever the first <<field>> parameter is given as "article"

Hence: http://www.emedicine.com/article/<<topic number>>-<<section>> where section defaults to "overview"

Hence for our paedicatric-orientated pityriasis alba link (if we had not known the old page-style of "ped/topic1813") would now be directly given as:

Coding: {{eMedicine|article|910770}}
Showing as: article/910770 at eMedicine

The optional 3rd parameter for alternative display name remains:

Coding: {{eMedicine|article|910770|Pityriasis Alba}}
Showing as: Pityriasis Alba at eMedicine

and likewise the alternative final optional 4th parameter for sections:

Coding: {{eMedicine|article|910770|Pityriasis Alba|treatment}}
Showing as: Pityriasis Alba~treatment at eMedicine

05:57, 10 January 2009 David Ruben Talk

Link failure

It is to be noted that the links with eMedicine_subj other than 'article' (like 'med', 'emerg' etc.) are not working. Any suggestions on how to resolve the issue or how to replace them with working links in the eMedicine article space? DiptanshuTalk 14:57, 2 March 2014 (UTC)[reply]

It looks like the links were working in June 2013 and are archived on archive.org, so they could be resolved and converted to the article/number form ie ped/1813.
Given the old links are broken, restructuring the Template may be worthwhile. RDBrown (talk) 10:36, 12 March 2014 (UTC)[reply]