跳转到内容

Template:MerckManual/doc

维基百科,自由的百科全书

Notes on use

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

3 parameters are required, with options (to maintain backwards compatibility) 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 毛囊炎:

Markup  {{MerckManual|10|119|f}}
Giving  10-119f. 来自默克诊疗手册专业版
 
The new fifth parameter allows:
Markup  {{MerckManual|10|119|f||Folliculitis}}
Giving  Folliculitis 来自默克诊疗手册专业版

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英语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英语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}}}