Difference between revisions of "Template:EMedicine2"

From blackwiki
Jump to navigation Jump to search
imported>Davidruben
(eMedicine site restructured - old system works (and this template backwards compatable) - see Template talk:EMedicine for explanation)
imported>WOSlinker
(remove {{pp-template}})
Line 1: Line 1:
 
{{#ifeq: {{{1}}}|article|[http://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>
 
{{#ifeq: {{{1}}}|article|[http://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>

Revision as of 14:14, 4 October 2010

{{{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