Template:Cite book/doc
This is a documentation subpage for Template:Cite book. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on a very large number of pages. To avoid large-scale disruption and unnecessary server load, any changes to this template should first be tested in its /sandbox or /testcases subpages, or in your own user space. The tested changes can then be added to this page in one single edit. Please consider discussing any changes on the talk page before implementing them. |
Uses Lua: |
Template:Citation Style documentation/cs1 Template:Citation Style documentation/lead When citing an article in a periodical, use {{cite journal}}. For edited collections, use {{cite encyclopedia}}.
Usage
Template:Citation Style documentation/usage
Template:Citation Style documentation/usage common
To cite a book with a credited author
{{cite book |last= |first= |date= |title= |url= |location= |publisher= |page= |isbn=}}
To cite a book with no credited author
{{cite book |author=<!--Staff writer(s); no by-line.--> |title= |url= |location= |publisher= |page= |date= |isbn=}}
To cite an online book that has been archived
{{cite book |last= |first= |date= |title= |url= |dead-url= |location= |publisher= |isbn= |archive-url= |archive-date=}}
To cite a book written in a foreign language
{{cite book |last= |first= |date= |title= |trans-title= |url= |language= |location= |publisher= |isbn=}}
To cite and quote an archived, two-author, foreign language book re-published as a PDF on an information aggregation service requiring a subscription
{{cite book |last1= |first1= |last2= |first2= |date= |title= |trans-title= |url= |dead-url= |format= |language= |location= |publisher= |isbn= |archive-url= |archive-date= |via= |subscription= |quote= }}
Template:End
Template:Citation Style documentation/usage full
{{cite book |last1= |first1= |author-link1= |last2= |first2= |author-link2= |last3= |first3= |author-link3= |last4= |first4= |author-link4= |last5= |first5= |author-link5= |display-authors= |author-mask= |last-author-amp= |date= |year= |orig-year= |chapter= |script-chapter= |trans-chapter= |chapter-url= |chapter-format= |editor1-last= |editor1-first= |editor1-link= |editor2-last= |editor2-first= |editor2-link= |editor3-last= |editor3-first= |editor3-link= |editor4-last= |editor4-first= |editor4-link= |editor5-last= |editor5-first= |editor5-link= |display-editors= |title= |script-title= |trans-title= |url= |dead-url= |format= |type= |series= |language= |volume= |issue= |others= |edition= |location= |publisher= |publication-date= |page= |pages= |at= |nopp= |arxiv= |asin= |bibcode= |doi= |doi-broken-date= |isbn= |issn= |jfm= |jstor= |lccn= |mr= |oclc= |ol= |osti= |pmc= |pmid= |rfc= |ssrn= |zbl= |id= |archive-url= |archive-date= |access-date= |via= |registration= |subscription= |lay-summary= |lay-source= |lay-date= |quote= |name-list-format= |mode= |postscript= |ref= }}
Template:End
Parameters | Prerequisites | Brief instructions / notes | Vertical list |
---|---|---|---|
last1 | may also use "last"; for additional authors, "last2", "last3", etc. | {{cite book |last1= |first1= |author-link1= |author-mask1= |last2= |first2= |display-authors= |last-author-amp= |date= |year= |orig-year= |chapter= |script-chapter= |trans-chapter= |chapter-url= |chapter-format= |editor1-last= |editor1-first= |editor1-link= |editor1-mask= |display-editors= |title= |script-title= |trans-title= |url= |dead-url= |format= |type= |series= |language= |volume= |issue= |others= |edition= |location= |publisher= |publication-date= |page= |pages= |at= |nopp= |arxiv= |asin= |bibcode= |doi= |doi-broken-date= |isbn= |issn= |jfm= |jstor= |lccn= |mr= |oclc= |ol= |osti= |pmc= |pmid= |rfc= |ssrn= |zbl= |id= |archive-url= |archive-date= |access-date= |via= |registration= |subscription= |lay-summary= |lay-source= |lay-date= |quote= |name-list-format= |mode= |postscript= |ref= }} | |
first1 | last or last1 | may also use "first"; for additional authors, "first2", "first3", etc. | |
author-link1 | last or last1 | may also use "author-link" | |
author-mask1 | last or last1 | may also use "author-mask" | |
last2 | last1 | ||
first2 | last2 | ||
display-authors | last or last1 | ||
last-author-amp | last or last1 | ||
date | |||
year | |||
orig-year | year or date | ||
chapter | do not wikilink "chapter" if "chapterurl" is provided | ||
script-chapter | |||
trans-chapter | chapter or script-chapter | ||
chapter-url | chapter or script-chapter | ||
chapter-format | chapter-url | ||
editor1-last | may also use "editor-last" | ||
editor1-first | editor1-last | may also use 'editor-first" | |
editor1-link | editor1-last | may also use "editor-link" | |
editor1-mask | editor1-last | ||
display-editors | |||
title | |||
script-title | |||
trans-title | title or script-title | ||
url | title or script-title | ||
dead-url | |||
format | url | ||
type | |||
series | |||
language | |||
volume | |||
issue | |||
others | |||
edition | |||
location | publisher | ||
publisher | |||
publication-date | |||
page | choose one: "page", "pages", or "at" | ||
pages | choose one: "page", "pages", or "at". Use when content on multiple pages supports the article text. | ||
at | choose one: "page", "pages", or "at" | ||
nopp | page or pages | set nopp to "yes" to suppress the "p." or "pp." before page numbers | |
arxiv | |||
asin | |||
bibcode | |||
doi | |||
doi-broken-date | doi | ||
isbn | always include ISBN, if one has been assigned | ||
issn | |||
jfm | |||
jstor | |||
lccn | |||
mr | |||
oclc | |||
ol | |||
osti | |||
pmc | |||
pmid | |||
rfc | |||
ssrn | |||
zbl | |||
id | |||
archive-url | archive-date, url | ||
archive-date | archive-url | ||
access-date | url | ||
via | |||
registration | |||
subscription | |||
lay-summary | |||
lay-source | lay-summary | ||
lay-date | lay-summary | ||
quote | |||
name-list-format | vanc to emulate Vancouver style
| ||
mode | cs1 or cs2
| ||
postscript | |||
ref | |||
If a field name is listed in the Prerequisites column it is a prerequisite for the field to the left. |
Examples
Template:Markup2 Template:Markup2 Template:Markup2 Template:Markup2 Template:Markup2 Template:Markup2 Template:Markup2 Template:Markup2 Template:Markup2 Template:Markup2 Template:Markup2 Template:Markup2 Template:Markup2 Template:Markup2 Template:Markup2
Parameters
Syntax
Template:Citation Style documentation/syntax
COinS
Template:Citation Style documentation/coins
Deprecated
Template:Citation Style documentation/deprecated
Description
Authors
Template:Citation Style documentation/author
Title
Template:Citation Style documentation/title Template:Citation Style documentation/type Template:Citation Style documentation/chapter Template:Citation Style documentation/language
Date
Template:Citation Style documentation/date
Publisher
Template:Citation Style documentation/publisher
Edition, series, volume
Template:Citation Style documentation/edition Template:Citation Style documentation/series Template:Citation Style documentation/volume
In-source locations
Template:Citation Style documentation/pages
URL
Template:Citation Style documentation/url
Chapter URL
Template:Citation Style documentation/chapterurl
Anchor
Template:Citation Style documentation/ref
Identifiers
Template:Citation Style documentation/id1 Template:Citation Style documentation/id2
Quote
Template:Citation Style documentation/quote
Editors
Template:Citation Style documentation/editor
Laysummary
Template:Citation Style documentation/lay
Display options
Template:Citation Style documentation/display
Subscription or registration required
Template:Citation Style documentation/registration
TemplateData
See the monthly error report for this template.
TemplateData for Cite book
This template formats a citation to a book using the provided bibliographic information (such as author and title) as well as various formatting options.
Parameter | Description | Type | Status | |
---|---|---|---|---|
URL | url URL | The URL of the online location where the text of the publication can be found | String | optional |
Title | title | The title of the book; displays in italics | String | required |
Last name | last last1 author author1 authors | The surname of the author; don't wikilink, use 'authorlink'; can suffix with a numeral to add additional authors | Unknown | suggested |
First name | first first1 | Given or first name, middle names, or initials of the author; don't wikilink, use 'authorlink'; can suffix with a numeral to add additional authors | Unknown | suggested |
Last name 2 | last2 author2 | The surname of the second author; don't wikilink, use 'authorlink2'; can suffix with a numeral to add additional authors | Unknown | optional |
First name 2 | first2 | Given or first name, middle names, or initials of the second author; don't wikilink, use 'authorlink'; can suffix with a numeral to add additional authors | Unknown | optional |
Last name 3 | last3 author3 | The surname of the third author; don't wikilink, use 'authorlink3'. | Unknown | optional |
First name 3 | first3 | Given or first name, middle names, or initials of the third author; don't wikilink. | Unknown | optional |
Last name 4 | last4 author4 | The surname of the fourth author; don't wikilink, use 'authorlink4'. | Unknown | optional |
First name 4 | first4 | Given or first name, middle names, or initials of the fourth author; don't wikilink. | Unknown | optional |
Last name 5 | last5 author5 | The surname of the fifth author; don't wikilink, use 'authorlink5'. | Unknown | optional |
First name 5 | first5 | Given or first name, middle names, or initials of the fifth author; don't wikilink. | Unknown | optional |
Last name 6 | last6 author6 | The surname of the sixth author; don't wikilink, use 'authorlink6'. | Unknown | optional |
First name 6 | first6 | Given or first name, middle names, or initials of the sixth author; don't wikilink. | Unknown | optional |
Last name 7 | last7 author7 | The surname of the seventh author; don't wikilink, use 'authorlink7'. | Unknown | optional |
First name 7 | first7 | Given or first name, middle names, or initials of the seventh author; don't wikilink. | Unknown | optional |
Last name 8 | last8 author8 | The surname of the eighth author; don't wikilink, use 'authorlink8'. | Unknown | optional |
First name 8 | first8 | Given or first name, middle names, or initials of the eighth author; don't wikilink. | Unknown | optional |
Last name 9 | last9 author9 | The surname of the ninth author; don't wikilink, use 'authorlink9'. If nine authors are defined, then only eight will show and 'et al.' will show in place of the last author. | Unknown | optional |
First name 9 | first9 | Given or first name, middle names, or initials of the ninth author; don't wikilink. | Unknown | optional |
date | date | Full date of the source; do not wikilink | String | optional |
Work | work | Name of the work in which the cited book text is found | String | optional |
Publisher | publisher | Name of the publisher; displays after title | String | suggested |
Others | others | Used to record other contributions to the work, such as 'Illustrated by John Smith' or 'Translated by John Smith' | String | optional |
Year of publication | year | Year of the source being referenced; use 'date' instead, if month and day are also known | String | suggested |
ISBN | isbn | International Standard Book Number; use the 13-digit ISBN where possible | String | suggested |
Editor last name | editor-last editor editor-last1 editors | The surname of the editor; don't wikilink, use 'editor-link'; can suffix with a numeral to add additional editors | Unknown | optional |
Editor first name | editor-first editor-first1 | Given or first name, middle names, or initials of the editor; don't wikilink, use 'editor-link'; can suffix with a numeral to add additional editors | Unknown | optional |
Link for editor | editor-link editor1-link | Title of existing TechInfoDepot article about the editor | Page | optional |
Edition | edition | When the publication has more than one edition; for example: '2nd', 'Revised' etc.; suffixed by ' ed.' | String | optional |
Series identifier | series version | Series identifier when the source is part of a series, such as a book series or a journal | String | optional |
Volume | volume | For one publication published in several volumes | String | optional |
Location of publication | location place | Geographical place of publication; usually not wikilinked; omit when the publication name includes place | String | suggested |
Place of publication | publication-place | Publication place shows after title; if 'place' or 'location' are also given, they are displayed before the title prefixed with 'written at' | String | optional |
Publication date | publication-date | Date of publication when different from the date the work was written; do not wikilink | String | optional |
Page | page | The number of a single page in the source that supports the content; displays after 'p.'; use either page= or pages=, but not both | String | optional |
Page(s) cited | pages | A range of pages in the source that support the content (not an indication of the number of pages in the source); displays after 'pp.'; use either page= or pages=, but not both | String | suggested |
No pp | nopp | Set to 'y' to suppress the 'p.' or 'pp.' display with 'page' or 'pages' when inappropriate (such as 'Front cover') | String | optional |
At | at | May be used instead of 'page' or 'pages' where a page number is inappropriate or insufficient | String | optional |
Language | language | The language in which the source is written, if not English; use the full language name; do not use icons or templates | String | optional |
Script title | script-title | For titles in languages that do not use a Latin-based alphabet (Arabic, Chinese, Cyrillic, Greek, Hebrew, Japanese, Korean, Vietnamese, etc). Prefix with two-character ISO639-1 language code followed by a colon. For Japanese use: |script-title=ja:... | String | optional |
Translated title | trans-title | An English language title, if the source cited is in a foreign language; 'language' is recommended | String | optional |
Chapter | chapter | The chapter heading of the source; may be wikilinked or with 'chapterurl' but not both | String | optional |
Translated chapter | trans-chapter | An English language chapter heading, if the source cited is in a foreign language; 'language' is recommended | String | optional |
Type | type | Additional information about the media type of the source; format in sentence case | String | optional |
Format | format | Format of the work referred to by 'url'; examples: PDF, DOC, XLS; do not specify HTML | String | optional |
arXiv identifier | arxiv | An identifier for arXive electronic preprints of scientific papers | String | optional |
ASIN | asin | Amazon Standard Identification Number; 10 characters | String | optional |
ASIN TLD | asin-tld | ASIN top-level domain for Amazon sites other than the US | String | optional |
Bibcode | bibcode | Bibliographic Reference Code (REFCODE); 19 characters | String | optional |
DOI | doi | Digital Object Identifier; begins with '10.' | String | optional |
ISSN | issn | International Standard Serial Number; 8 characters; may be split into two groups of four using a hyphen | String | optional |
jfm code | jfm | Jahrbuch über die Fortschritte der Mathematik classification code | String | optional |
JSTOR | jstor | JSTOR identifier | String | optional |
LCCN | lccn | Library of Congress Control Number | String | optional |
MR | mr | Mathematical Reviews identifier | String | optional |
OCLC | oclc | Online Computer Library Center number | String | optional |
OL | ol | Open Library identifier; do not include "OL" at beginning of identifier | String | optional |
OSTI | osti | Office of Scientific and Technical Information identifier | String | optional |
PMC | pmc | PubMed Center article number | String | optional |
PMID | pmid | PubMed Unique Identifier | String | optional |
RFC | rfc | Request for Comments number | String | optional |
SSRN | ssrn | Social Science Research Network | String | optional |
Zbl | zbl | Zentralblatt MATH journal identifier | String | optional |
id | id | A unique identifier used where none of the specialized ones are applicable | String | optional |
Quote | quote | Relevant text quoted from the source; displays last, enclosed in quotes; needs to include terminating punctuation | String | optional |
Ref | ref | An anchor identifier; can be made the target of wikilinks to full references; special value 'harv' generates an anchor suitable for the harv and sfn templates | String | optional |
Name list format | name-list-format | Accepts the single keyword 'vanc' to emulate Vancouver Style author / editor name-lists. | String | optional |
Mode | mode | Sets separator and terminal punctuation to the style named in the assigned value; allowable values are: 'cs1' or 'cs2' | String | optional |
Postscript | postscript | The closing punctuation for the citation; ignored if 'quote' is defined; to suppress use reserved keyword 'none'
| String | optional |
Registration | registration | For online sources that require registration, set to 'yes' (or 'y', or 'true'); superseded by subscription if both are set | String | optional |
Subscription | subscription | For online sources that require subscription, set to 'yes' (or 'y', or 'true'); supersedes registration if both are set | String | optional |
Author mask | author-mask authormask authormask1 | Replaces the name of the first author with em dashes or text; set to a numeric value 'n' to set the dash 'n' em spaces wide; set to a text value to display the text without a trailing author separator; for example, 'with' instead | String | optional |
Author mask 2 | author-mask2 authormask2 | Replaces the name of the second author with em dashes or text; set to a numeric value 'n' to set the dash 'n' em spaces wide; set to a text value to display the text without a trailing author separator; for example, 'with' instead | String | optional |
Author mask 3 | author-mask3 authormask3 | Replaces the name of the third author with em dashes or text; set to a numeric value 'n' to set the dash 'n' em spaces wide; set to a text value to display the text without a trailing author separator; for example, 'with' instead | String | optional |
Author mask 4 | author-mask4 authormask4 | Replaces the name of the fourth author with em dashes or text; set to a numeric value 'n' to set the dash 'n' em spaces wide; set to a text value to display the text without a trailing author separator; for example, 'with' instead | String | optional |
Author mask 5 | author-mask5 authormask5 | Replaces the name of the fifth author with em dashes or text; set to a numeric value 'n' to set the dash 'n' em spaces wide; set to a text value to display the text without a trailing author separator; for example, 'with' instead | String | optional |
Author mask 6 | author-mask6 authormask6 | Replaces the name of the sixth author with em dashes or text; set to a numeric value 'n' to set the dash 'n' em spaces wide; set to a text value to display the text without a trailing author separator; for example, 'with' instead | String | optional |
Author mask 7 | author-mask7 authormask7 | Replaces the name of the seventh author with em dashes or text; set to a numeric value 'n' to set the dash 'n' em spaces wide; set to a text value to display the text without a trailing author separator; for example, 'with' instead | String | optional |
Author mask 8 | author-mask8 authormask8 | Replaces the name of the eighth author with em dashes or text; set to a numeric value 'n' to set the dash 'n' em spaces wide; set to a text value to display the text without a trailing author separator; for example, 'with' instead | String | optional |
Author mask 9 | author-mask9 authormask9 | Replaces the name of the ninth author with em dashes or text; set to a numeric value 'n' to set the dash 'n' em spaces wide; set to a text value to display the text without a trailing author separator; for example, 'with' instead | String | optional |
Display authors | display-authors displayauthors | number of authors to display before 'et al.' is used | Number | optional |
Author link | author-link authorlink1 authorlink | Title of existing TechInfoDepot article about the author; can suffix with a numeral to add additional authors | Page | optional |
Author link 2 | author-link2 author2-link authorlink2 | Title of existing TechInfoDepot article about the second author; can suffix with a numeral to add additional authors | Page | optional |
Author link 3 | author-link3 author3-link authorlink3 | Title of existing TechInfoDepot article about the third author. | Page | optional |
Author link 4 | author-link4 author4-link authorlink4 | Title of existing TechInfoDepot article about the fourth author. | Page | optional |
Author link 5 | author-link5 author5-link authorlink5 | Title of existing TechInfoDepot article about the sixth author. | Page | optional |
Author link 6 | author-link6 author6-link authorlink6 | Title of existing TechInfoDepot article about the sixth author. | Page | optional |
Author link 7 | author-link7 author7-link authorlink7 | Title of existing TechInfoDepot article about the seventh author. | Page | optional |
Author link 8 | author-link8 author8-link authorlink8 | Title of existing TechInfoDepot article about the eighth author. | Page | optional |
Author link 9 | author-link9 author9-link authorlink9 | Title of existing TechInfoDepot article about the ninth author. | Page | optional |
URL access date | access-date accessdate | The full date when the original URL was accessed; do not wikilink | String | optional |
Original year | orig-year origyear | Original year of publication; provide specifics | String | optional |
Last name of second editor | editor-last2 editor2-last | The surname of the second editor; don't wikilink, use 'editor2-link' | String | optional |
First name of second editor | editor-first2 editor2-first | Given or first name, middle names, or initials of the second editor; don't wikilink, use 'editor2-link' | String | optional |
Link for second editor | editor-link2 editor2-link | Title of existing TechInfoDepot article about the second editor | Page | optional |
Last name of third editor | editor-last3 editor3-last | The surname of the third editor; don't wikilink, use 'editor3-link' | String | optional |
First name of third editor | editor-first3 editor3-first | Given or first name, middle names, or initials of the third editor; don't wikilink, use 'editor3-link' | String | optional |
Link for third editor | editor-link3 editor3-link | Title of existing TechInfoDepot article about the third editor | Page | optional |
Last name of fourth editor | editor-last4 editor4-last | The surname of the fourth editor; don't wikilink, use 'editor4-link' | String | optional |
First name of fourth editor | editor-first4 editor4-first | Given or first name, middle names, or initials of the fourth editor; don't wikilink, use 'editor4-link' | String | optional |
Link for fourth editor | editor-link4 editor4-link | Title of existing TechInfoDepot article about the fourth editor | Page | optional |
Last name of fifth editor | editor-last5 editor5-last | The surname of the fifth editor; don't wikilink, use 'editor5-link' | String | optional |
First name of fifth editor | editor-first5 editor5-first | Given or first name, middle names, or initials of the fifth editor; don't wikilink, use 'editor5-link' | String | optional |
Link for fifth editor | editor-link5 editor5-link | Title of existing TechInfoDepot article about the fifth editor | Page | optional |
Last name of sixth editor | editor-last6 editor6-last | The surname of the sixth editor; don't wikilink, use 'editor6-link' | String | optional |
First name of sixth editor | editor-first6 editor6-first | Given or first name, middle names, or initials of the sixth editor; don't wikilink, use 'editor6-link' | String | optional |
Link for sixth editor | editor-link6 editor6-link | Title of existing TechInfoDepot article about the sixth editor | Page | optional |
Last name of seventh editor | editor-last7 editor7-last | The surname of the seventh editor; don't wikilink, use 'editor7-link' | String | optional |
First name of seventh editor | editor-first7 editor7-first | Given or first name, middle names, or initials of the seventh editor; don't wikilink, use 'editor7-link' | String | optional |
Link for seventh editor | editor-link7 editor7-link | Title of existing TechInfoDepot article about the seventh editor | Page | optional |
Last name of eighth editor | editor-last8 editor8-last | The surname of the eighth editor; don't wikilink, use 'editor8-link' | String | optional |
First name of eighth editor | editor-first8 editor8-first | Given or first name, middle names, or initials of the eighth editor; don't wikilink, use 'editor8-link' | String | optional |
Link for eighth editor | editor-link8 editor8-link | Title of existing TechInfoDepot article about the eighth editor | Page | optional |
Last name of ninth editor | editor-last9 editor9-last | The surname of the ninth editor; don't wikilink, use 'editor9-link' | String | optional |
First name of ninth editor | editor-first9 editor9-first | Given or first name, middle names, or initials of the ninth editor; don't wikilink, use 'editor9-link' | String | optional |
Link for ninth editor | editor-link9 editor9-link | Title of existing TechInfoDepot article about the ninth editor | Page | optional |
Chapter URL | chapter-url chapterurl | The URL of the online location where the text of the chapter can be found | String | optional |
DOI broken date | doi-broken-date doi_brokendate | The date that the DOI was determined to be broken | String | optional |
Archive URL | archive-url archiveurl | The URL of an archived copy of a web page, if or in case the URL becomes unavailable; requires 'archivedate' | String | optional |
Archive date | archive-date archivedate | Date when the original URL was archived; do not wikilink | String | optional |
Dead URL | dead-url deadurl | If set to 'no', the title display is adjusted; useful for when the URL is archived preemptively but still live | String | optional |
Lay URL | lay-url laysummary layurl | URL link to a non-technical summary or review of the source | String | optional |
Lay source | lay-source laysource | Name of the source of the laysummary; displays in italics, preceded by an en dash | String | optional |
Lay date | lay-date laydate | Date of the summary; displays in parentheses | String | optional |
Last author ampersand | last-author-amp lastauthoramp | When set to any value, changes the separator between the last two names of the author list to 'space ampersand space' | String | optional |
See also
- Reftag, tool for translating Google Books permalinks into TechInfoDepot references
Template:Citation Style 1 Template:TechInfoDepot referencing Template:UF-COinS