Difference between revisions of "Template:LoM1/doc"

From blackwiki
Jump to navigation Jump to search
imported>Maky
(→‎Usage: fix link again)
imported>Maky
(add Category)
Line 101: Line 101:
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
[[Category:Biology templates]]
 
[[Category:Biology templates]]
 +
[[Category:Specific-source templates]]
  
 
</includeonly>
 
</includeonly>

Revision as of 06:21, 31 May 2010


Usage

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

Parameters

{{LoM1
|pages=
|page=
|harv
}}
  • pages: (Optional)—The page range where the citation is found within the printed book. (e.g. 160–169)
  • page: (Optional)—The single page where the citation is found within the printed book. (e.g. 19)
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 LoM1, use only the page parameter as follow:


{{LoM1 | page = 19}}

This yields:

Mittermeier, R.A.; Tattersall, I.; Konstant, W.R.; Meyers, D.M.; Mast, R.B. (1994). Lemurs of Madagascar. Illustrated by S.D. Nash (1st ed.). Conservation International. p. 19. ISBN 1-881173-08-9. OCLC 32480729.


Example 2

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


{{LoM1 | pages = 160–169}}

This yields:

Mittermeier, R.A.; Tattersall, I.; Konstant, W.R.; Meyers, D.M.; Mast, R.B. (1994). Lemurs of Madagascar. Illustrated by S.D. Nash (1st ed.). Conservation International. pp. 160–169. ISBN 1-881173-08-9. OCLC 32480729.


Example 3

In a large article that uses many individual page references to LoM1, 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:LoM1 Harvnb. In the text of the article (or in the References section if using list-defined references (LDR)), wrap Template:LoM1 Harvnb in a ref tag. In the Books cited or similar section, use the this template with the "harv" parameter.

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


<ref name="LoM1_19">{{LoM1 Harvnb | page = 19}}</ref>


<ref name="LoM1_160–169">{{LoM1 Harvnb | pages = 160–169}}</ref>


<ref name="LoM1_Ch4">{{LoM1 Harvnb | loc = chapter 4}}</ref>

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


{{LoM1 | harv}}

If used properly with reference tags, this yields:

References
  1. Mittermeier et al. 1994, p. 19
  2. Mittermeier et al. 1994, pp. 160–169
  3. Mittermeier et al. 1994, chapter 4
Books cited

See also