Difference between revisions of "Template:EMedicine2"
Jump to navigation
Jump to search
imported>WOSlinker m (Changed protection level of Template:EMedicine2: allow template editors to modify ([Edit=Protected template] (indefinite) [Move=Protected template] (indefinite))) |
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.)) |
||
| Line 1: | Line 1: | ||
| − | {{#ifeq: {{{1}}}|article|[ | + | {{#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> |
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||
Latest revision as of 10:42, 24 February 2018
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
| The above documentation is transcluded from Template:EMedicine2/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |