Difference between revisions of "Template:LoM2/doc"

From blackwiki
Jump to navigation Jump to search
imported>Maky
(→‎See also: update See also)
imported>Maky
(→‎Usage: fix link)
Line 4: Line 4:
  
 
=== Usage ===
 
=== Usage ===
This template is used to generate a citation to any part of the 2nd edition of ''[[Lemurs of Madagascar]]'' (LoM2), illustrated by Stephen D. Nash and written by [[Russell Mittermeier]], ''et al.''
+
This template is used to generate a citation to any part of the 2nd edition of ''[[Lemurs of Madagascar (book)|Lemurs of Madagascar]]'' (LoM2), illustrated by Stephen D. Nash and written by [[Russell Mittermeier]], ''et al.''
  
 
====Parameters====
 
====Parameters====

Revision as of 00:19, 14 November 2010


Usage

This template is used to generate a citation to any part of the 2nd edition of Lemurs of Madagascar (LoM2), illustrated by Stephen D. Nash and written by Russell Mittermeier, et al.

Parameters

{{LoM2
|pages=
|page=
|harv
}}
  • pages: (Optional)—The page range where the citation is found within the printed book. (e.g. 237–249)
  • page: (Optional)—The single page where the citation is found within the printed book. (e.g. 23)
Note: Please use either pages or page, but not both.
  • harv: (Optional)—This sets the parameter "|ref=harv" in the citation for linking from notes.

Examples

Example 1

In an article that uses only one individual page references to LoM2, use only the page parameter as follow:


{{LoM2 | page = 23}}

This yields:

Mittermeier, R.A.; Konstant, W.R.; Hawkins, F.; Louis, E.E.; et al. (2006). Lemurs of Madagascar. Illustrated by S.D. Nash (2nd ed.). Conservation International. p. 23. ISBN 1-881173-88-7. OCLC 883321520.


Example 2

In an article that references a page range within LoM2, such as an entire section on the Ring-tailed Lemur, use only the pages parameter as follow:


{{LoM2 | pages = 237–249}}

This yields:

Mittermeier, R.A.; Konstant, W.R.; Hawkins, F.; Louis, E.E.; et al. (2006). Lemurs of Madagascar. Illustrated by S.D. Nash (2nd ed.). Conservation International. pp. 237–249. ISBN 1-881173-88-7. OCLC 883321520.


Example 3

In a large article that uses many individual page references to LoM2, such as the article Lemur, do not use the page or pages parameter, but instead use the harv parameter to allow linking from note references. This is used in conjunction with Template:LoM2 Harvnb. In the text of the article (or in the References section if using list-defined references (LDR)), wrap Template:LoM2 Harvnb in a ref tag. In the Books cited or similar section, use this template with the "harv" parameter.

For example, the Template:LoM2 Harvnb will create a reference that will link to the full citation created by this template.


<ref name="LoM2_23">{{LoM2 Harvnb | page = 23}}</ref>


<ref name="LoM2_237-249">{{LoM2 Harvnb | pages = 237–249}}</ref>


<ref name="LoM2_Ch4">{{LoM2 Harvnb | loc = chapter 4}}</ref>

When listing the book somewhere in the References, use the following:


{{LoM2 | harv}}

If used properly with reference tags, this yields:

References
  1. Mittermeier et al. 2006, p. 23
  2. Mittermeier et al. 2006, pp. 237–249
  3. Mittermeier et al. 2006, chapter 4
Books cited

See also