Template:MerckManual/doc

From Wikipedia, the free encyclopedia

This is a documentation subpage for Template:MerckManual (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.

Notes on use

The MerckManual and MerckHome templates helps markup links to respectively the Professional Edition and Home Edition of the Merck Manual of Diagnosis and Therapy medical textbooks.

3 parameters are required, with options (to maintain backwards compatability) for a 4th for page number and 5th for alternative displayed text.

  1. Section number
  2. Chapter number
  3. Topic letter
  4. Page number
  5. Optional title text


Example for the skin condition Folliculitis:

Markup  {{MerckManual|10|119|f}}
Giving  10-119f. at Merck Manual of Diagnosis and Therapy Professional Edition
 
The new fifth parameter allows:
Markup  {{MerckManual|10|119|f||Folliculitis}}
Giving  Folliculitis at Merck Manual of Diagnosis and Therapy Professional Edition

On the home edition example using a page number:

Markup  {{MerckHome|18|211|h|499}}
Giving  18-211h.499 at Merck Manual of Diagnosis and Therapy Home Edition
 
and with page number and alternative text:
Markup  {{MerckHome|18|211|h|499|Lymphadenitis}}
Giving  Lymphadenitis at Merck Manual of Diagnosis and Therapy Home Edition


MerckManual URLs

Template:MerckManual configures the url for Professional Edition: http://www.merck.com/mmpe/sec{{{1}}}/ch{{{2}}}/ch{{{2}}}{{{3}}}.html and where pagenumbers given http://www.merck.com/mmpe/sec{{{1}}}/ch{{{2}}}/ch{{{2}}}{{{3}}}.html#sec{{{1}}}-ch{{{2}}}-ch{{{2}}}{{{3}}}-{{{4}}}

Template:MercHome configures the url for Home Edition: http://www.merck.com/mmhe/sec{{{1}}}/ch{{{2}}}/ch{{{2}}}{{{3}}}.html and where pagenumbers given http://www.merck.com/mmhe/sec{{{1}}}/ch{{{2}}}/ch{{{2}}}{{{3}}}.html#sec{{{1}}}-ch{{{2}}}-ch{{{2}}}{{{3}}}-{{{4}}}