Template:Cite book/doc
This is a documentation subpage for Template:Terminate sentence It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on 500,000+ 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 subpage. 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. |
- REDIRECT Template:Citation Style documentationTemplate:R from template shortcut
- REDIRECT Template:Citation Style documentationTemplate:R from template shortcut
- REDIRECT Template:Citation Style documentationTemplate:R from template shortcut When citing an article in a periodical, use {{cite journal}}. For edited collections, use {{cite encyclopedia}}.
Usage
[edit]- To cite a book with a credited author
{{cite book |last= |first= |date= |title= |url= |location= |publisher= |page= |isbn= |accessdate= }}
- To cite a book with no credited author
{{cite book |author=<!--Staff writer(s); no by-line.--> |title= |url= |location= |publisher= |page= |date= |isbn= |accessdate= }}
- To cite an online book that has been archived
{{cite book |last= |first= |date= |title= |url= |deadurl= |location= |publisher= |isbn= |archiveurl= |archivedate= |accessdate= }}
- To cite a book written in a foreign language
{{cite book |last= |first= |date= |title= |trans_title= |url= |language= |location= |publisher= |isbn= |accessdate= }}
- 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= |deadurl= |format= |language= |location= |publisher= |isbn= |archiveurl= |archivedate= |accessdate= |via= |subscription= |quote= }}
|}
{{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= |author-name-separator= |author-separator= |lastauthoramp= |date= |year= |origyear= |chapter= |trans_chapter= |chapterurl= |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= |trans_title= |url= |deadurl= |format= |type= |series= |language= |volume= |issue= |others= |edition= |location= |publisher= |publication-date= |page= |pages= |at= |nopp= |arxiv= |asin= |bibcode= |doi= |doi_brokendate= |isbn= |issn= |jfm= |jstor= |lccn= |mr= |oclc= |ol= |osti= |pmc= |pmid= |rfc= |ssrn= |zbl= |id= |archiveurl= |archivedate= |accessdate= |via= |registration= |subscription= |laysummary= |laysource= |laydate= |quote= |separator= |postscript= |ref= }}
|}
{{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 = | author-name-separator = | author-separator = | lastauthoramp = | date = | year = | origyear = | chapter = | trans_chapter = | chapterurl = | 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 = | trans_title = | url = | deadurl = | format = | type = | series = | language = | volume = | issue = | others = | edition = | location = | publisher = | publication-date = | page = | pages = | at = | nopp = | arxiv = | asin = | bibcode = | doi = | doi_brokendate = | isbn = | issn = | jfm = | jstor = | lccn = | mr = | oclc = | ol = | osti = | pmc = | pmid = | rfc = | ssrn = | zbl = | id = | archiveurl = | archivedate = | accessdate = | via = | registration = | subscription = | laysummary = | laysource = | laydate = | quote = | separator = | postscript = | ref = }}
last or last1 last or last1 last1 last2 author-last2 last2 last3 author-last3 last3 last4 author-last4 last4 last5 author-last5 last or last1 last or last1 last or last1 last or last1 last or last1 year or date chapter chapter editor1-last editor1-last editor1-last editor2-last editor2-last editor2-last editor3-last editor3-last editor3-last editor4-last editor4-last editor4-last editor5-last editor5-last title url url publisher page or pages doi archivedate archiveurl url laysummary laysummary
may also use |last= may also use |first= may also use |author-link= last6, last7, last8, ad infinitum first6, first7, first8, ad infinitum author-link6, author-link7, author-link8, ad infinitum do not wikilink |chapter= if |chapterurl= is provided may also use |editor-last= may also use |editor-first= may also use |editor-link= editor6-last, editor7-last, editor8-last, ad infinitum editor6-first, editor7-first, editor8-first, ad infinitum editor6-link, editor7-link, editor8-link, ad infinitum choose one: |page=, |pages= or |at= choose one: |page=, |pages= or |at=. When content on multiple pages supports the article text. choose one: |page=, |pages= or |at= set |nopp=yes to suppress the "p." or "pp." before page numbers always include ISBN if one has been assigned
Examples
[edit]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
[edit]Syntax
[edit]COinS
[edit]Deprecated
[edit]Description
[edit]Authors
[edit]Title
[edit]- REDIRECT Template:Citation Style documentationTemplate:R from template shortcut
- REDIRECT Template:Citation Style documentationTemplate:R from template shortcut
- REDIRECT Template:Citation Style documentationTemplate:R from template shortcut
- REDIRECT Template:Citation Style documentationTemplate:R from template shortcut
Date
[edit]Publisher
[edit]Edition, series, volume
[edit]- REDIRECT Template:Citation Style documentationTemplate:R from template shortcut
- REDIRECT Template:Citation Style documentationTemplate:R from template shortcut
- REDIRECT Template:Citation Style documentationTemplate:R from template shortcut
In-source locations
[edit]URL
[edit]Anchor
[edit]Identifiers
[edit]- REDIRECT Template:Citation Style documentationTemplate:R from template shortcut
- REDIRECT Template:Citation Style documentationTemplate:R from template shortcut
Quote
[edit]Editors
[edit]Laysummary
[edit]Display options
[edit]Subscription or registration required
[edit]TemplateData
[edit]This is the TemplateData documentation for the template used by the new VisualEditor.
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 author author1 authors last1 | 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 |
Author link | authorlink authorlink1 | Title of existing Wikipedia article about the author; can suffix with a numeral to add additional authors | Page name | optional |
Last name of second author | 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 of second author | 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 |
Author link for second author | authorlink2 | Title of existing Wikipedia article about the second author; can suffix with a numeral to add additional authors | Page name | optional |
Last name | last3 author3 | The surname of the third author; don't wikilink, use 'authorlink3'. | Unknown | optional |
First name | first3 | Given or first name, middle names, or initials of the third author; don't wikilink. | Unknown | optional |
Author link | authorlink3 author3-link | Title of existing Wikipedia article about the third author. | Page name | optional |
Last name | last4 author4 | The surname of the fourth author; don't wikilink, use 'authorlink4'. | Unknown | optional |
First name | first4 | Given or first name, middle names, or initials of the fourth author; don't wikilink. | Unknown | optional |
Author link | authorlink4 author4-link | Title of existing Wikipedia article about the fourth author. | Page name | optional |
Last name | last5 author5 | The surname of the fifth author; don't wikilink, use 'authorlink5'. | Unknown | optional |
First name | first5 | Given or first name, middle names, or initials of the fifth author; don't wikilink. | Unknown | optional |
Author link | authorlink5 author5-link | Title of existing Wikipedia article about the sixth author. | Page name | optional |
Last name | last6 author6 | The surname of the sixth author; don't wikilink, use 'authorlink6'. | Unknown | optional |
First name | first6 author6-link | Given or first name, middle names, or initials of the sixth author; don't wikilink. | Unknown | optional |
Author link | authorlink6 | Title of existing Wikipedia article about the sixth author. | Page name | optional |
Last name | last7 author7 | The surname of the seventh author; don't wikilink, use 'authorlink7'. | Unknown | optional |
First name | first7 | Given or first name, middle names, or initials of the seventh author; don't wikilink. | Unknown | optional |
Author link | authorlink7 author7-link | Title of existing Wikipedia article about the seventh author. | Page name | optional |
Last name | last8 author8 | The surname of the eighth author; don't wikilink, use 'authorlink8'. | Unknown | optional |
First name | first8 | Given or first name, middle names, or initials of the eighth author; don't wikilink. | Unknown | optional |
Author link | authorlink8 author8-link | Title of existing Wikipedia article about the eighth author. | Page name | optional |
Last name | 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 | first9 | Given or first name, middle names, or initials of the ninth author; don't wikilink. | Unknown | optional |
Author link | authorlink9 author9-link | Title of existing Wikipedia article about the ninth author. | Page name | 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 |
URL access date | accessdate | The full date when the original URL was accessed; do not wikilink | String | optional |
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 |
Original year | origyear | Original year of publication; provide specifics | String | optional |
ISBN | isbn | International Standard Book Number; use the 13-digit ISBN where possible | String | suggested |
Editor last name | editor-last editor editor1-last 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 editor1-first | 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 |
Editor link | editor-link editor1-link | Title of existing Wikipedia article about the editor; can suffix with a numeral to add additional editors | Page name | optional |
Last name of second editor | editor2-last | The surname of the second editor; don't wikilink, use 'editor2-link' | String | optional |
First name of second editor | 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 | editor2-link | Title of existing Wikipedia article about the second editor | Page name | optional |
Last name of third editor | editor3-last | The surname of the third editor; don't wikilink, use 'editor3-link' | String | optional |
First name of third editor | 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 | editor3-link | Title of existing Wikipedia article about the third editor | Page name | optional |
Last name of fourth editor | editor4-last | The surname of the fourth editor; don't wikilink, use 'editor4-link' | String | optional |
First name of fourth editor | 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 | editor4-link | Title of existing Wikipedia article about the fourth editor | Page name | optional |
Last name of fifth editor | editor5-last | The surname of the fifth editor; don't wikilink, use 'editor5-link' | String | optional |
First name of fifth editor | 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 | editor5-link | Title of existing Wikipedia article about the fifth editor | Page name | optional |
Last name of sixth editor | editor6-last | The surname of the sixth editor; don't wikilink, use 'editor6-link' | String | optional |
First name of sixth editor | 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 | editor6-link | Title of existing Wikipedia article about the sixth editor | Page name | optional |
Last name of seventh editor | editor7-last | The surname of the seventh editor; don't wikilink, use 'editor7-link' | String | optional |
First name of seventh editor | 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 | editor7-link | Title of existing Wikipedia article about the seventh editor | Page name | optional |
Last name of eighth editor | editor8-last | The surname of the eighth editor; don't wikilink, use 'editor8-link' | String | optional |
First name of eighth editor | 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 | editor8-link | Title of existing Wikipedia article about the eighth editor | Page name | optional |
Last name of ninth editor | editor9-last | The surname of the ninth editor; don't wikilink, use 'editor9-link' | String | optional |
First name of ninth editor | 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 | editor9-link | Title of existing Wikipedia article about the ninth editor | Page name | 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 |
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 |
Chapter URL | chapterurl chapter-url | The URL of the online location where the text of the chapter can be found | 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 |
DOI broken date | doi_brokendate | The date that the DOI was determined to be broken | 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 | 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 |
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 | archivedate | Date when the original URL was archived; do not wikilink | String | optional |
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 |
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 template | String | optional |
Separator | separator | The punctuation used to separate lists of authors, editors, etc.; a space must be encoded as   do not use an asterisk, colon, or hash mark
| String | optional |
Postscript | postscript | The closing punctuation for the citation; ignored if 'quote' is defined
| String | optional |
Lay URL | layurl laysummary | URL link to a non-technical summary or review of the source | String | optional |
Lay source | laysource | Name of the source of the laysummary; displays in italics, preceded by an en dash | String | optional |
Lay date | laydate | Date of the summary; displays in parentheses | String | optional |
Author mask | author-mask | 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 name separator | author-name-separator | Changes the separator between last and first names; defaults to a comma and space; a space must be encoded as   do not use an asterisk, colon, or hash mark
| String | optional |
Author separator | author-separator | Changes the separator between authors; defaults to a semicolon and space; a space must be encoded as   do not use an asterisk, colon, or hash mark
| String | optional |
Display authors | display-authors displayauthors | number of authors to display before 'et al.' is used; default is to do so after 8 of 9 are listed
| Number | optional |
Last author ampersand | 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
[edit]This template produces COinS metadata; see COinS in Wikipedia for background information.