Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Usage  





2 Examples  





3 Parameters  



3.1  Syntax  





3.2  COinS  



3.2.1  COinS metadata is created for these parameters  







3.3  What's new  





3.4  Deprecated  





3.5  Description  



3.5.1  Authors  





3.5.2  Date  





3.5.3  Title  





3.5.4  Publisher  





3.5.5  Edition, series, volume  





3.5.6  In-source locations  





3.5.7  URL  





3.5.8  Chapter URL  





3.5.9  Anchor  





3.5.10  Identifiers  





3.5.11  Quote  





3.5.12  Editors  





3.5.13  Display options  





3.5.14  Subscription or registration required  



3.5.14.1  Access indicators for url-holding parameters  





3.5.14.2  Access indicator for named identifiers  











4 TemplateData  





5 Citation tools  














Template:Cite book/sandbox







Add links
 









Template
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 

< Template:Cite book

Citation Style 1 templates
{{Cite arXiv}}arXiv preprints
{{Cite AV media}}audio and visual media
{{Cite AV media notes}}AV media liner notes
{{Cite bioRxiv}}bioRxiv preprints
{{Cite book}}books and chapters
{{Cite CiteSeerX}}CiteSeerX papers
{{Cite conference}}conference papers
{{cite document}}short, stand-alone, offline documents
{{Cite encyclopedia}}edited collections
{{Cite episode}}radio or TV episodes
{{Cite interview}}interviews
{{Cite journal}}academic journals
{{Cite magazine}}magazines, periodicals
{{Cite mailing list}}public mailing lists
{{Cite map}}maps
{{Cite medRxiv}}medRxiv preprints
{{Cite news}}news articles
{{Cite newsgroup}}online newsgroups
{{Cite podcast}}podcasts
{{Cite press release}}press releases
{{Cite report}}reports
{{Cite serial}}audio or video serials
{{Cite sign}}signs, plaques
{{Cite speech}}speeches
{{Cite SSRN}}SSRN papers
{{Cite tech report}}technical reports
{{Cite thesis}}theses
{{Cite web}}web sources not covered by the above
See alsoSpecific-source templates
Citation Style 1 wrapper templates
  • t
  • e
  • This Citation Style 1 template is used to create citations for books. When citing an article in a periodical, use {{cite journal}}or{{cite magazine}}. For conference papers, use {{cite conference}}. For edited collections, use {{cite encyclopedia}}. For theses, use {{cite thesis}}.

    Usage[edit]

    Copy a blank version to use. Almost all parameter names are supported only in lower case (some initialisms, such as |isbn= have upper-case aliases like |ISBN=, which are acceptable for use). Use the "|" (pipe) character between each parameter. Unused parameters may be deleted to avoid clutter in the edit window. Some samples on this documentation page may include the current date. If the date is not current, then purge the page.

    Most commonly used parameters in horizontal format
    To cite a book with a credited author
    {{cite book |last= |first= |author-link= |date= |title= |url= |location= |publisher= |page= |isbn=}}
    To cite a book with no credited author
    {{cite book |author=<!--Not stated--> |date= |title= |url= |location= |publisher= |page= |isbn=}}
    To cite an online book that has been archived
    {{cite book |last= |first= |date= |title= |url= |url-status= |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= |url-status= |url-access= |format= |language= |location= |publisher= |isbn= |archive-url= |archive-date= |via= |quote=}}


    Most commonly used parameters in vertical format
    {{cite book
     | last = 
     | first = 
     | author-link = 
     | date = 
     | title = 
     | url = 
     | location = 
     | publisher = 
     | page = <!-- or pages: -->
     | isbn = 
    }}
    


    Full parameter set in horizontal format

    {{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-mask1= |author-mask2= |author-mask3= |author-mask4= |author-mask5= |editor-last1= |editor-first1= |editor-link1= |editor-last2= |editor-first2= |editor-link2= |editor-last3= |editor-first3= |editor-link3= |editor-last4= |editor-first4= |editor-link4= |editor-last5= |editor-first5= |editor-link5= |display-editors= |editor-mask1= |editor-mask2= |editor-mask3= |editor-mask4= |editor-mask5= |translator-last1= |translator-first1= |translator-link1= |translator-last2= |translator-first2= |translator-link2= |translator-last3= |translator-first3= |translator-link3= |translator-last4= |translator-first4= |translator-link4= |translator-last5= |translator-first5= |translator-link5= |display-translators= |translator-mask1= |translator-mask2= |translator-mask3= |translator-mask4= |translator-mask5= |others= |name-list-style= |date= |year= |orig-date= |chapter= |script-chapter= |trans-chapter= |chapter-url= |chapter-url-access= |chapter-format= |title= |script-title= |trans-title= |title-link= |url= |url-status= |url-access= |format= |type= |series= |language= |volume= |edition= |publication-place= |location= |publisher= |publication-date= |page= |pages= |at= |no-pp= |arxiv= |asin= |asin-tld= |bibcode= |bibcode-access= |biorxiv= |citeseerx= |doi= |doi-access= |doi-broken-date= |eissn= |hdl= |hdl-access= |isbn= |ismn= |issn= |jfm= |jstor= |jstor-access= |lccn= |mr= |oclc= |ol= |ol-access= |osti= |osti-access= |pmc= |pmc-embargo-date= |pmid= |rfc= |sbn= |ssrn= |s2cid= |s2cid-access= |zbl= |id= |archive-url= |archive-date= |access-date= |via= |quote= |script-quote= |trans-quote= |quote-page= |quote-pages= |mode= |postscript= |ref=}}

    Full parameter set in vertical format
    Parameters Prerequisites Brief instructions / notes Vertical list
    last1 Author's last name or single name author. Don't link.
    {{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-mask1         =
     |author-mask2         =
     |author-mask3         =
     |author-mask4         =
     |author-mask5         =
     |editor-last1         =
     |editor-first1        =
     |editor-link1         =
     |editor-last2         =
     |editor-first2        =
     |editor-link2         =
     |editor-last3         =
     |editor-first3        =
     |editor-link3         =
     |editor-last4         =
     |editor-first4        =
     |editor-link4         =
     |editor-last5         =
     |editor-first5        =
     |editor-link5         =
     |display-editors      =
     |editor-mask1         =
     |editor-mask2         =
     |editor-mask3         =
     |editor-mask4         =
     |editor-mask5         =
     |translator-last1     =
     |translator-first1    =
     |translator-link1     =
     |translator-last2     =
     |translator-first2    =
     |translator-link2     =
     |translator-last3     =
     |translator-first3    =
     |translator-link3     =
     |translator-last4     =
     |translator-first4    =
     |translator-link4     =
     |translator-last5     =
     |translator-first5    =
     |translator-link5     =
     |display-translators  =
     |translator-mask1     =
     |translator-mask2     =
     |translator-mask3     =
     |translator-mask4     =
     |translator-mask5     =
     |others               =
     |name-list-style      =
     |date                 =
     |year                 =
     |orig-date            =
     |chapter              =
     |script-chapter       =
     |trans-chapter        =
     |chapter-url          =
     |chapter-url-access   =
     |chapter-format       =
     |title                =
     |script-title         =
     |trans-title          =
     |title-link           =
     |url                  =
     |url-status           =
     |url-access           =
     |format               =
     |type                 =
     |series               =
     |language             =
     |volume               =
     |edition              =
     |publication-place    =
     |location             =
     |publisher            =
     |publication-date     =
     |page                 =
     |pages                =
     |at                   =
     |no-pp                =
     |arxiv                =
     |asin                 =
     |asin-tld             =
     |bibcode              =
     |bibcode-access       =
     |biorxiv              =
     |citeseerx            =
     |doi                  =
     |doi-access           =
     |doi-broken-date      =
     |eissn                =
     |hdl                  =
     |hdl-access           =
     |isbn                 =
     |ismn                 =
     |issn                 =
     |jfm                  =
     |jstor                =
     |jstor-access         =
     |lccn                 =
     |mr                   =
     |oclc                 =
     |ol                   =
     |ol-access            =
     |osti                 =
     |osti-access          =
     |pmc                  =
     |pmc-embargo-date     =
     |pmid                 =
     |rfc                  =
     |sbn                  =
     |ssrn                 =
     |s2cid                =
     |s2cid-access         =
     |zbl                  =
     |id                   =
     |archive-url          =
     |archive-date         =
     |access-date          =
     |via                  =
     |quote                =
     |script-quote         =
     |trans-quote          =
     |quote-page           =
     |quote-pages          =
     |mode                 =
     |postscript           =
     |ref                  =
    }}
    
    first1 last1 Author's first name. Don't link.
    author-link1 last1 Title of Wikipedia article about the first author. Don't link.
    last2 last1 Like last1, but for 2nd author.
    first2 last2 Like first1, but for 2nd author.
    author-link2 last2 Like author-link1, but for 2nd author.
    last3 last2 Like last1, but for 3rd author.
    first3 last3 Like first1, but for 3rd author.
    author-link3 last3 Like author-link1, but for 3rd author.
    last4 last3 Like last1, but for 4th author.
    first4 last4 Like first1, but for 4th author.
    author-link4 last4 Like author-link1, but for 4th author.
    last5 last4 Like last1, but for 5th author. Similar: last6, etc.
    first5 last5 Like first1, but for 5th author. Similar: first6, etc.
    author-link5 last5 Like author-link1, but for 5th author. Similar: author-link6, etc.
    display-authors last1 Number (number of authors displayed) or etal (more authors)
    author-mask1 last1 See Display options below; not for lists of cited works
    author-mask2 last2
    author-mask3 last3
    author-mask4 last4
    author-mask5 last5
    editor-last1 may also use "editor-last"
    editor-first1 editor-last1 may also use "editor-first"
    editor-link1 editor-last1 may also use "editor-link"
    editor-mask1 editor-last1
    display-editors
    translator-last1 Like last1, but for translator
    translator-first1 translator-last1 Like first1, but for translator
    translator-link1 translator-last1 Like author-link1, but for translator
    translator-last2 translator-last1 Like last1, but for 2nd translator. Similar: translator-last3, etc.
    translator-first2 translator-last2 Like first1, but for 2nd translator. Similar: translator-first3, etc.
    translator-link2 translator-last2 Like author-link1, but for 2nd transl. Similar: translator-link3, ...
    display-translators translator-last1 Like display-authors, but for translators
    translator-mask1 translator-last1 See Display options below; not for lists of cited works
    translator-mask2 translator-last2
    name-list-style last2 Set to amporampersand to separate the last author with " & "; set to and to separate with " and "
    others
    date
    year
    orig-date date or year
    chapter This should be the title of the chapter cited. Do not wikilink "chapter" if "chapter-url" is provided
    script-chapter
    trans-chapter chapter or script-chapter
    chapter-url chapter or script-chapter
    chapter-format chapter-url
    title
    script-title
    trans-title title or script-title
    title-link title or script-title Name of a Wikipedia article about the work. Do not use if "url" is provided
    url title or script-title Do not use if "title-link" is provided
    url-status archive-url
    url-access url
    format url
    type
    series
    language
    volume
    edition
    publication-place publisher
    location publisher can be used for written-at location when "publication-place" is used for publication place
    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"
    no-pp page or pages set no-pp to "yes" to suppress the "p." or "pp." before page numbers
    arxiv
    asin
    asin-tld asin
    bibcode
    biorxiv
    citeseerx
    doi
    doi-broken-date doi
    eissn
    hdl
    isbn always include ISBN, if one has been assigned
    issn
    ismn
    jfm
    jstor
    lccn
    mr
    oclc
    ol
    osti
    pmc
    pmc-embargo-date pmc
    pmid
    rfc
    sbn
    ssrn
    s2cid
    zbl
    id
    archive-url archive-date, url
    archive-date archive-url
    access-date url
    via
    quote
    script-quote
    trans-quote
    quote-page choose one: "quote-page", "quote-pages"
    quote-pages choose one: "quote-page", "quote-pages". Use when quote contains contents from multiple pages.
    mode cs1orcs2
    postscript
    ref
    If a field name is listed in the Prerequisites column, it is a prerequisite for the field to the left.

    Examples[edit]

    Title

    Title and year

    Basic usage (single author)

    Basic usage (two authors)

    Basic usage with url (and access-date) and edition

    Citing a chapter in a book with different authors for different chapters and an editor

    Citing a chapter in a book with two joint authors and an editor

    Three authors, title with a differently-named title link, edition

    Complex usage showing effect of using volume parameter and lastauthoramp parameter (without volume and lastauthoramp)

    Complex usage showing effect of using volume parameter and lastauthoramp parameter (with volume and lastauthoramp)

    Date without day, wikilinked title, publisher, pages, edition, location

    Other language

    Using a DOI

    Using author-mask parameter

    Using display-authors parameter

    Parameters[edit]

    Syntax[edit]

    Nested parameters rely on their parent parameters:

    Where aliases are listed, only one of the parameters may be defined; if multiple aliased parameters are defined, then only one will show.

    COinS[edit]

    This template embeds COinS metadata in the HTML output, allowing reference management software to retrieve bibliographic metadata. See Wikipedia:COinS. As a general rule, only one data item per parameter. Do not include explanatory or alternate text:

    Use of templates within the citation template is discouraged because many of these templates will add extraneous HTML or CSS that will be included raw in the metadata. Also, HTML entities, for example &nbsp;, &ndash;, or &#160;, should not be used in parameters that contribute to the metadata.

    COinS metadata is created for these parameters[edit]

    Note: This table of metadata is displayed in the documentation of all Citation Style 1 templates. Not all of these parameters are supported by every CS1 template. Some of these parameters are mutually exclusive, some are aliases of another parameter, and some require other parameters to be present. A full list of this template's supported parameters, their aliases, and their dependencies is shown in the Usage section near the top of this documentation page.

    What's new[edit]

    What's new or changed recently
    Parameter Description Date
    N/A

    Deprecated[edit]

    Deprecated CS1/CS2 parameters
    Deprecated parameter Replace with Date
    |authors= |lastn= / |firstn=, |authorn=, |vauthors= November 2023
    Recently removed CS1/CS2 parameters
    Removed parameter Replace with Date Note
    |lay-date= (delete) August 2023
    |lay-source= (delete)
    |lay-url= (delete)
    |transcripturl= |transcript-url= August 2023

    Description[edit]

    Authors[edit]

    Date[edit]

    Shortened footnotes target full citations using the year specified in this parameter. A lowercase letter may be suffixed to the year to disambiguate {{sfn}} links to multiple works by the same author in the same year,[more] unless the date is formatted as YYYY-MM-DD. In the latter case, yearorref is required to disambiguate the link targets.
    For approximate year, precede with "c. ", like this: |date=c. 1900.

    For no date, or "undated", use |date=n.d.
    The date of a Web page, PDF, etc. with no visible date can sometimes be established by searching the page source or document code for a createdorupdated date; a comment for editors such as date=2021-12-25<!--date from page source-->|orig-date=Original date 2011-01-01 can be added.
    Automatic date formatting: Citation Style 1 and 2 templates, including this template, automatically render dates in all date parameters (such as |date=, |publication-date=, |access-date=, |archive-date=, etc.) except for |orig-date= in the style specified by the article's {{use dmy dates}}or{{use mdy dates}} template. See those templates' documentation for details.
    1. ^ Publication dates in references within an article should all have the same format. This may be a different format from that used for archive and access dates. See MOS:DATEUNIFY.

    Title[edit]

    (See also Help:Citation Style 1 § Titles and chapters.)

    Titles containing certain characters will not display and link correctly unless those characters are encoded.
    newline [ ] |
    space &#91; &#93; {{!}} (preferred)
    {{bracket|text}} &#124; or {{pipe}}see also Help:Table § Rendering the pipe
    • title-link: Title of existing Wikipedia article about the source named in title – do not use a web address; do not wikilink.

    Publisher[edit]

    Edition, series, volume[edit]

    In-source locations[edit]

    URL[edit]

    URLs must begin with a supported URI scheme. http:// and https:// will be supported by all browsers; however, ftp://, gopher://, irc://, ircs://, mailto: and news: may require a plug-in or an external application and should normally be avoided. IPv6 host-names are currently not supported.

    If URLs in citation template parameters contain certain characters, then they will not display and link correctly. Those characters need to be percent-encoded. For example, a space must be replaced by %20. To encode the URL, replace the following characters with:

    Character space " ' < > [ ] { | }
    Encoding %20 %22 %27 %3C %3E %5B %5D %7B %7C %7D

    Single apostrophes do not need to be encoded; however, unencoded multiples will be parsed as italic or bold markup. Single curly closing braces also do not need to be encoded; however, an unencoded pair will be parsed as the double closing braces for the template transclusion.

    1. ^ a b Access-date and archive-date in references should all have the same format – either the format used for publication dates, or YYYY-MM-DD. See MOS:DATEUNIFY.

    Chapter URL[edit]

    Anchor[edit]

    Identifiers[edit]

    The following identifiers create links and are designed to accept a single value. Using multiple values or other text will break the link and/or invalidate the identifier. In general, the parameters should include only the variable part of the identifier, e.g. |rfc=822or|pmc=345678.

    In very rare cases, identifiers are published which do not follow their defined standard format or use non-conforming checksums. These would typically cause an error message to be shown. Do not alter them to match a different checksum. In order to suppress the error message, some identifiers (|doi=, |eissn=, |isbn=, |issn=, and |sbn=) support a special accept-this-as-written markup which can be applied to disable the error-checking (as|<param>=((<value>))). If the problem is down to a mere typographical error in a third-party source, correct the identifier value instead of overriding the error message.

    For some identifiers, it is possible to specify the access status using the corresponding |<param>-access= parameter.

    For {{cite journal}}, some identifiers (specifying free resources) will automatically be linked to the title when |url= and |title-link= are not used to specify a different link target. This behaviour can be overridden by one out of a number of special keywords for |title-link= to manually select a specific source (|title-link=pmcor|title-link=doi) for auto-linking or to disable the feature (|title-link=none).

    It is not necessary to specify a URL to a link identical to a link also produced by an identifier. The |url= parameter (or|title-link=) can then be used for providing a direct deep link to the corresponding document or a convenience link to a resource that would not otherwise be obviously accessible.

    Quote[edit]

    Editors[edit]

    Display options[edit]

    Subscription or registration required[edit]

    Citations of online sources that require registration or a subscription are acceptable in Wikipedia as documented in Verifiability § Access to sources. As a courtesy to readers and other editors, editors should signal restrictions on access to material provided via the external links included in a citation. These levels describe requirements or constraints related to accessing and viewing the cited material; they are not intended to indicate the ability to reuse, or the copyright status, of the material, since that status is not relevant to verifying claims in articles.

    Four access levels can be used:

    As there are often multiple external links with different access levels in the same citation, each value is attributed to a specific external link.

    Access indicators for url-holding parameters[edit]

    Online sources linked by |url=, |article-url=, |chapter-url=, |contribution-url=, |entry-url=, |map-url=, and |section-url= are presumed to be free-to-read. When they are not free-to-read, editors should mark those sources with the matching access-indicator parameter so that an appropriate icon is included in the rendered citation. Because the sources linked by these URL-holding parameters are presumed to be free-to-read, they are not marked as free. If the registration/limited/subscription access to the source goes dead and is no longer available, then remove the access-indicator parameter and add |archive-url= and |archive-date= values if possible.

    URL-holding and access-indicator parameters
    URL Access Allowed keywords
    |url= |url-access= registration Free registration required
    limited Free access subject to limited trial, subscription normally required
    subscription Paid subscription required
    |article-url= |article-url-access=
    |chapter-url= |chapter-url-access=
    |contribution-url= |contribution-url-access=
    |entry-url= |entry-url-access=
    |map-url= |map-url-access=
    |section-url= |section-url-access=

    For example, this cites a web page that requires registration but not subscription:

    {{cite web |url=https://example.com/nifty_data.php |url-access=registration |date=2021-04-15 |title=Nifty example data}}
    

    which renders as:

    "Nifty example data". 2021-04-15.
    Access indicator for named identifiers[edit]

    Links inserted by named identifiers are presumed to lie behind a paywall or registration barrier – exceptions listed below. When they are free-to-read, editors should mark those sources with the matching access-indicator parameter so that an appropriate icon is included in the rendered citation. When the sources linked by these named-identifier parameters are not presumed to carry a free-to-read full text (for instance because they're just abstracting services), they may not be marked as limited, registration, or subscription.

    Named-identifier and access-indicator parameters
    Identifier Access Allowed keywords
    |bibcode= |bibcode-access= free Freely accessible
    |doi= |doi-access=
    |hdl= |hdl-access=
    |jstor= |jstor-access=
    |ol= |ol-access=
    |osti= |osti-access=
    |ssrn= |ssrn-access=
    |s2cid= |s2cid-access=

    Some named-identifiers are always free-to-read. For those named identifiers there are no access-indicator parameters; the access level is automatically indicated by the template. These named identifiers are:

    For embargoed pmc that will become available in the future, see pmc-embargo-date.

    TemplateData[edit]

    See Template:Cite book/TemplateData.

    Citation tools[edit]

    This template produces COinS metadata; see COinS in Wikipedia for background information.


    Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Cite_book/sandbox&oldid=1151992624"

    Categories: 
    Template sandboxes
    Templates generating COinS
     



    This page was last edited on 27 April 2023, at 14:08 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki