Template:Cite book/doc

From TechInfoDepot
Jump to navigationJump to search

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

Full parameter set in vertical format
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

This is the TemplateData documentation for this template used by VisualEditor and other tools.

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.

Template parameters

ParameterDescriptionTypeStatus
URLurl URL

The URL of the online location where the text of the publication can be found

Stringoptional
Titletitle

The title of the book; displays in italics

Stringrequired
Last namelast last1 author author1 authors

The surname of the author; don't wikilink, use 'authorlink'; can suffix with a numeral to add additional authors

Unknownsuggested
First namefirst 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

Unknownsuggested
Last name 2last2 author2

The surname of the second author; don't wikilink, use 'authorlink2'; can suffix with a numeral to add additional authors

Unknownoptional
First name 2first2

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

Unknownoptional
Last name 3last3 author3

The surname of the third author; don't wikilink, use 'authorlink3'.

Unknownoptional
First name 3first3

Given or first name, middle names, or initials of the third author; don't wikilink.

Unknownoptional
Last name 4last4 author4

The surname of the fourth author; don't wikilink, use 'authorlink4'.

Unknownoptional
First name 4first4

Given or first name, middle names, or initials of the fourth author; don't wikilink.

Unknownoptional
Last name 5last5 author5

The surname of the fifth author; don't wikilink, use 'authorlink5'.

Unknownoptional
First name 5first5

Given or first name, middle names, or initials of the fifth author; don't wikilink.

Unknownoptional
Last name 6last6 author6

The surname of the sixth author; don't wikilink, use 'authorlink6'.

Unknownoptional
First name 6first6

Given or first name, middle names, or initials of the sixth author; don't wikilink.

Unknownoptional
Last name 7last7 author7

The surname of the seventh author; don't wikilink, use 'authorlink7'.

Unknownoptional
First name 7first7

Given or first name, middle names, or initials of the seventh author; don't wikilink.

Unknownoptional
Last name 8last8 author8

The surname of the eighth author; don't wikilink, use 'authorlink8'.

Unknownoptional
First name 8first8

Given or first name, middle names, or initials of the eighth author; don't wikilink.

Unknownoptional
Last name 9last9 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.

Unknownoptional
First name 9first9

Given or first name, middle names, or initials of the ninth author; don't wikilink.

Unknownoptional
datedate

Full date of the source; do not wikilink

Stringoptional
Workwork

Name of the work in which the cited book text is found

Stringoptional
Publisherpublisher

Name of the publisher; displays after title

Stringsuggested
Othersothers

Used to record other contributions to the work, such as 'Illustrated by John Smith' or 'Translated by John Smith'

Stringoptional
Year of publicationyear

Year of the source being referenced; use 'date' instead, if month and day are also known

Stringsuggested
ISBNisbn

International Standard Book Number; use the 13-digit ISBN where possible

Stringsuggested
Editor last nameeditor-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

Unknownoptional
Editor first nameeditor-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

Unknownoptional
Link for editoreditor-link editor1-link

Title of existing TechInfoDepot article about the editor

Pageoptional
Editionedition

When the publication has more than one edition; for example: '2nd', 'Revised' etc.; suffixed by ' ed.'

Stringoptional
Series identifierseries version

Series identifier when the source is part of a series, such as a book series or a journal

Stringoptional
Volumevolume

For one publication published in several volumes

Stringoptional
Location of publicationlocation place

Geographical place of publication; usually not wikilinked; omit when the publication name includes place

Stringsuggested
Place of publicationpublication-place

Publication place shows after title; if 'place' or 'location' are also given, they are displayed before the title prefixed with 'written at'

Stringoptional
Publication datepublication-date

Date of publication when different from the date the work was written; do not wikilink

Stringoptional
Pagepage

The number of a single page in the source that supports the content; displays after 'p.'; use either page= or pages=, but not both

Stringoptional
Page(s) citedpages

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

Stringsuggested
No ppnopp

Set to 'y' to suppress the 'p.' or 'pp.' display with 'page' or 'pages' when inappropriate (such as 'Front cover')

Stringoptional
Atat

May be used instead of 'page' or 'pages' where a page number is inappropriate or insufficient

Stringoptional
Languagelanguage

The language in which the source is written, if not English; use the full language name; do not use icons or templates

Stringoptional
Script titlescript-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:...

Stringoptional
Translated titletrans-title

An English language title, if the source cited is in a foreign language; 'language' is recommended

Stringoptional
Chapterchapter

The chapter heading of the source; may be wikilinked or with 'chapterurl' but not both

Stringoptional
Translated chaptertrans-chapter

An English language chapter heading, if the source cited is in a foreign language; 'language' is recommended

Stringoptional
Typetype

Additional information about the media type of the source; format in sentence case

Stringoptional
Formatformat

Format of the work referred to by 'url'; examples: PDF, DOC, XLS; do not specify HTML

Stringoptional
arXiv identifierarxiv

An identifier for arXive electronic preprints of scientific papers

Stringoptional
ASINasin

Amazon Standard Identification Number; 10 characters

Stringoptional
ASIN TLDasin-tld

ASIN top-level domain for Amazon sites other than the US

Stringoptional
Bibcodebibcode

Bibliographic Reference Code (REFCODE); 19 characters

Stringoptional
DOIdoi

Digital Object Identifier; begins with '10.'

Stringoptional
ISSNissn

International Standard Serial Number; 8 characters; may be split into two groups of four using a hyphen

Stringoptional
jfm codejfm

Jahrbuch über die Fortschritte der Mathematik classification code

Stringoptional
JSTORjstor

JSTOR identifier

Stringoptional
LCCNlccn

Library of Congress Control Number

Stringoptional
MRmr

Mathematical Reviews identifier

Stringoptional
OCLCoclc

Online Computer Library Center number

Stringoptional
OLol

Open Library identifier; do not include "OL" at beginning of identifier

Stringoptional
OSTIosti

Office of Scientific and Technical Information identifier

Stringoptional
PMCpmc

PubMed Center article number

Stringoptional
PMIDpmid

PubMed Unique Identifier

Stringoptional
RFCrfc

Request for Comments number

Stringoptional
SSRNssrn

Social Science Research Network

Stringoptional
Zblzbl

Zentralblatt MATH journal identifier

Stringoptional
idid

A unique identifier used where none of the specialized ones are applicable

Stringoptional
Quotequote

Relevant text quoted from the source; displays last, enclosed in quotes; needs to include terminating punctuation

Stringoptional
Refref

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

Stringoptional
Name list formatname-list-format

Accepts the single keyword 'vanc' to emulate Vancouver Style author / editor name-lists.

Stringoptional
Modemode

Sets separator and terminal punctuation to the style named in the assigned value; allowable values are: 'cs1' or 'cs2'

Stringoptional
Postscriptpostscript

The closing punctuation for the citation; ignored if 'quote' is defined; to suppress use reserved keyword 'none'

Default
.
Stringoptional
Registrationregistration

For online sources that require registration, set to 'yes' (or 'y', or 'true'); superseded by subscription if both are set

Stringoptional
Subscriptionsubscription

For online sources that require subscription, set to 'yes' (or 'y', or 'true'); supersedes registration if both are set

Stringoptional
Author maskauthor-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

Stringoptional
Author mask 2author-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

Stringoptional
Author mask 3author-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

Stringoptional
Author mask 4author-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

Stringoptional
Author mask 5author-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

Stringoptional
Author mask 6author-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

Stringoptional
Author mask 7author-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

Stringoptional
Author mask 8author-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

Stringoptional
Author mask 9author-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

Stringoptional
Display authorsdisplay-authors displayauthors

number of authors to display before 'et al.' is used

Numberoptional
Author linkauthor-link authorlink1 authorlink

Title of existing TechInfoDepot article about the author; can suffix with a numeral to add additional authors

Pageoptional
Author link 2author-link2 author2-link authorlink2

Title of existing TechInfoDepot article about the second author; can suffix with a numeral to add additional authors

Pageoptional
Author link 3author-link3 author3-link authorlink3

Title of existing TechInfoDepot article about the third author.

Pageoptional
Author link 4author-link4 author4-link authorlink4

Title of existing TechInfoDepot article about the fourth author.

Pageoptional
Author link 5author-link5 author5-link authorlink5

Title of existing TechInfoDepot article about the sixth author.

Pageoptional
Author link 6author-link6 author6-link authorlink6

Title of existing TechInfoDepot article about the sixth author.

Pageoptional
Author link 7author-link7 author7-link authorlink7

Title of existing TechInfoDepot article about the seventh author.

Pageoptional
Author link 8author-link8 author8-link authorlink8

Title of existing TechInfoDepot article about the eighth author.

Pageoptional
Author link 9author-link9 author9-link authorlink9

Title of existing TechInfoDepot article about the ninth author.

Pageoptional
URL access dateaccess-date accessdate

The full date when the original URL was accessed; do not wikilink

Stringoptional
Original yearorig-year origyear

Original year of publication; provide specifics

Stringoptional
Last name of second editoreditor-last2 editor2-last

The surname of the second editor; don't wikilink, use 'editor2-link'

Stringoptional
First name of second editoreditor-first2 editor2-first

Given or first name, middle names, or initials of the second editor; don't wikilink, use 'editor2-link'

Stringoptional
Link for second editoreditor-link2 editor2-link

Title of existing TechInfoDepot article about the second editor

Pageoptional
Last name of third editoreditor-last3 editor3-last

The surname of the third editor; don't wikilink, use 'editor3-link'

Stringoptional
First name of third editoreditor-first3 editor3-first

Given or first name, middle names, or initials of the third editor; don't wikilink, use 'editor3-link'

Stringoptional
Link for third editoreditor-link3 editor3-link

Title of existing TechInfoDepot article about the third editor

Pageoptional
Last name of fourth editoreditor-last4 editor4-last

The surname of the fourth editor; don't wikilink, use 'editor4-link'

Stringoptional
First name of fourth editoreditor-first4 editor4-first

Given or first name, middle names, or initials of the fourth editor; don't wikilink, use 'editor4-link'

Stringoptional
Link for fourth editoreditor-link4 editor4-link

Title of existing TechInfoDepot article about the fourth editor

Pageoptional
Last name of fifth editoreditor-last5 editor5-last

The surname of the fifth editor; don't wikilink, use 'editor5-link'

Stringoptional
First name of fifth editoreditor-first5 editor5-first

Given or first name, middle names, or initials of the fifth editor; don't wikilink, use 'editor5-link'

Stringoptional
Link for fifth editoreditor-link5 editor5-link

Title of existing TechInfoDepot article about the fifth editor

Pageoptional
Last name of sixth editoreditor-last6 editor6-last

The surname of the sixth editor; don't wikilink, use 'editor6-link'

Stringoptional
First name of sixth editoreditor-first6 editor6-first

Given or first name, middle names, or initials of the sixth editor; don't wikilink, use 'editor6-link'

Stringoptional
Link for sixth editoreditor-link6 editor6-link

Title of existing TechInfoDepot article about the sixth editor

Pageoptional
Last name of seventh editoreditor-last7 editor7-last

The surname of the seventh editor; don't wikilink, use 'editor7-link'

Stringoptional
First name of seventh editoreditor-first7 editor7-first

Given or first name, middle names, or initials of the seventh editor; don't wikilink, use 'editor7-link'

Stringoptional
Link for seventh editoreditor-link7 editor7-link

Title of existing TechInfoDepot article about the seventh editor

Pageoptional
Last name of eighth editoreditor-last8 editor8-last

The surname of the eighth editor; don't wikilink, use 'editor8-link'

Stringoptional
First name of eighth editoreditor-first8 editor8-first

Given or first name, middle names, or initials of the eighth editor; don't wikilink, use 'editor8-link'

Stringoptional
Link for eighth editoreditor-link8 editor8-link

Title of existing TechInfoDepot article about the eighth editor

Pageoptional
Last name of ninth editoreditor-last9 editor9-last

The surname of the ninth editor; don't wikilink, use 'editor9-link'

Stringoptional
First name of ninth editoreditor-first9 editor9-first

Given or first name, middle names, or initials of the ninth editor; don't wikilink, use 'editor9-link'

Stringoptional
Link for ninth editoreditor-link9 editor9-link

Title of existing TechInfoDepot article about the ninth editor

Pageoptional
Chapter URLchapter-url chapterurl

The URL of the online location where the text of the chapter can be found

Stringoptional
DOI broken datedoi-broken-date doi_brokendate

The date that the DOI was determined to be broken

Stringoptional
Archive URLarchive-url archiveurl

The URL of an archived copy of a web page, if or in case the URL becomes unavailable; requires 'archivedate'

Stringoptional
Archive datearchive-date archivedate

Date when the original URL was archived; do not wikilink

Stringoptional
Dead URLdead-url deadurl

If set to 'no', the title display is adjusted; useful for when the URL is archived preemptively but still live

Stringoptional
Lay URLlay-url laysummary layurl

URL link to a non-technical summary or review of the source

Stringoptional
Lay sourcelay-source laysource

Name of the source of the laysummary; displays in italics, preceded by an en dash

Stringoptional
Lay datelay-date laydate

Date of the summary; displays in parentheses

Stringoptional
Last author ampersandlast-author-amp lastauthoramp

When set to any value, changes the separator between the last two names of the author list to 'space ampersand space'

Stringoptional

See also

Template:Citation Style 1 Template:TechInfoDepot referencing Template:UF-COinS