Difference between revisions of "Template:Citation"

From WikiVet English
Jump to navigation Jump to search
m
m
Line 32: Line 32:
 
  |pub =  
 
  |pub =  
 
  |range =  
 
  |range =  
  <nowiki>}}</nowiki>
+
  <nowiki>}} </nowiki>
 +
'''NB: Template can be used in a single line to save space:
 +
*<nowiki>{{citation</nowiki> |initiallast =  |initialfirst =  |2last = |2first = |3last = |3first = |4last = |4first = |5last = |5first = |6last = |6first = |finallast = |finalfirst = |year =  |title =  |ed =  |city =  |pub =  |range = <nowiki>}}</nowiki>
 
==Example==
 
==Example==
 
===For a single author with no page reference:===
 
===For a single author with no page reference:===
Line 56: Line 58:
 
|pub = Saunders
 
|pub = Saunders
 
}} </p>
 
}} </p>
<br>
 
 
===For several authors with page reference:===
 
===For several authors with page reference:===
 
  <nowiki>
 
  <nowiki>

Revision as of 18:07, 7 July 2008


Usage

This template can be used to create references using the Harvard system. To use the template copy the code below. You only need to include the variables that you are using.

Authors

The first name being referenced should always by 'initiallast' and 'initialfirst' and the last name being referenced should always be 'finallast' and 'finalfirst'. Therefore:

  • A single author book/journal would include 'initiallast' and 'initialfirst'
  • A book with two authors would include 'initiallast', 'initialfirst', 'finallast' and 'finalfirst
  • A book with several authors would be 'initiallast', 'initialfirst', '2last', '2first' ... 'finallast' and 'finalfirst


{{citation
|initiallast = 
|initialfirst = 
|2last =
|2first =
|3last =
|3first =
|4last =
|4first =
|5last =
|5first =
|6last =
|6first =
|finallast =
|finalfirst =
|year = 
|title = 
|ed = 
|city = 
|pub = 
|range = 
}} 

NB: Template can be used in a single line to save space:

  • {{citation |initiallast = |initialfirst = |2last = |2first = |3last = |3first = |4last = |4first = |5last = |5first = |6last = |6first = |finallast = |finalfirst = |year = |title = |ed = |city = |pub = |range = }}

Example

For a single author with no page reference:

{{citation
|initiallast = Tizard
|initialfirst = I
|year = 2004
|title = Veterinary Immunology: An Introduction
|ed = 7th ed.
|city = Philadelphia
|pub = Saunders
|range = 23-35
}}

Gives:

Tizard, I. (2004) Veterinary Immunology: An Introduction. 7th ed. ed. Philadelphia: Saunders.

For several authors with page reference:

{{citation
|initiallast = Janeway
|initialfirst = C
|2last = Travers
|2first = P
|3last = Walport
|3first = M
|finallast = Sholmchik
|finalfirst = M
|year = 2005
|title = Immunobiology: The immune system in health and disease
|ed = 6th ed.
|city = New York
|pub = Garland Science Publishing
|range = 1-35
}}

Gives:

Janeway, C., Travers, P., Walport, M. and Sholmchik, M. (2005) Immunobiology: The immune system in health and disease. 6th ed. ed. New York: Garland Science Publishing. pp.1-35.