Template:Cite book
Template:Citation templates This template was originally intended for citing sources within Wikipedia, especially for citing books.
Contents
Usage
If filled in in English, all parameter names must be lowercase.
To use, copy the blank template code and separate fields with "|" (straight line) characters. Please delete any unused fields to avoid blanks in the edit window.
No templates or magic words are required when filling out ISBNs, OCLCs and DOIs. Use numbering
instead. For example, enter isbn=numbering
instead of id=ISBN
.
- citing books with a known author
{{Cite book|last= |first= |date= |title= |url= |location= |publisher= |page= |isbn= |author-link= }}
- citing books without an author
{{Cite book|author=<!--Staff writer(s); no by-line.--> |title= |url= |location= |publisher= |page= |date= | isbn=}}
- Citing archived online books
{{Cite book|last= |first= |date= |title= |url= |dead-url= |location= |publisher= |isbn= |archive-url= |archive-date=}}
- citing books written in foreign languages
{{Cite book|last= |first= |date= |title= |trans-title= |url= |language= |location= |publisher= |isbn=}}
- Cite an archived online book or quotation, two authors, foreign language book, republished in PDF format on a fee-based information service platform.
{{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= }}
- All parameters
{{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= }}
Arguments | Prerequisites | Brief Description | Straight 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, then it is a prerequisite for the left field. |
Field variables
Wiki links
Intrawiki links can be added to most fields (eg: title = [[article|title]]), but it is recommended to include only internal links to existing Wikipedia articles. All wiki links should not contain any symbols that would interfere with the operation of the template, use normal parentheses ()
instead of <>[]{ }
.
Description field
field variable
In the following field descriptions, some fields have a parent-child linkage relationship, and the parent-child fields must be used together to display properly:
- Pro field
- Subfield — must be used together with the parent field (if the parent field is not filled, it can be ignored)
- Or: Subfield 2 — can be used in place of parent field (ignored if parent field is already used)
Parameters
- author: author's name, suitable for use when the author's name (or translated name) is in Chinese, for example: Zhang Ailing, George Washington. Internal links can be added by filling in the authorlink field below.
- last: The author's last name, because there is a space between the first name and the author's name, it is recommended to use the author's last name in the original text (usually in English). Example: Johnson. Please do not include wiki links directly, use the authorlink field instead.
- first: The author's name, because there is a space between it and the surname, it is recommended to use the author's name in the original text (usually in English). For example: Jack. A middle name can also be added. Please do not include wiki links directly, use the authorlink field instead.
- last and first are only suitable for author names written in English (or other similar languages), please use the author field instead.
- authorlink: The name of the Wikipedia article about the author. Please enter only existing entries. Please do not use this field on its own, be sure to use it only when author or first and last are filled.
- coauthors: The full names of other coauthors, separated by a comma (,). (Examples: Wang Daming, Li Xiaohua; or: Joe Bloggs, John F. Kennedy, H. R. Dent)
- first: The author's name, because there is a space between it and the surname, it is recommended to use the author's name in the original text (usually in English). For example: Jack. A middle name can also be added. Please do not include wiki links directly, use the authorlink field instead.
- editor: The name of the editor/editor of the book. Since there is no default text in this field, users must add annotation text such as " (Edit)" by themselves.
- others: Contributors to other books, eg: translated by Wang Daming; or: illustrations drawn by Li Xiaohua.
- title: The title of the book. This is the only required field. Can link to an existing article in Wikipedia. English books can be italicized (
''book title''
), and Chinese should not be italicized. - url: If it is an online book, please fill in the URL. Not available if an internal link has been added to the title field.
- format: Book format, such as: PDF, HTML, etc. If there is no special format, it is not necessary to fill in.
- accessdate: The full date of access to the online book URL. The format is: XXXX, XX, XX, and internal links can be added freely, for example: February 20, 2007. If the book does not have a URL, it is not necessary to fill in it.
- edition: used when the book has a specific edition, eg: the second edition of June 1997.
- series: used when the book is part of a series of publications.
- origdate: The publication date of the original version. The format is: XXXX, XX, XX, and internal links can be added freely, for example: February 20, 2007.
- Or: origyear: The year of publication of the original version, without adding the word "year", just fill in the number. and origmonth: The month of publication of the original version, without adding the word "month", just fill in the number. Neither field can have internal links. If there is a specific date, use origdate instead.
- date: The publication date of the referenced edition. The format is: XXXX, XX, XX, and internal links can be added freely, for example: February 20, 2007.
- Or: year: The year of publication of the cited edition, without adding the word "year", just fill in the number. and month: the publication month of the quoted version, without adding the word "month", just fill in the number. Neither field can have internal links. If there is a specific date, use date instead.
- publisher: Publisher. Please avoid the words "Publisher", "Company", "Limited Company", etc.
- location: Publishing location.
- language: The language of the book.
- isbn: International Standard Book Number (ISBN), for example: 1-111-22222-9.
- unified: unified book number, for example: 7201·85.
- oclc: Online Computer Library Center number, for example: 3185581.
- doi: digital object identifier (DOI), for example: 10.1016/j.coi.2004.08.001.
- id: If the above fields are not sufficient or suitable, other relevant certification numbers of the book can be added. You must specify the name of the numbering system you are joining, using the relevant template such as {{ISSN}}.
- pages: pages 5–7: the beginning and end of the cited pages. This refers to the number of pages on which the reference content is located, not the total number of pages in the entire book.
- chapter: A specific chapter of the book.
- chapterurl: The specific chapter URL of the online book. If any, it must be on the same site as the url field.
- quote: Quote for a specific sentence in a book.
Example
- only the title of the book
* {{Cite book | title=Mystery Book}}
- -{zh;zh-hans;zh-hant|Mystery Book}-.
- year and title
* {{Cite book | title=Mystery Book | year=1901}}
- -{zh;zh-hans;zh-hant|Mystery Book}-. 1901.
- Basic style (English books)
* {{Cite book |first=Robert|last=Heinlein|authorlink=Robert Heinlein|year=1955|title=Tunnel in the Sky}}
- Heinlein, Robert. -{zh;zh-hans;zh-hant|Tunnel in the Sky}-. 1955.
- Basic style (Chinese books)
* {{Cite book |author=Zheng Yuanjie |authorlink=Zheng Yuanjie |year=1989|title=Pipiru and Luxi Biography}}
- Zheng Yuanjie. -{zh;zh-hans;zh-hant|Pipiru and Luxixi Biography}-. 1989.
- base style, including url
* {{Cite book |first=Robert|last=Heinlein|authorlink=Robert Heinlein|year=2014|title=Tunnel in the Sky|url=https://www.sffworld .com/2014/12/tunnel-sky-robert-heinlein/|access-date=Oct 10, 2013}}
- Heinlein, Robert. /tunnel-sky-robert-heinlein/ -{zh;zh-hans;zh-hant|Tunnel in the Sky}- Please check value in
|url=
(Help). 2014 [citation time: 10/10/2013].
- Heinlein, Robert. /tunnel-sky-robert-heinlein/ -{zh;zh-hans;zh-hant|Tunnel in the Sky}- Please check value in
- Three authors, title, wiki link, book edition
* {{Cite book |last=Bloggs |first=Joe |authorlink=enwp:Joe Bloggs | author12=John Smith | author2=Jim Smythe |title=[[enwp:A Thousand Acres|1000 Acres ]] |edition=Second Edition}}
- Bloggs, Joe; Jim Smythe. -{zh;zh-hans;zh-hant|1000 Acres}- First Second edition.
- Date without day, title and publisher's wiki internal link, number, page count, place of publication
* {{Cite book | author1=Bruce R. Cordell | author2=Jeff Grubb | author3=David Noonan | title=[[Manual of the Planes]] | publisher=[[Wizards of the Coast] ] | location=Timbuktu | isbn=0786918500 | pages=pages 134-137|date=September 2001}}
- Bruce R. Cordell; Jeff Grubb; David Noonan. -{zh;zh-hans;zh-hant|Manual of the Planes}-. Timbuktu: Wizards of the Coast. September 2001: pages 134–137. ISBN 0786918500.
- Date of first edition (original edition), other languages, illustrator
* {{Cite book | last=Bloggs | first=Joe | origyear=1463 | year=1974 | title=Book of Bloggs | edition=first edition | others=illustration by Smith | language=de | url=https://en.wikipedia.org/ | accessdate=February 17, 2006}}
- Bloggs, Joe. [https:// en.wikipedia.org/ -{zh;zh-hans;zh-hant|Book of Bloggs}-] Please check value in
|url=
(Help). Illustrated by Smith First Edition. 1974 [1463] [citation time: 17 Feb 2006] (-{Deutsch}-).
- Bloggs, Joe. [https:// en.wikipedia.org/ -{zh;zh-hans;zh-hant|Book of Bloggs}-] Please check value in
- use DOI
*{{Cite book |last=Mumford |first=David |authorlink=enwp:David Mumford |year=1999 |title=The Red Book of Varieties and Schemes: Includes the Michigan Lectures (1974) on Curves and Their Jacobians |edition=Second Edition |publisher=Springer-Verlag |doi=10.1007/b62130 |isbn=354063293X }}
- Mumford, David. -{zh;zh-hans;zh-hant|The Red Book of Varieties and Schemes: Includes the Michigan Lectures (1974) on Curves and Their Jacobians}- Second Edition. Springer-Verlag. 1999. ISBN 354063293X. doi:10.1007/b62130.
Testing
See cite book/regression tests.
Template Generator Widget
Enter the ISBN number to automatically fill in the complete {{Cite book}} information: [1]Template:Deadlink
Citation Style Guidelines
Some citation style guidelines for co-authors in English and Chinese, for reference only: