Template:reference-book

Definition from Wiktionary, the free dictionary
Jump to: navigation, search

(Can we date this quote?) {{{title}}}:


The following documentation is located at Template:reference-book/documentation. [edit]
Zeichen 215 - Kreisverkehr, StVO 2000.svg A user suggests that this template be moved, merged or split.
Please see the discussion on Requests for moves, mergers and splits(+) or the talk page for more information and remove this template after the request has been fulfilled.


This template is used to cite sources of quotations serving to attest senses, per WT:ATTEST. It is specifically for books. The template should not be used in "References" and "External links" sections. See also {{quote-book}} with a similar purpose.

Usage

All fields must be lowercase. Copy a blank version to use:

Full version Most common fields
{{reference-book
 | last = 
 | first = 
 | authorlink = 
 | coauthors = 
 | editor = 
 | others = 
 | title = 
 | origdate = 
 | origyear = 
 | origmonth = 
 | url = 
 | format = 
 | accessdate = 
 | accessyear = 
 | accessmonth = 
 | edition = 
 | date = 
 | year = 
 | month = 
 | publisher = 
 | location = 
 | language = 
 | id = 
 | doi =
 | isbn =
 | lccn =
 | ol =
 | pages = 
 | chapter = 
 | chapterurl = 
 | quote =
}}
{{reference-book
 | last = 
 | first = 
 | authorlink = 
 | coauthors = 
 | year = 
 | title = 
 | publisher = 
 | location = 
 | id = 
}}

Fields

Wikilinks

Most fields can be wikilinked (ie. title = [[book article|book title]]), but should generally only be linked to an existing Wikipedia article. Any wikilinked field must not contain any brackets apart from normal round brackets () — don't use <>[]{}.

Description of fields

Syntax (for the technical-minded)

Nested fields either rely on their parent fields, or replace them:

  • parent
    • child — may be used with parent (and is ignored if parent is not used)
    • OR: child2 — may be used instead of parent (and is ignored if parent is used)

Description

  • last: Surname of author. Don't wikilink (use authorlink instead).
    • first: First name(s) of author, including title(s) (eg. Firstname Middlename or Firstname M. or Dr. Firstname M., Snr.). Don't wikilink (use authorlink instead).
      • The `last' and `first' fields are poorly named for the case of an author whose surname is usually written first (e.g. as in Chinese). They also have the problem of only communicating which is the surname, not communicating where the surname is usually written. Consider deprecating first,last fields, and reinstating author field, using the notation "Smith, John" or "Hu Ke Jie" as appropriate (i.e. always writing surname first, and using comma or not depending on whether the name is usually written surname last or first).
    • authorlink: Title of Wikipedia article about author. Article should already exist. Must not be wikilinked itself. Do not use this on its own, but along with "author" or "first" and "last".
    • coauthors: Full name of additional author or authors, surname last, separated by ", " (eg. Joe Bloggs, John F. Kennedy, H. R. Dent).
      • Someone please confirm that surname is to go last even for people whose name is usually written surname first. Consider rethinking this field, e.g. using Bloggs, Joe and Kennedy, John F. and Dent, H. R. and Hu Ke Jie.
    • OR: author: Full name of author, preferably surname first.
  • editor: No text is added, so labels such as "(ed.)" have to be supplied by the user.
  • others: For uses such as "illustrated by Smith" or "trans. Smith".
  • title: Title of book. This is the only required parameter. Can be wikilinked only to an existing Wikipedia article.
  • url: URL of an online book. Cannot be used if you wikilinked title.
    • format: Format, i.e. PDF. HTTP implied if not specified.
    • accessdate: Full date when item was accessed, in w:ISO 8601 YYYY-MM-DD format, eg. 2006-02-17. Required when url field is used. Must not be wikilinked.
      • OR: accessyear: Year when item was accessed, and accessmonth: Month when item was accessed. If you also have the day, use accessdate instead. Must not be wikilinked.
  • edition: When the book has more than one edition. eg: "2nd edition".
  • origdate: Full date of publication of original edition, in w:ISO 8601 YYYY-MM-DD format, eg. 2004-06-27. Must not be wikilinked.
    • OR: origyear: Year of publication of original edition, and origmonth: Month of publication of original edition. If you also have the day, use date instead. Must not be wikilinked.
  • date: Full date of publication, in w:ISO 8601 YYYY-MM-DD format, eg. 2006-02-17. Must not be wikilinked.
    • OR: year: Year of publication, and month: Name of the month of publication. If you also have the day, use date instead. Must not be wikilinked.
    • OR: nodate=1: To be used when you don't want the template to use {{rfdate}}; for example, books of the Bible whose date is subject to controversy.
  • publisher: Publisher should not include corporate designation such is "Ltd" or "Inc".
    • location: Place of publication.
  • language: The language the book is written in, if it is not English.
  • id: Identifier such as ISBN 1-111-22222-9 or {{LCC|Z253.U69}}. Remember, you must specify the kind of identifier, not just give a number.
  • isbn : International Standard Book Number. Note that |isbn=, like all parameter names, must be in lowercase. The parameter must not be wikilinked as the template automatically creates a link. Use 13-digit ISBN whenever possible.
  • lccn : Library of Congress Control Number ID number such as 84048208. Automatically creates Library of Congress links. Older pre-ISBN LCCNs are sometimes printed on copyright pages with zeroes replaced by a hyphen (ex. 03-2131 instead of 03002131); use full 8-digit LCCN like LoC permalinks do.
  • ol : Open Library ID, without the "OL" prefix. Automatically creates link. A project of the Internet Archive with includes many digitized public domain books, and library books one can check out and read online.
  • oclc : Online Computer Library Center ID number, such as 3185581. The parameter must not be wikilinked as the template automatically creates a link.
  • doi: w:digital object identifier.
  • pages: 5–7: first page and optional last page. This is for listing the pages relevant to the citation, not the total number of pages in the book.
  • chapter: The chapter of the book, written in full. Punctuation other than quotes should be included in the value passed to the parameter, eg. chapter = Meet Dick and Jane. produces "Meet Dick and Jane." ahead of title.
    • chapterurl: URL of an individual chapter of online book. Should be at the same site as url, if any.
  • quote: Relevant quote from the book.

</onlyinclude>

Examples

Just a title
* {{reference-book | title=Mysterious book }}
  • (Can we date this quote?) Mysterious book:
Year and title
* {{reference-book | title=Mysterious book | year=1901 }}
  • 1901, Mysterious book:
Basic usage
* {{reference-book | first=Joe | last=Bloggs | authorlink=Joe Bloggs | year=1974 | title=Book of Bloggs }}
Basic usage with url
* {{reference-book | last=Bloggs | first=Joe | authorlink=Joe Bloggs | year=1974 | title=Book of Bloggs | edition=1st Edition | url=//en.wikipedia.org/ | accessdate=2006-02-17 }}
  • 1974, Joe Bloggs, Book of Bloggs[1], edition 1st Edition, retrieved on 2006-02-17:
Three authors, title with a piped wikilink, edition
* {{reference-book | last=Bloggs | first=Joe | authorlink=Joe Bloggs | coauthors=John Smith, Jim Smythe | title=[[A Thousand Acres|1000 Acres]] | edition=2nd Edition }}
Date without day, wikilinked title and publisher, id
* {{reference-book | last=Cordell | first=Bruce R. | coauthors=Jeff Grubb, David Noonan | year=2001 | month=September | title=[[Manual of the Planes]] | publisher=[[Wizards of the Coast]] | id=ISBN 0-7869-1850-8 }}
Date of first edition, other language, illustrator
* {{reference-book | last=Bloggs | first=Joe | origyear=1463 | year=1974 | title=Book of Bloggs | edition=1st Edition | others=illustrated by Smith | language=German | url=//en.wikipedia.org/ | accessdate=2006-02-17 }}
  • 1974 [1463], Joe Bloggs, Book of Bloggs[2], illustrated by Smith, edition 1st Edition (in German), retrieved on 2006-02-17:
Using a doi
*{{reference-book | last=Mumford | first=David | authorlink=David Mumford | year=1999 | title=The Red Book of Varieties and Schemes: Includes the Michigan Lectures (1974) on Curves and Their Jacobians | edition=2nd ed. | publisher=[[Springer-Verlag]] | doi=10.1007/b62130 | id=ISBN 354063293X }}

Testing

See w:Template:cite book/regression tests.

Note

Note the extra full-stop when the last author ends with an initial, and there is no date:

  • (Can we date this quote?) M. Invisible, Mysterious book:

We don't know of a practical solution to this — unless there is a way to test the characters of a field?

Citation styles

Established citation styles for coauthors:

MLA style
Last, First and First Last. "If there are more than three authors, you may list only the first author followed by the phrase et al."
APA style
Last, F. & Last, F.
Chicago Manual of Style
Last, First, and First Last.
Turabian
same as Chicago Reference List, above.
Harvard
Last, F., Last, F. & Last, F.

See also