Jump to content

Template:Cite book/doc: Difference between revisions

From pool
[checked revision][checked revision]
Content deleted Content added
No edit summary
Replaced content with "{{high-risk}} <noinclude>{{pp|reason=Persistent disruptive editing Protecting high visibility template.|small=yes}}</noinclude>{{Documentation subpage}} <!-- Categories go where indicated at the bottom of this page, please; interwikis go to Wikidata (see also: Wikipedia:Wikidata). --> {{csdoc|lua}} {{csdoc|cs1}} {{csdoc|lead|books}} When citing an article in a periodical, use {{tl|cite journal}} or {{tl|cite magazine}}. For conference pa..."
Tags: Replaced 2017 source edit
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>{{pp-protected|reason=Persistent [[WP:Disruptive editing|disruptive editing]] Protecting high visibility template.|small=yes}}</noinclude>{{Documentation subpage}}
<!-- Categories go where indicated at the bottom of this page, please; interwikis go to Wikidata (see also: [[Wikipedia:Wikidata]]). -->
{{high-risk}}
{{high-risk}}
<noinclude>{{pp|reason=Persistent [[WP:Disruptive editing|disruptive editing]] Protecting high visibility template.|small=yes}}</noinclude>{{Documentation subpage}}
<!-- Categories go where indicated at the bottom of this page, please; interwikis go to Wikidata (see also: [[Wikipedia:Wikidata]]). -->
{{csdoc|lua}}
{{csdoc|lua}}
{{csdoc|cs1}}
{{csdoc|cs1}}
{{csdoc|lead|books}} When citing an article in a periodical, use {{tl|cite journal}} or {{tl|cite magazine}}. For conference papers, use {{tl|cite conference}}. For edited collections, use {{tl|cite encyclopedia}}. For theses, use {{tl|cite thesis}}.
{{csdoc|lead|books}} When citing an article in a periodical, use {{tl|cite journal}} or {{tl|cite magazine}}. For conference papers, use {{tl|cite conference}}. For edited collections, use {{tl|cite encyclopedia}}. For theses, use {{tl|cite thesis}}.
{{Commons Import}}
==Usage==
{{csdoc|usage}}
{{csdoc|usage common}}

; To cite a book with a credited author
: <code><nowiki>{{cite book |last= |first= |author-link= |date= |title= |url= |location= |publisher= |page= |isbn=}}</nowiki></code>
; To cite a book with no credited author
: <code><nowiki>{{cite book |author=<!--Staff writer(s); no by-line.--> |title= |url= |location= |publisher= |page= |date= |isbn=}}</nowiki></code>
; To cite an online book that has been archived
: <code><nowiki>{{cite book |last= |first= |date= |title= |url= |url-status= |location= |publisher= |isbn= |archive-url= |archive-date=}}</nowiki></code>
; To cite a book written in a foreign language
: <code><nowiki>{{cite book |last= |first= |date= |title= |trans-title= |url= |language= |location= |publisher= |isbn=}}</nowiki></code>
; To cite and quote an archived, two-author, foreign language book re-published as a PDF on an information aggregation service requiring a subscription
: <code><nowiki>{{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=}}</nowiki></code>
{{end}}

{{csdoc|usage vertical common}}
<pre style="margin:0px; border:none; white-space:pre;">
{{cite book
|last=
|first=
|author-link=
|date=
|title=
|url=
|location=
|publisher=
|page= <!-- or pages= -->
|isbn=
}}
</pre>
{{end}}

{{csdoc|usage full}}
<code><nowiki>{{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= |name-list-style= |translator-last1= |translator-first1= |translator-link1= |translator-last2= |translator-first2= |translator-link2= |display-translators= |translator-mask1= |translator-mask2= |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= |url-status= |url-access= |format= |type= |series= |language= |volume= |others= |edition= |location= |publisher= |publication-date= |page= |pages= |at= |nopp= |arxiv= |asin= |bibcode= |doi= |doi-broken-date= |isbn= |ismn= |issn= |jfm= |jstor= |lccn= |mr= |oclc= |ol= |osti= |pmc= |pmid= |rfc= |ssrn= |zbl= |id= |archive-url= |archive-date= |access-date= |via= |lay-url= |lay-source= |lay-date= |lay-format= |quote= |name-list-style= |mode= |postscript= |ref=}}</nowiki></code>
{{end}}

{| class="wikitable"
|+Full parameter set in vertical format
! Parameters !! Prerequisites !! Brief instructions / notes !! Vertical list
|-
| {{Hover title|or any of its aliases, including: last; author1; author; author-last1; author-last; (etc.)|last1}}
|
| Author's last name or single name author. Don't link.
| rowspan="98" style="vertical-align:top;" | <pre style="margin:0px; border:none;">
{{cite book
&nbsp;|last1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
|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 =
|name-list-style =
|translator-last1 =
|translator-first1 =
|translator-link1 =
|translator-last2 =
|translator-first2 =
|translator-link2 =
|display-translators =
|translator-mask1 =
|translator-mask2 =
|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 =
|url-status =
|url-access =
|format =
|type =
|series =
|language =
|volume =
|others =
|edition =
|location =
|publisher =
|publication-date =
|page =
|pages =
|at =
|nopp =
|arxiv =
|asin =
|bibcode =
|doi =
|doi-broken-date =
|isbn =
|ismn =
|issn =
|jfm =
|jstor =
|lccn =
|mr =
|oclc =
|ol =
|osti =
|pmc =
|pmid =
|rfc =
|ssrn =
|zbl =
|id =
|archive-url =
|archive-date =
|access-date =
|via =
|lay-url =
|lay-source =
|lay-date =
|lay-format =
|quote =
|name-list-style =
|mode =
|postscript =
|ref =
}}
</pre>
|-
| {{Hover title|or any of its aliases, including: first; given1; given; author-first1; author-first; (etc.)|first1}}
| {{Hover title|or any of its aliases, including: last; author1; author; author-last1; author-last; (etc.)|last1}}
| Author's first name. Don't link.
|-
| {{Hover title|or any of its aliases, including: author-link; authorlink1; authorlink; subject-link1; subject-link; (etc.)|author-link1}}
| {{Hover title|or any of its aliases, including: last; author1; author; author-last1; author-last; (etc.)|last1}}
| Title of Wikipedia article about the first author. Don't link.
|-
| {{Hover title|or any of its aliases, including: author2; author-last2; (etc.)|last2}}
| {{Hover title|or any of its aliases, including: last; author1; author; author-last1; author-last; (etc.)|last1}}
| Like <code>last1</code>, but for 2nd author.
|-
| {{Hover title|or any of its aliases, including: given2; author-first2; (etc.)|first2}}
| {{Hover title|or any of its aliases, including: author2; author-last2; (etc.)|last2}}
| Like <code>first1</code>, but for 2nd author.
|-
| {{Hover title|or any of its aliases, including: authorlink2; subject-link2; (etc.)|author-link2}}
| {{Hover title|or any of its aliases, including: author2; author-last2; (etc.)|last2}}
| Like <code>author-link1</code>, but for 2nd author.
|-
| {{Hover title|or any of its aliases, including: author3; author-last3; (etc.)|last3}}
| {{Hover title|or any of its aliases, including: author2; author-last2; (etc.)|last2}}
| Like <code>last1</code>, but for 3rd author.
|-
| {{Hover title|or any of its aliases, including: given3; author-first3; (etc.)|first3}}
| {{Hover title|or any of its aliases, including: author3; author-last3; (etc.)|last3}}
| Like <code>first1</code>, but for 3rd author.
|-
| {{Hover title|or any of its aliases, including: authorlink3; subject-link3; (etc.)|author-link3}}
| {{Hover title|or any of its aliases, including: author3; author-last3; (etc.)|last3}}
| Like <code>author-link1</code>, but for 3rd author.
|-
| {{Hover title|or any of its aliases, including: author4; author-last4; (etc.)|last4}}
| {{Hover title|or any of its aliases, including: author3; author-last3; (etc.)|last3}}
| Like <code>last1</code>, but for 4th author.
|-
| {{Hover title|or any of its aliases, including: given4; author-first4; (etc.)|first4}}
| {{Hover title|or any of its aliases, including: author4; author-last4; (etc.)|last4}}
| Like <code>first1</code>, but for 4th author.
|-
| {{Hover title|or any of its aliases, including: authorlink4; subject-link4; (etc.)|author-link4}}
| {{Hover title|or any of its aliases, including: author4; author-last4; (etc.)|last4}}
| Like <code>author-link1</code>, but for 4th author.
|-
| {{Hover title|or any of its aliases, including: author5; author-last5; (etc.)|last5}}
| {{Hover title|or any of its aliases, including: author4; author-last4; (etc.)|last4}}
| Like <code>last1</code>, but for 5th author. Similar: last6, etc.
|-
| {{Hover title|or any of its aliases, including: given5; author-first5; (etc.)|first5}}
| {{Hover title|or any of its aliases, including: author5; author-last5; (etc.)|last5}}
| Like <code>first1</code>, but for 5th author. Similar: first6, etc.
|-
| {{Hover title|or any of its aliases, including: authorlink5; subject-link5; (etc.)|author-link5}}
| {{Hover title|or any of its aliases, including: author5; author-last5; (etc.)|last5}}
| Like <code>author-link1</code>, but for 5th author. Similar: author-link6, etc.
|-
| {{Hover title|or alias displayauthors|display-authors}}
| {{Hover title|or any of its aliases, including: last; author1; author; author-last1; author-last; (etc.)|last1}}
| Number (number of authors displayed) or <code>etal</code> (more authors)
|-
| {{Hover title|or any of its aliases, including: author-mask; authormask1; authormask; (etc.)|author-mask1}}
| {{Hover title|or any of its aliases, including: last; author1; author; author-last1; author-last; (etc.)|last1}}
| rowspan="5" | See [[#Display options|Display options]] below; not for lists of cited works
|-
| {{Hover title|or any of its aliases, including: author2-mask; authormask2; (etc.)|author-mask2}}
| {{Hover title|or any of its aliases, including: author2; author-last2; (etc.)|last2}}
|-
| {{Hover title|or any of its aliases, including: author3-mask; authormask3; (etc.)|author-mask3}}
| {{Hover title|or any of its aliases, including: author3; author-last3; (etc.)|last3}}
|-
| {{Hover title|or any of its aliases, including: author4-mask; authormask4; (etc.)|author-mask4}}
| {{Hover title|or any of its aliases, including: author4; author-last4; (etc.)|last4}}
|-
| {{Hover title|or any of its aliases, including: author5-mask; authormask5; (etc.)|author-mask5}}
| {{Hover title|or any of its aliases, including: author5; author-last5; (etc.)|last5}}
|-
| name-list-style
| {{Hover title|or any of its aliases, including: author2; author-last2; (etc.)|last2}}
| Set to <code>amp</code> or <code>ampersand</code> to separate the last author with {{nowrap|"<code> & </code>"}}; set to <code>and</code> to separate with {{nowrap|"<code> and </code>"}}
|-
| {{Hover title|or any of its aliases, including: translator-last; translator1; translator; translator-surname; (etc.)|translator-last1}}
|
| Like <code>last1</code>, but for translator
|-
| {{Hover title|or any of its aliases, including: translator-first; translator-given1; translator-given; (etc.)|translator-first1}}
| {{Hover title|or any of its aliases, including: translator-last; translator1; translator; translator-surname; (etc.)|translator-last1}}
| Like <code>first1</code>, but for translator
|-
| {{Hover title|or any of its aliases, including: translator-link; (etc.)|translator-link1}}
| {{Hover title|or any of its aliases, including: translator-last; translator1; translator; translator-surname; (etc.)|translator-last1}}
| Like <code>author-link1</code>, but for translator
|-
| {{Hover title|or any of its aliases, including: translator2; translator-surname2; (etc.)|translator-last2}}
| {{Hover title|or any of its aliases, including: translator-last; translator1; translator; translator-surname; (etc.)|translator-last1}}
| Like <code>last1</code>, but for 2nd translator. Similar: translator-last3, etc.
|-
| {{Hover title|or any of its aliases, including: translator2-first; translator-given2; (etc.)|translator-first2}}
| {{Hover title|or any of its aliases, including: translator2; translator-surname2; (etc.)|translator-last2}}
| Like <code>first1</code>, but for 2nd translator. Similar: translator-first3, etc.
|-
| {{Hover title|or alias translator2-link|translator-link2}}
| {{Hover title|or any of its aliases, including: translator2; translator-surname2; (etc.)|translator-last2}}
| Like <code>author-link1</code>, but for 2nd transl. Similar: translator-link3, ...
|-
| {{nowrap|display-translators}}
| {{Hover title|or any of its aliases, including: translator-last; translator1; translator; translator-surname; (etc.)|translator-last1}}
| Like <code>display-authors</code>, but for translators
|-
| {{Hover title|or any of its aliases, including: translator-mask; (etc.)|translator-mask1}}
| {{Hover title|or any of its aliases, including: translator-last; translator1; translator; translator-surname; (etc.)|translator-last1}}
| rowspan="2" | See [[#Display options|Display options]] below; not for lists of cited works
|-
| {{Hover title|or alias translator2-mask|translator-mask2}}
| {{Hover title|or any of its aliases, including: translator2; translator-surname2; (etc.)|translator-last2}}
|-
|| date || ||
|-
|| year || ||
|-
|| orig-year || year or date ||
|-
|| chapter || || This should be the title of the chapter cited. 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 ||
|-
|| url-status || archive-url ||
|-
|| url-access || url ||
|-
|| format || url ||
|-
|| type || ||
|-
|| series || ||
|-
|| language || ||
|-
|| volume || ||
|-
|| others || ||
|-
|| edition || || Ordinal number
|-
|| 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 || ||
|-
|| ismn || ||
|-
|| 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 || ||
|-
|| lay-url || ||
|-
|| lay-source || lay-url ||
|-
|| lay-date || lay-url ||
|-
|| lay-format || lay-url ||
|-
|| quote || ||
|-
|| name-list-format || || <code>vanc</code> to emulate [[Vancouver style]]
|-
|| mode || || <code>cs1</code> or <code>cs2</code>
|-
|| postscript || ||
|-
|| ref || ||
|-
| colspan="4" style="text-align: center " | If a field name is listed in the '''Prerequisites''' column it is a prerequisite for the field to the left.
|}

==Parameters==
===Syntax===
{{csdoc|syntax}}

===COinS===
{{csdoc|coins}}

===What's new===
{{csdoc|whats new}}

===Deprecated===
{{csdoc|deprecated}}

===Description===
====Authors====
{{csdoc|author|contributor=yes|others=yes}}

====Title====
{{csdoc|title|title_format=italics}}
{{csdoc|type}}
{{csdoc|chapter}}
{{csdoc|language}}

====Date====
{{csdoc|date}}

====Publisher====
{{csdoc|publisher}}

====Edition, series, volume====
{{csdoc|edition}}
{{csdoc|series}}
{{csdoc|volume}}

====In-source locations====
{{csdoc|pages}}

===={{Anchor|url}}URL====
{{csdoc|url}}

====Chapter URL====
{{csdoc|chapterurl}}

====Anchor====
{{csdoc|ref}}

====Identifiers====
{{csdoc|id1}}
{{csdoc|id2}}

====Quote====
{{csdoc|quote}}

====Editors====
{{csdoc|editor}}

====Laysummary====
{{csdoc|lay}}

====Display options====
{{csdoc|display}}

====Subscription or registration required====
{{csdoc|registration}}

==TemplateData==

See [[Template:Cite book/TemplateData]].

Latest revision as of 09:28, 1 April 2024

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 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 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 techreport}}technical reports
{{Cite thesis}}theses
{{Cite web}}web sources not covered by the above
See alsoSpecific-source templates
Wrapper templates

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}}.