Difference between revisions of "Template:EMedicine2"

From blackwiki
Jump to navigation Jump to search
imported>RockMFR
(moved to /doc)
imported>Elegie
(Use HTTPS for eMedicine links in the "article" category (from what it appears, the HTTP URL generates at minimum a 301 redirect to an HTTPS URL.))
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[http://www.emedicine.com/{{{1}}}/topic{{{2}}}.htm {{{1}}}/{{{2}}}]<noinclude>
+
{{#ifeq: {{{1}}}|article|[https://emedicine.medscape.com/article/{{{2}}}-{{{4|overview}}}|[http://www.emedicine.com/{{{1}}}/topic{{{2}}}.htm#{{#if: {{{4|}}}|section~{{{4}}}}}}} {{{3|{{{1}}}/{{{2}}}}}}{{#if: {{{4|}}}|~{{{4}}}}}]<noinclude>
{{pp-template|small=yes}}
 
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 10:42, 24 February 2018

{{{1}}}/{{{2}}}

Template documentation[view] [edit] [history] [purge]

This template takes same parameter structure as for {{eMedicine}} but does not conclude with "at eMedicine".

See {{EMedicine/doc}} for usage

Hence: {{EMedicine2|article|806890}}
Gives: article/806890

Whilst the previous eMedicine website style preserved in this template's coding (eMedicine site internally will redirect to the same article)

Hence: {{EMedicine2|emerg|43}}
Gives: emerg/43