Difference between revisions of "Template:LoM1/doc"

From blackwiki
Jump to navigation Jump to search
imported>Maky
(→‎See also: update See also)
imported>Maky
(update doc)
Line 13: Line 13:
 
|pages=
 
|pages=
 
|page=
 
|page=
|harv
 
 
}}</pre>
 
}}</pre>
 
|
 
|
Line 19: Line 18:
 
*'''page''': (<u>Optional</u>)—The single page where the citation is found within the printed book. (e.g. 19)
 
*'''page''': (<u>Optional</u>)—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.
 
::'''Note:''' Please use either ''pages'' or ''page'', but not both.
*'''harv''': (<u>Optional</u>)—This sets the parameter "|ref=harv" in the citation for linking from notes.
 
 
|}
 
|}
  
Line 53: Line 51:
  
 
=====Example 3=====
 
=====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 [[Help:Footnotes#List-defined references|list-defined references (LDR)]]), wrap [[Template:LoM1 Harvnb]] in a [[Template:Ref|ref tag]].  In the ''Books cited'' or similar section, use the this template with the "harv" parameter.
+
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 short [[WP:Harvard reference|author-date citation]] in a footnotes and the ''harv'' parameter to allow linking from footnote to the full reference.  This is done by using this template in conjunction with either {{tl|LoM1 Sfn}} or {{tl|LoM1 Harvnb}}The two are very similar, although the advantage of using {{tl|LoM1 Sfn}} over {{tl|LoM1 Harvnb}} is that no reference tags are needed, and multiple Sfn templates using the same page/location tags will automatically be consolidated in the references section.
  
For example, the [[Template:LoM1 Harvnb]] will create a reference that will link to the full citation created by this template.
+
{| class="wikitable"
 +
|-
 +
! width=400 | Markup !! width = 300 | Result
 +
|-<!-------------------------------------------------------------------------------------------------------->
 +
|<pre>At least 17 giant lemurs used to live
 +
on Madagascar.{{LoM1 Sfn | page = 22}}  There
 +
were also 3 kinds of giant eagles and 8 kinds
 +
of elephant bird on the island up until
 +
recently.{{LoM1 Sfn | page = 22}}
  
<pre>
+
The introduced tree ''Leucaena leucocephala''
<nowiki>
+
causes hair loss in ring-tailed
<ref name="LoM1_19">{{LoM1 Harvnb | page = 19}}</ref>
+
lemurs.{{LoM1 Sfn | pages = 368–375}}
</nowiki>
+
 
 +
First documented by sailors before the 17th
 +
century, intensive studies of lemur behavior
 +
did not begin until the
 +
1960s.{{LoM1 Sfn | loc = chapter 4}}
 +
 
 +
== Notes ==
 +
{{reflist}}
 +
 
 +
== References ==
 +
* {{LoM1 | harv}}
 
</pre>
 
</pre>
 +
|At least 17 giant lemurs used to live on Madagascar.{{LoM1 Sfn | page = 22}} There were also 3 kinds of giant eagles and 8 kinds of elephant bird on the island up until recently.{{LoM1 Sfn | page = 22}}
 +
 +
The introduced tree ''Leucaena leucocephala'' causes hair loss in ring-tailed lemurs.{{LoM1 Sfn | pages = 368–375}}
 +
 +
First documented by sailors before the 17th century, intensive studies of lemur behavior did not begin until the 1960s.{{LoM1 Sfn | loc = chapter 4}}
 +
 +
{{fake notes and references||}}
 +
* {{cite book
 +
| title = [[Lemurs of Madagascar (book)|Lemurs of Madagascar]]
 +
| last1 = Mittermeier
 +
| first1 = R.A.
 +
| last2 = Tattersall
 +
| first2 = I.
 +
| last3 = Konstant
 +
| first3 = W.R.
 +
| last4 = Meyers
 +
| first4 = D.M.
 +
| last5 = Mast
 +
| first5 = R.B.
 +
| authorlink1 = Russell Mittermeier
 +
| authorlink2 = Ian Tattersall
 +
| others = Illustrated by S.D. Nash
 +
| edition = 1st
 +
| publisher = [[Conservation International]]
 +
| year = 1994
 +
| isbn = 1-881173-08-9
 +
| ref = harv
 +
}}
 +
|-<!-------------------------------------------------------------------------------------------------------->
 +
|<pre>At least 17 giant lemurs used to live
 +
on Madagascar.<ref name=LoM_p22>{{LoM1 Harvnb
 +
| page = 22}}</ref>  There were also 3 kinds
 +
of giant eagles and 8 kinds of elephant bird
 +
on the island up until recently.<ref name=LoM_p22/>
  
<pre>
+
The introduced tree ''Leucaena leucocephala''
<nowiki>
+
causes hair loss in ring-tailed
<ref name="LoM1_160–169">{{LoM1 Harvnb | pages = 160–169}}</ref>
+
lemurs.<ref>{{LoM1 Harvnb | pages = 368–375}}</ref>
</nowiki>
 
</pre>
 
  
<pre>
+
First documented by sailors before the 17th
<nowiki>
+
century, intensive studies of lemur behavior
<ref name="LoM1_Ch4">{{LoM1 Harvnb | loc = chapter 4}}</ref>
+
did not begin until the
</nowiki>
+
1960s.<ref name=LoM1_Ch4>{{LoM1 Harvnb |  
</pre>
+
loc = chapter 4}}</ref>
  
When listing the book somewhere in the ''References'', use the following:
+
== Notes ==
 +
{{reflist}}
  
<pre>
+
== References ==
<nowiki>
+
* {{LoM1}}
{{LoM1 | harv}}
 
</nowiki>
 
 
</pre>
 
</pre>
 +
|At least 17 giant lemurs used to live on Madagascar.<ref name=LoM_p22>{{LoM1 Harvnb | page = 22}}</ref> There were also 3 kinds of giant eagles and 8 kinds of elephant bird on the island up until recently.<ref name=LoM_p22/>
  
If used properly with reference tags, this yields:
+
The introduced tree ''Leucaena leucocephala'' causes hair loss in ring-tailed lemurs.<ref>{{LoM1 Harvnb | pages = 368–375}}</ref>
  
:'''<big>References</big>'''<br>
+
First documented by sailors before the 17th century, intensive studies of lemur behavior did not begin until the 1960s.<ref name=LoM1_Ch4>{{LoM1 Harvnb | loc = chapter 4}}</ref>
:# {{LoM1 Harvnb | page = 19}}
 
:# {{LoM1 Harvnb | pages = 160–169}}
 
:# {{LoM1 Harvnb | loc = chapter 4}}
 
  
:;Books cited
+
{{fake notes and references||}}
:* {{LoM1 | harv}}
+
* {{cite book
 +
| title = [[Lemurs of Madagascar (book)|Lemurs of Madagascar]]
 +
| last1 = Mittermeier
 +
| first1 = R.A.
 +
| last2 = Tattersall
 +
| first2 = I.
 +
| last3 = Konstant
 +
| first3 = W.R.
 +
| last4 = Meyers
 +
| first4 = D.M.
 +
| last5 = Mast
 +
| first5 = R.B.
 +
| authorlink1 = Russell Mittermeier
 +
| authorlink2 = Ian Tattersall
 +
| others = Illustrated by S.D. Nash
 +
| edition = 1st
 +
| publisher = [[Conservation International]]
 +
| year = 1994
 +
| isbn = 1-881173-08-9
 +
| ref = harv
 +
}}
 +
|}
  
 
=== See also ===
 
=== See also ===
*[[Template:LoM1 Harvnb]]
+
*[[Template:LoM3]]
 +
*[[Template:LoM3 Sfn]]
 +
*[[Template:LoM3 Harvnb]]
 
*[[Template:LoM2]]
 
*[[Template:LoM2]]
 +
*[[Template:LoM2 Sfn]]
 
*[[Template:LoM2 Harvnb]]
 
*[[Template:LoM2 Harvnb]]
*[[Template:LoM3]]
+
*[[Template:LoM1 Sfn]]
*[[Template:LoM3 Harvnb]]
+
*[[Template:LoM1 Harvnb]]
  
 
<includeonly>
 
<includeonly>

Revision as of 06:07, 17 February 2011


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=
}}
  • 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.

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 short author-date citation in a footnotes and the harv parameter to allow linking from footnote to the full reference. This is done by using this template in conjunction with either {{LoM1 Sfn}} or {{LoM1 Harvnb}}. The two are very similar, although the advantage of using {{LoM1 Sfn}} over {{LoM1 Harvnb}} is that no reference tags are needed, and multiple Sfn templates using the same page/location tags will automatically be consolidated in the references section.

Markup Result
At least 17 giant lemurs used to live 
on Madagascar.{{LoM1 Sfn | page = 22}}  There 
were also 3 kinds of giant eagles and 8 kinds 
of elephant bird on the island up until 
recently.{{LoM1 Sfn | page = 22}}

The introduced tree ''Leucaena leucocephala'' 
causes hair loss in ring-tailed 
lemurs.{{LoM1 Sfn | pages = 368–375}}

First documented by sailors before the 17th 
century, intensive studies of lemur behavior 
did not begin until the 
1960s.{{LoM1 Sfn | loc = chapter 4}}

== Notes ==
{{reflist}}

== References ==
* {{LoM1 | harv}}
At least 17 giant lemurs used to live on Madagascar.[1] There were also 3 kinds of giant eagles and 8 kinds of elephant bird on the island up until recently.[1]

The introduced tree Leucaena leucocephala causes hair loss in ring-tailed lemurs.[2]

First documented by sailors before the 17th century, intensive studies of lemur behavior did not begin until the 1960s.[3]


Notes
References
At least 17 giant lemurs used to live 
on Madagascar.<ref name=LoM_p22>{{LoM1 Harvnb
 | page = 22}}</ref>  There were also 3 kinds 
of giant eagles and 8 kinds of elephant bird 
on the island up until recently.<ref name=LoM_p22/>

The introduced tree ''Leucaena leucocephala'' 
causes hair loss in ring-tailed 
lemurs.<ref>{{LoM1 Harvnb | pages = 368–375}}</ref>

First documented by sailors before the 17th 
century, intensive studies of lemur behavior 
did not begin until the 
1960s.<ref name=LoM1_Ch4>{{LoM1 Harvnb | 
loc = chapter 4}}</ref>

== Notes ==
{{reflist}}

== References ==
* {{LoM1}}
At least 17 giant lemurs used to live on Madagascar.[1] There were also 3 kinds of giant eagles and 8 kinds of elephant bird on the island up until recently.[1]

The introduced tree Leucaena leucocephala causes hair loss in ring-tailed lemurs.[2]

First documented by sailors before the 17th century, intensive studies of lemur behavior did not begin until the 1960s.[3]


Notes
References

See also