Difference between revisions of "Template:MSW3 Sfn"

From blackwiki
Jump to navigation Jump to search
imported>Ucucha
(revert to somewhat less broken version while I try to fix the problem)
imported>Ucucha
(fix?)
Line 1: Line 1:
<includeonly>{{Sfn|{{{1}}}|{{{2|}}}|2005{{{unique|}}}|p={{{p|}}}|pp={{{pp|}}}|loc={{{loc|{{#if:{{{id|}}}|[http://www.bucknell.edu/msw3/browse.asp?id={{{id}}} {{{heading|{{{id}}}}}}]}}}}}}}</includeonly><noinclude>{{documentation}}</noinclude>
+
<includeonldy>{{Sfn
 +
|1={{{1}}}
 +
|2={{#if:{{{2|}}}|{{{2}}}|2005{{{unique|}}}}}
 +
|3={{#if:{{{2|}}}|2005{{{unique|}}}}}
 +
|p={{{p|}}}
 +
|pp={{{pp|}}}
 +
|loc={{{loc|{{#if:{{{id|}}}|[http://www.bucknell.edu/msw3/browse.asp?id={{{id}}} {{{heading|{{{id}}}}}}]}}}}}}}</includeonly><noinclude>{{documentation}}</noinclude>
 +
 
 +
<references/>

Revision as of 08:07, 28 May 2011

<includeonldy>[1]</includeonly>

Template documentation[view] [edit] [history] [purge]

This template generates {{Sfn}} citations to Mammal Species of the World. In addition to all standard Sfn parameters (|p=, |pp=, and |loc=), it supports the following parameters:

  • |id=: ID of the taxon cited in [1].
  • |heading=: heading for the taxon cited. If this is not given, the ID is shown.
  • |unique=: identifier after the year, which helps makes unique citations possible when citing multiple MSW3 contributions with the same author.

The year should not given.

Examples

Code:

Lorem{{MSW3 Sfn|Groves|id=12100002|heading=Strepsirrhini|unique=b}} ipsum{{MSW3 Sfn|Groves|id=11000001|heading=Diprotodontia|unique=a}} dolor{{MSW3 Sfn|Musser|Carleton|id=13000784|heading=''Oryzomys''}} sit amet.

Result:

Lorem<includeonldy>[2]
ipsum<includeonldy>[1] dolor<includeonldy>[1] sit amet.

References

Literature cited

  • Groves, C.P. (2005a). "Order Diprotodontia". In Wilson, D.E.; Reeder, D.M. (eds.). Mammal Species of the World: A Taxonomic and Geographic Reference (3rd ed.). Baltimore, Maryland: The Johns Hopkins University Press. pp. 43–70. ISBN 978-0-8018-8221-0.
  • Groves, C.P. (2005b). "Order Primates". In Wilson, D.E.; Reeder, D.M. (eds.). Mammal Species of the World: A Taxonomic and Geographic Reference (3rd ed.). Baltimore, Maryland: The Johns Hopkins University Press. pp. 111–184. ISBN 978-0-8018-8221-0.
  • Musser, G.G.; Carleton, M.D. (2005). "Superfamily Muroidea". In Wilson, D.E.; Reeder, D.M. (eds.). Mammal Species of the World: A Taxonomic and Geographic Reference (3rd ed.). Baltimore: The Johns Hopkins University Press. pp. 894–1531. ISBN 978-0-8018-8221-0.