Difference between revisions of "Template:EMedicine/doc"
Jump to navigation
Jump to search
imported>Drgarden |
imported>Davidruben (include 4th parameter instruction) |
||
| Line 5: | Line 5: | ||
This template may be used to externally link to [[eMedicine]] articles. | This template may be used to externally link to [[eMedicine]] articles. | ||
| − | It requires at least two parameters giving the medical field and topic number, but may optionally have a third parameter giving alternative text of the disease name. | + | It requires at least two parameters giving the medical field and topic number, but may optionally have a third parameter giving alternative text of the disease name, and finally an optional fourth parameter to a section name. |
Hence: <nowiki>{{EMedicine|emerg|43}}</nowiki> | Hence: <nowiki>{{EMedicine|emerg|43}}</nowiki> | ||
| Line 12: | Line 12: | ||
Whilst <nowiki>{{EMedicine|emerg|43|Asthma}}</nowiki> | Whilst <nowiki>{{EMedicine|emerg|43|Asthma}}</nowiki> | ||
Gives: {{EMedicine|emerg|43|Asthma}} | Gives: {{EMedicine|emerg|43|Asthma}} | ||
| + | |||
| + | Section <nowiki>{{EMedicine|emerg|43|Asthma|Medication}}</nowiki> | ||
| + | Gives: {{EMedicine|emerg|43|Asthma|Medication}} | ||
==eMedicine URLs== | ==eMedicine URLs== | ||
| − | This template configures the url for: <nowiki>http://www.emedicine.com/<<field>>/topic<<topic number>>.htm</nowiki> | + | This template configures the url for: <nowiki>http://www.emedicine.com/<<field>>/topic<<topic number>>.htm</nowiki> and optional section of #section~<<section>> |
Revision as of 00:17, 26 October 2008
| This is a documentation subpage for Template:EMedicine. It contains usage information, categories and other content that is not part of the original template page. |
Notes on use
This template may be used to externally link to eMedicine articles.
It requires at least two parameters giving the medical field and topic number, but may optionally have a third parameter giving alternative text of the disease name, and finally an optional fourth parameter to a section name.
Hence: {{EMedicine|emerg|43}}
Gives: emerg/43 at eMedicine
Whilst {{EMedicine|emerg|43|Asthma}}
Gives: Asthma at eMedicine
Section {{EMedicine|emerg|43|Asthma|Medication}}
Gives: Asthma~Medication at eMedicine
eMedicine URLs
This template configures the url for: http://www.emedicine.com/<<field>>/topic<<topic number>>.htm and optional section of #section~<<section>>