Template:Cite book/doc: Difference between revisions
From All Skies Encyclopaedia
imported>DocWatson42 m (Changed single quotation marks to double.) |
(←Blanked the page) |
||
Line 1: | Line 1: | ||
<noinclude>{{documentation subpage}}</noinclude><!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> |
|||
{{important|1=Please ensure that you <span class=plainlinks>[http://en.wikipedia.org/w/index.php?title=Template:Cite_book/doc&action=edit update the documentation]</span> when adding functionality to or removing functionality from this template.}} |
|||
This template is used to [[WP:CITE|cite sources]] in Wikipedia. It is specifically for books. This template replaces the deprecated {{tl|book reference}}. When citing an article in a compilation or anthology, {{tl|cite journal}} or {{tl|cite encyclopedia}} work better. __NOTOC__ |
|||
==Usage== |
|||
All parameter names '''must''' be in [[lowercase]]. |
|||
Copy a blank version to use. Remember to use the "|" (pipe) character between each parameter. Please delete any unused parameters to avoid clutter in the edit window. |
|||
No templates or magic words are necessary when using an [[ISBN]], [[OCLC]] number, or [[Digital object identifier|DOI]] as an identifier. Instead of using the <code>id</code> parameter in these instances, simply use the appropriate parameter. For instance, type <code>isbn=</code> followed by the number instead of <code>id=ISBN</code>. Templates are available for other identification number types to be used in the ID parameter ({{tl|ISSN}}, {{tl|LCCN}}, {{tl|LCC}}, etc.) if these aren't available. See also the complete [[#Description of parameters|description of parameters]]. |
|||
{| class="wikitable" |
|||
|- |
|||
! colspan="3" | Full version (copy and paste text below and delete parameters you don't need) |
|||
|- style="vertical-align:top;" |
|||
| colspan="3" | |
|||
:<code><nowiki>{{cite book |last1= |first1= |authorlink1= |last2= |first2= |authorlink2= |coauthors= |editor1-first= |editor1-last= |editor1-link= |others= |title= |trans_title= |url= |archiveurl= |archivedate= |format= |accessdate= |type= |edition= |series= |volume= |date= |year= |month= |origyear= |publisher= |location= |language= |isbn= |oclc= |doi= |id= |page= |pages= |at= |trans_chapter= |chapter= |chapterurl= |quote= |ref= |bibcode= |laysummary= |laydate= |separator= |postscript= |lastauthoramp=}}</nowiki></code> |
|||
|- style="vertical-align:top;" |
|||
! colspan="3" | Most commonly used parameters (use this and you won't have to delete as much) |
|||
|- style="vertical-align:top;" |
|||
| colspan="3" | |
|||
:<code><nowiki>{{cite book |title= |last= |first= |authorlink= |coauthors= |year= |publisher= |location= |isbn= |page= |pages= |url= |accessdate=}}</nowiki></code> |
|||
|- style="vertical-align:top;" |
|||
! Example 1 |
|||
| style="vertical-align: top;" |<pre style="margin:0px; white-space:normal;"> |
|||
{{cite book |last= Cordell |first= Bruce R. |coauthors= Jeff Grubb, David Yu |title= [[Manual of the Planes]] |publisher= [[Wizards of the Coast]] |year= 2001 |month= September |isbn= 0-7869-1850-8}} |
|||
</pre> |
|||
| style="vertical-align: top;" | |
|||
{{cite book |last= Cordell |first= Bruce R. |coauthors= Jeff Grubb, David Yu |title= [[Manual of the Planes]] |publisher= [[Wizards of the Coast]] |year= 2001 |month= September |isbn= 0-7869-1850-8}} |
|||
|- style="vertical-align:top;" |
|||
! Example 2 |
|||
| style="vertical-align: top;" |<pre style="margin:0px;"> |
|||
{{cite book |
|||
| last = Mumford |
|||
| first = David |
|||
| authorlink = David Mumford |
|||
| title = The Red Book of Varieties and Schemes |
|||
| publisher = [[Springer-Verlag]] |
|||
| series = Lecture notes in mathematics 1358 |
|||
| year = 1999 |
|||
| doi = 10.1007/b62130 |
|||
| isbn = 3-540-63293-X |
|||
}}</pre> |
|||
| style="vertical-align: top;" | |
|||
{{cite book |
|||
|last = Mumford |
|||
|first = David |
|||
|authorlink = David Mumford |
|||
|title = The Red Book of Varieties and Schemes |
|||
|publisher = [[Springer-Verlag]] |
|||
|series = Lecture notes in mathematics 1358 |
|||
|year = 1999 |
|||
|doi = 10.1007/b62130 |
|||
|isbn = 3-540-63293-X}} |
|||
|} |
|||
{| class="wikitable" |
|||
|- style="vertical-align:top;" |
|||
! Vertical list !! Prerequisites * !! Brief instructions |
|||
|- style="vertical-align:top;" |
|||
| style="vertical-align:top;" |<pre style="margin:0px;"> |
|||
{{cite book |
|||
| last = |
|||
| first = |
|||
| authormask = |
|||
| authorlink = |
|||
| coauthors = |
|||
| firstn = | lastn = |
|||
| authorn-link = |
|||
| editor = |
|||
| editorn-last = |
|||
| editorn-first = |
|||
| editor-link = |
|||
| editorn-link = |
|||
| others = |
|||
| title = |
|||
| trans_title = |
|||
| url = |
|||
| archiveurl = |
|||
| archivedate = |
|||
| format = |
|||
| accessdate = |
|||
| type = |
|||
| edition = |
|||
| series = |
|||
| volume = |
|||
| date = |
|||
| origyear = |
|||
| year = |
|||
| month = |
|||
| publisher = |
|||
| location = |
|||
| language = |
|||
| isbn = |
|||
| oclc = |
|||
| doi = |
|||
| bibcode = |
|||
| id = |
|||
| page = |
|||
| pages = |
|||
| nopp = |
|||
| at = |
|||
| chapter = |
|||
| trans_chapter = |
|||
| chapterurl = |
|||
| quote = |
|||
| ref = |
|||
| laysummary = |
|||
| laydate = |
|||
| separator = |
|||
| postscript = |
|||
| lastauthoramp = |
|||
}}</pre> |
|||
| style="vertical-align:top;" |<!-- XXX this is inaccessible --><pre style="margin:0px;"> |
|||
last |
|||
last |
|||
last |
|||
lastn |
|||
editor or editor-last |
|||
editorn-last |
|||
archiveurl= |
|||
url |
|||
url |
|||
year or date |
|||
year |
|||
publisher |
|||
page or pages |
|||
chapter |
|||
laysummary |
|||
coauthors or >1 lastn |
|||
</pre> |
|||
| style="vertical-align:top;" |<pre style="margin:0px;"> |
|||
(no wikilink) |
|||
(no wikilink) |
|||
alternative to first2, last2...first9, last9 |
|||
(no wikilink). n=1 through 9 |
|||
n=1 through 9 |
|||
n=1 through 4 |
|||
n=1 through 4 |
|||
n=1 through 4 |
|||
insert url of online version of the book or an extract, if available |
|||
†preferred (no wikilink) |
|||
alternative to date |
|||
always include ISBN if one has been assigned |
|||
hides automatic 'p' or 'pp'. |
|||
alternative to page/pages when those are used with nopp |
|||
‡(no wikilink). Synonymous with "contribution". |
|||
</pre> |
|||
|} |
|||
† This is the preferred parameter with its alternates listed below. |
|||
‡ If {{para|chapterurl}} is provided then {{para|chapter}} cannot have wikilinks. |
|||
==Fields== |
|||
===Wikilinks=== |
|||
Except where specifically prohibited in the parameter descriptions below, most parameters can be wikilinked (e.g. <code>title = <nowiki>[[book article|book title]]</nowiki></code>), but should generally only be linked to an existing Wikipedia article. Wikilinked parameters must escape the characters <code><nowiki><>[]{}</nowiki></code> rather than including them directly. |
|||
===Description of parameters=== |
|||
====Syntax (for the technical-minded)==== |
|||
Nested parameters rely on their parent parameters: |
|||
*''parent'' |
|||
*OR: ''parent2''—may be used instead of ''parent'' |
|||
**''child''—may be used with ''parent'' (and is ignored if ''parent'' is not used) |
|||
**OR: ''child2''—may be used instead of ''child'' (and is ignored if ''parent2'' is not used) |
|||
====Description==== |
|||
*'''last''': Surname of author. Don't wikilink (use ''authorlink'' instead). |
|||
**'''first''': Given or first name(s) of author, including title(s) (e.g. ''Firstname Middlename'' or ''Firstname M.'' or ''Dr. Firstname M., Snr.''). Don't wikilink (use ''authorlink'' instead). |
|||
***The 'last' and 'first' parameters are not ideally suited to authors whose surname is usually written first (e.g. as in Chinese). Use the same format as the source uses to handle these cases. |
|||
**{{AuthorMask doc}} See [[#Examples|Examples]] for typical usage. |
|||
**'''authorlink''': Title of Wikipedia article about author (not the author's personal website). Article should already exist. Must not be wikilinked itself. Do not use this on its own, but along with ''author'' or ''first'' and ''last''. |
|||
**'''coauthors''': Full name of additional author or authors, separated by ", " (e.g. ''Joe Bloggs, John F. Kennedy, H. R. Dent''). |
|||
***Whether the surname of the co-authors goes first or last is dependent on the citation style (see the [[#Citation_styles|citation style]] section below) preferred. |
|||
*OR: '''author''': Full name of author, preferably surname first. (deprecated) Don't wikilink (use ''authorlink'' instead). |
|||
*OR: for multiple authors, use the parameters '''first1''', '''last1''', ...,<b>first''n'', last''n''</b> to 'correctly' record all the information about the book (the first nine authors are printed, then ''et al.'' is appended if even more authors were specified). Don't wikilink as there are corresponding '''authorlink1''', ..., '''authorlink9''' parameters as well. This usage is preferred to the use of '''coauthors'''. |
|||
*'''editor''': Name of editor/editors. Do not Wikilink any values in the editor parameter but use ''editor-link'' instead. The template automatically adds "ed." after the editor's name unless the ''chapter'' parameter is used in which case the template adds "in" before the editor's name which appears after the chapter and before the title. This implies that the author is responsible only for part of the book (including the cited chapter) and the editor responsible for the whole book. If, however, the author(s) and editor(s) are responsible for the whole book, then the ''editor'' parameter or its alternates described below should not be used if the ''chapter'' parameter is being used. Instead, the editor(s) should be included in an ''author'' parameter with possibly "(ed.)" after the surname(s). Alternatively, the ''editor'' parameter may be used if the chapter detail is included in the ''title'' parameter instead of using the ''chapter'' parameter. |
|||
*OR: alternatively '''editor-first''' and '''editor-last''' can be used in the same way as ''first'' and ''last''. |
|||
*OR: for multiple editors up to four in number, use the parameters '''editor1-first''', '''editor1-last''', ...,<b>editor''n''-first, editor''n''-last</b> to 'correctly' record all the information about the book in the same way as ''first''n and ''last''n. |
|||
**'''editor-link''' or '''editor1-link'''...<b>editor''n''-link</b> is used in the same way as ''authorlink'' or ''authorlink''n. |
|||
*'''others''': To record other contributors to the work, such as "Illustrated by Smith" or "Trans. Smith". |
|||
*'''title''': Title of book. This is the only required parameter. Can be wikilinked but only to an existing Wikipedia article. Do not use italics. |
|||
**'''trans_title''': If the book cited is in a foreign language, an English translation of the title can be given here. The template will display this in square brackets after the ''title'' parameter and it will point to the ''url'' link, if used. Use of ''language'' parameter is recommended if this parameter is used. |
|||
*'''url''': URL of an online location where text of the book can be found. Cannot be used if you wikilinked ''title''. If applicable, should point to the specific page(s) referenced. Do not use this parameter to link to any commercial booksellers (such as Amazon.com). The [[Wikipedia:ISBN|ISBN link]] is a much better alternative which allows readers access to the books in their own countries or through their own choice of source, including Amazon, Google Books, thousands of libraries, and more. |
|||
**'''format''': Format, e.g. PDF. HTML implied if not specified. |
|||
**'''accessdate''': Full date when url was accessed. Should be used when ''url'' parameter is used. Should be in the same format as other dates in citations in the same article. Must not be wikilinked. |
|||
* archive parameters ''(if used, both must be provided)'' |
|||
** '''archiveurl''': The URL of an [[Web archiving|archived]] copy of a web page, if (or in case) the url becomes unavailable. Typically used to refer to services like [[WebCite]] and [[Internet Archive|Archive.org]]. |
|||
** '''archivedate''': Date when the item was archived. Should not be wikilinked. |
|||
*'''type''': An optional parameter which can be used to provide additional information about a publication type. The content appears in parentheses following the title. If the publication is a thesis or dissertation, the type might be specified as <code>type=PhD thesis</code>, If the publication is an audiobook on compact disk, the type might be specified as <code>type=CD</code>. |
|||
*'''edition''': When the book has more than one edition. ''e.g.:'' "2nd.", "Revised" etc.. Note that the template automatically displays " ed." after this parameter, so <code>edition=2nd</code> produces "2nd ed.". |
|||
*'''series''': When the book is part of a series of publications. |
|||
*'''volume''': For one book published in several volumes. However, this template displays the text in this parameter in bold type after the ''title'' and ''series'' parameters. An alternative is to include the volume information in the ''title'' parameter after the main title (see example below). (NB: there is a separate {{tl|Cite encyclopedia}} template). |
|||
*'''issue''': When the book is one of a series that is published periodically. |
|||
*'''date''': Full date of publication edition being referenced, in the same format as other dates in citations in the same article. Must not be wikilinked. |
|||
*OR: '''year''': Year of publication edition being referenced |
|||
**'''month''': Name of the month of publication. If you also have the day, use ''date'' instead. Must not be wikilinked. |
|||
**'''origyear''': Original publication year, for display alongside the date or year. For clarity, please supply specifics, for instance <code>origyear=First published 1859</code> or <code>origyear=Composed 1904</code>. This parameter only displays if there is a value for ''year'' or ''date''. |
|||
*'''publisher''': Publisher should not include corporate designation such as "Ltd" or "Inc". |
|||
**'''location''': Geographical place of publication. |
|||
*'''language''': The language the book is written in, if it is not English. The template automatically puts parentheses around the text and adds "in" before the language name. |
|||
*'''isbn''': [[International Standard Book Number]] such as ''1-111-22222-9''. Note that {{para|isbn}}, like all parameter names, must be in lowercase. The parameter must not be wikilinked as the template automatically creates a link. The template is insensitive to formatting so an ISBN number without dashes ("-") may be used (e.g. {{para|isbn|1111222229}}), though ISBNs with correctly formatted dashes are preferred (see [[Wikipedia:ISBN]] and [[ISBN#Overview|ISBN]]). Please use the 13-digit ISBN where possible; this can normally be found beneath the barcode as a number beginning 978 or 979. For books with the older SBN system (9 digits), use this parameter but prefix the number with a zero; thus ''SBN 902888-45-5'' should be entered as {{para|isbn|0-902888-45-5}}. More information about this feature and its advantages is available at [[Wikipedia:ISBN]]. |
|||
*'''oclc''': [[Online Computer Library Center]] ID number, such as ''3185581''. The parameter must not be wikilinked as the template automatically creates a link. |
|||
*'''doi''': A [[digital object identifier]] such as ''<nowiki>10.1016/j.coi.2004.08.001</nowiki>''. The parameter must not be wikilinked as the template automatically creates a link. |
|||
**'''doi_brokendate''': The date that a digital object identifier link was found to be broken. |
|||
*'''bibcode''': A nineteen character [[Bibcode]] identifier. The parameter must not be wikilinked as the template automatically creates a link. |
|||
*Several other parameters are available for catalogue or other identifying numbers; these include {{para|arxiv}}, {{para|asin}}, {{para|issn}} ([[International Standard Serial Number]]), {{para|jfm}}, {{para|jstor}}, {{para|lccn}}, {{para|mr}}, {{para|ol}} ([[Open Library]]), {{para|osti}}, {{para|pmc}}, {{para|pmid}}, {{para|rfc}}, {{para|ssrn}} and {{para|zbl}}. |
|||
*'''id''': A [[unique identifier]], used if none of the above are applicable. In this case, you need to specify the kind of identifier you are using, preferably with a template like {{tl|ASIN}} or {{tl|ISSN}}. (Use one of the more specialized parameters if possible; they are linked automatically. In other words, don't use {{para|id|ISBN 1-111-22222-9}} anymore; use {{para|isbn|1-111-22222-9}}. If the book has a SBN but not an ISBN, see {{para|isbn}}.) |
|||
*'''pages''' or '''page''': These parameters are for listing the pages relevant to the citation, ''not'' the total number of pages in the book. "<code>|pages= 5–7</code>" produces "pp. 5–7", while "<code>|page= 5</code>" produces "p. 5". The "pp." notation indicating multiple pages, and "p." notation indicating a single page, ''are placed automatically'' when you choose between the plural (''pages'') or singular (''page'') form of the parameter. Page ranges should be separated by an unspaced [[en dash]] (–). |
|||
**'''nopp''': using "page" or "pages", automatically places the p. or pp. notations. If this is inappropriate—for instance, if <code>page=Front cover</code>, placing any value after <code>nopp</code> (e.g. <code>nopp=y</code> will hide the p. or pp. notation. |
|||
*'''at''': Position within the resource when {{para|page}}/{{para|pages}} is inappropriate, e.g. {{para|at|para. 14}} (when citing a source without page numbers) or {{para|at|no. 456}} (something in a numbered list). This parameter is ignored if {{para|page}}/{{para|pages}} is specified. |
|||
**Using e.g. {{para|at|para. 14}} produces similar results to {{para|page|para. 14}}{{para|nopp|y}} or {{para|pages|para. 14}}{{para|nopp|y}} |
|||
*'''chapter''' (= '''contribution'''): The chapter of the book, written in full. Punctuation (other than quotation marks, which are supplied around the chapter title automatically by the template) should be included in the value passed to the parameter, e.g. {{para|chapter|Chapter 12: Meet Dick and Jane.}} produces "Chapter 12: Meet Dick and Jane." ahead of ''title''. |
|||
**'''trans_chapter''': Acts in the same way as ''trans_title''. The parameter will be displayed in square brackets within the quotation marks which embrace the ''chapter'' parameter. Use of ''language'' parameter is recommended if this parameter is used. |
|||
**'''chapterurl''' (='''contribution-url'''): URL of an individual chapter of online book. Should be at the same site as ''url'', if any. If ''chapterurl'' is used, ''url'' should only be used if the beginning of the work and the cited chapter are on separate webpages at the site. |
|||
*'''quote''': Relevant quote from the book. Should not be excessive in length: More than a few sentences is rarely needed, and if needed then the Wikipedia article's prose should probably more adequately address the topic and/or quote the material directly, e.g. with {{tlx|quote}}. The template will automatically provided quotation marks, but not a terminal period/full stop (or diaeresis as appropriate), nor initial capitalization, both of which should be added manually. Example: <blockquote>{{para|quote|[I]t was not only competition, but the introduction of new techniques that drew spectators to the events...}}</blockquote> |
|||
*'''ref''': ID for anchor. By default, no anchor is generated. The ordinary nonempty value {{para|ref|<var>ID</var>}} generates an anchor with the given <code><var>ID</var></code>; such a linkable reference can be made the target of [[Wikipedia:Citing sources/Further considerations#Wikilinks to full references|wikilinks to full references]], especially useful in short citations like [[Wikipedia:Citing sources#Shortened footnotes|shortened notes]] and [[Wikipedia:Parenthetical referencing|parenthetical referencing]]. The special value {{para|ref|harv}} generates an anchor suitable for the {{tl|harv}} template; see ''[[Template:Citation/doc#Anchors for Harvard referencing templates|anchors for Harvard referencing templates]]''. See "Wikilinks to full references" in [[#Examples|Examples]] below for using the ''ref'' parameter in citation templates in conjunction with short <nowiki><ref>...</ref></nowiki> citations. |
|||
*'''laysummary''': Link to a non-technical summary (or review) of the book |
|||
**'''laydate''': Date of summary |
|||
*'''separator''': The separator to use in lists of authors, editors, ''etc''. Defaults to ".", but "," may be useful also. If the parameter is present, but blank, ''no separator will be used''. |
|||
*'''author-separator''': Parameter allowing punctuation style to be altered |
|||
*'''author-name-separator''': Parameter allowing punctuation style to be altered |
|||
*'''display-authors''': By default, the number of authors displayed is limited to 8; if 9 are provided, the ninth is displayed as "''et al.''". This parameter allows display of fewer authors before the "''et al.''" (e.g., {{para|display-authors|2}}); alternatively, the "''et al.''" may be suppressed by the use of {{para|display-authors|9}}. |
|||
*'''postscript''': The closing punctuation for the citation. If specified, over-rides the default behaviour of terminating the citation with a full stop. If the parameter is present, but blank, ''no terminating punctuation will be used''. This may be useful when generating an output consistent with other templates. It is preferred to manually adding ending punctuation, as the punctuation occurs within the <cite> tag, so will appear before any icons added by browser plugins. Ignored if {{para|quote}} is specified. |
|||
*'''lastauthoramp''': The separator to use between the last two names in lists of authors. Defaults to "", but "&" may be useful as well. |
|||
==Examples== |
|||
;Just a title: |
|||
:<code><nowiki>* {{cite book | title=Mysterious book }}</nowiki></code> |
|||
:*{{cite book | title = Mysterious book }} |
|||
;Year and title: |
|||
:<code><nowiki>* {{cite book | title=Mysterious book | year=1901 }}</nowiki></code> |
|||
:*{{cite book | title = Mysterious book | year = 1901 }} |
|||
;Basic usage: |
|||
:<code><nowiki>* {{cite book | first=Joe | last=Bloggs | authorlink=Joe Bloggs | year=1974 | title=Book of Bloggs }}</nowiki></code> |
|||
:*{{cite book | first=Joe | last=Bloggs | authorlink=Joe Bloggs | year=1974 | title=Book of Bloggs }} |
|||
;Basic usage with url: |
|||
:<code><nowiki>* {{cite book | last=Bloggs | first=Joe | authorlink=Joe Bloggs | year=1974 | title=Book of Bloggs | edition=1st | url=http://en.wikipedia.org/ | accessdate=2006-02-17 }}</nowiki></code> |
|||
:*{{cite book | last=Bloggs | first=Joe | authorlink=Joe Bloggs | year=1974 | title=Book of Bloggs | edition=1st | url=http://en.wikipedia.org/ | accessdate=2006-02-17 }} |
|||
; Citing a chapter in a book with different authors for different chapters and an editor |
|||
:<code><nowiki>* {{cite book |last=Bloggs | first=Fred |editor-first=John| editor-last=Doe |title=Big Compilation Book With Many Chapters and distinct chapter authors |publisher=Book Publishers |date=2001-01-01 |pages=100–110 |chapter=Chapter 2: The History Of The Bloggs Family |isbn=1234567890}}</nowiki></code> |
|||
:*{{cite book |last=Bloggs | first=Fred |editor-first=John| editor-last=Doe |title=Big Book With Many Chapters and distinct chapter authors|publisher=Book Publishers |date=2001-01-01 |pages=100–110 |chapter=Chapter 2: The History Of The Bloggs Family |isbn=1234567890}} |
|||
; Citing a chapter in a book with two joint authors and an editor |
|||
:<code><nowiki>* {{cite book |last1=Bloggs | first1=Joe| last2=Egg| first2=Fred| first3=John (ed.)| last3=Doe |title=Big Book With Many Chapters and two co-authors |publisher=Book Publishers |date=2001-01-01 ||origyear=1st. Pub. 1986|pages=100–110 |chapter=Chapter 6: Getting There| chapterurl=http://en.wikipedia.org/ |isbn=1234567890| lastauthoramp=y}}</nowiki></code> |
|||
:*{{cite book |last1=Bloggs | first1=Joe| last2=Egg| first2=Fred| first3=John (ed.)| last3=Doe |title=Big Book With Many Chapters and two co-authors |publisher=Book Publishers |date=2001-01-01 |origyear=1st. Pub. 1986| pages=100–110 |chapter=Chapter 6: Getting There | chapterurl=http://en.wikipedia.org/| isbn=1234567890| lastauthoramp=y}} |
|||
;Three authors, title with a piped wikilink, edition |
|||
:<code><nowiki>* {{cite book | last1=Bloggs | first1=Joe | authorlink=Joe Bloggs | first2=John | last2=Smith | first3=Jim | last3=Smythe | title=[[A Thousand Acres|1000 Acres]] | edition=2nd }}</nowiki></code> |
|||
:*{{cite book | last1=Bloggs | first1=Joe | authorlink1=Joe Bloggs | first2=John | last2=Smith | first3=Jim | last3=Smythe | title=[[A Thousand Acres|1000 Acres]] | edition=2nd}} |
|||
;Complex usage showing effect of using volume parameter and lastauthoramp parameter |
|||
:Without volume and lastauthoramp parameters: |
|||
:<code><nowiki>*{{cite book|first1=Major-General I.S.O.| last1=Playfair| authorlink1=Ian Stanley Ord Playfair| first2=Commander G.M.S| last2=Stitt| first3=Brigadier C.J.C.| last3=Molony| first4=Air Vice-Marshal S.E.| last4=Toomer| editor-first=J.R.M| editor-last=Butler| series=History of the Second World War, United Kingdom Military Series| title=Mediterranean and Middle East. Volume I: The Early Successes Against Italy (to May 1941)| publisher=Naval & Military Press |location=Uckfield, UK|year=2007| origyear=1st. pub. [[HMSO]]:1954| isbn=1-845740-65-3}}</nowiki></code> |
|||
:*{{cite book|first1=Major-General I.S.O.| last1=Playfair| authorlink1=Ian Stanley Ord Playfair| first2=Commander G.M.S| last2=Stitt| first3=Brigadier C.J.C.| last3=Molony| first4=Air Vice-Marshall S.E.| last4=Toomer| editor-first=J.R.M| editor-last=Butler| series=History of the Second World War, United Kingdom Military Series| title=Mediterranean and Middle East. Volume I: The Early Successes Against Italy (to May 1941)| publisher=Naval & Military Press |location=Uckfield, UK|year=2007| origyear=1st. pub. [[HMSO]]:1954| isbn=1-845740-65-3}} |
|||
:With volume and last authoramp parameters: |
|||
:<code><nowiki>*{{cite book|first1=Major-General I.S.O.| last1=Playfair| authorlink1=Ian Stanley Ord Playfair| first2=Commander G.M.S| last2=Stitt| first3=Brigadier C.J.C.| last3=Molony| first4=Air Vice-Marshall S.E.| last4=Toomer| editor-first=J.R.M| editor-last=Butler| series=History of the Second World War, United Kingdom Military Series| title=Mediterranean and Middle East|volume=Volume I: The Early Successes Against Italy (to May 1941)| publisher=Naval & Military Press |location=Uckfield, UK|year=2007| origyear=1st. pub. [[HMSO]]:1954| isbn=1-845740-65-3|lastauthoramp=y}}</nowiki></code> |
|||
:*{{cite book|first1=Major-General I.S.O.| last1=Playfair| authorlink1=Ian Stanley Ord Playfair| first2=Commander G.M.S| last2=Stitt| first3=Brigadier C.J.C.| last3=Molony| first4=Air Vice-Marshall S.E.| last4=Toomer| editor-first=J.R.M| editor-last=Butler| series=History of the Second World War, United Kingdom Military Series| title=Mediterranean and Middle East|volume=Volume I: The Early Successes Against Italy (to May 1941)| publisher=Naval & Military Press |location=Uckfield, UK|year=2007| origyear=1st. pub. [[HMSO]]:1954| isbn=1-845740-65-3|lastauthoramp=y}} |
|||
;Date without day, wikilinked title and publisher, id, pages, location |
|||
:<code><nowiki>* {{cite book | last=Cordell | first=Bruce R. | coauthors=Jeff Grubb, David Noonan | year=2001 | month=September | title=[[Manual of the Planes]] | publisher=[[Wizards of the Coast]] | location=Timbuktu | isbn=0-7869-1850-8 | pages= 134–137 }}</nowiki></code> |
|||
:*{{cite book | last=Cordell | first=Bruce R. | coauthors=Jeff Grubb, David Noonan | year=2001 | month=September | title=[[Manual of the Planes]] | publisher=[[Wizards of the Coast]] | location=Timbuktu | isbn=0-7869-1850-8 | pages= 134–137}} |
|||
;Other language |
|||
:<code><nowiki>* {{cite book | last=Bloggs | first=Jean | year=1974 | title=Livre de Bloggs | edition=1st | language=French| trans_title=Book of Bloggs| url=http://en.wikipedia.org/ | accessdate=2006-02-17 }}</nowiki></code> |
|||
:*{{cite book | last=Bloggs | first=Jean | year=1974 | title=Livre de Bloggs | edition=1st | language=French| trans_title=Book of Bloggs| url=http://en.wikipedia.org/ | accessdate=2006-02-17 }} |
|||
;Using authormask parameter |
|||
:<code><nowiki>{{cite book|first1=Major-General I.S.O.| last1=Playfair| authorlink1=Ian Stanley Ord Playfair| last2=Stitt| first2=Commander G.M.S| last3=Molony| first3=Brigadier C.J.C.| last4=Toomer| first4=Air Vice-Marshall S.E.|editor-last=Butler| editor-first=J.R.M| editor-link=James Ramsay Montagu Butler | series=History of the Second World War, United Kingdom Military Series| title=Mediterranean and Middle East Volume I: The Early Successes Against Italy (to May 1941)| publisher=Naval & Military Press |location=Uckfield, UK|year=2004| origyear=1st. pub. [[HMSO]]:1954| isbn=1-845740-65-3| lastauthoramp=y}}</nowiki></code> |
|||
:<code><nowiki>{{cite book|first1=Major-General I.S.O.| last1=Playfair| authorlink1=Ian Stanley Ord Playfair| last2=Flynn| first2=Captain F.C. (R.N.)| last3=Molony| first3=Brigadier C.J.C.| last4=Toomer| first4=Air Vice-Marshall S.E.|editor-last=Butler| editor-first=J.R.M| editor-link=James Ramsay Montagu Butler |series=History of the Second World War, United Kingdom Military Series| title=The Mediterranean and Middle East, Volume II: The Germans come to the help of their Ally (1941)| publisher=Naval & Military Press |location=Uckfield, UK |year=2004| origyear=1st. pub. [[HMSO]]:1956| isbn=1-845740-66-1| lastauthoramp=y| authormask=2}}</nowiki></code> |
|||
:<code><nowiki>{{cite book|first1=Major-General I.S.O.| last1=Playfair| authorlink1=Ian Stanley Ord Playfair| last2=Flynn| first2=Captain F.C. (R.N.)| last3=Molony| first3=Brigadier C.J.C.| last4=Gleave| first4=Group Captain T.P.|editor-last=Butler| editor-first=Sir James| editor-link=James Ramsay Montagu Butler |series=History of the Second World War, United Kingdom Military Series| title=The Mediterranean and Middle East, Volume III: British Fortunes reach their Lowest Ebb (September 1941 to September 1942)| publisher=Naval & Military Press |location=Uckfield, UK |year=2004| origyear=1st. pub. [[HMSO]]:1960| isbn=1-845740-67-X| lastauthoramp=y| authormask=2}}</nowiki></code> |
|||
:{{cite book|first1=Major-General I.S.O.| last1=Playfair| authorlink1=Ian Stanley Ord Playfair| last2=Stitt| first2=Commander G.M.S| last3=Molony| first3=Brigadier C.J.C.| last4=Toomer| first4=Air Vice-Marshall S.E.|editor-last=Butler| editor-first=J.R.M| editor-link=James Ramsay Montagu Butler | series=History of the Second World War, United Kingdom Military Series| title=Mediterranean and Middle East Volume I: The Early Successes Against Italy (to May 1941)| publisher=Naval & Military Press |location=Uckfield, UK|year=2004| origyear=1st. pub. [[HMSO]]:1954| isbn=1-845740-65-3| lastauthoramp=y}}<br>{{cite book|first1=Major-General I.S.O.| last1=Playfair| authorlink1=Ian Stanley Ord Playfair| last2=Flynn| first2=Captain F.C. (R.N.)| last3=Molony| first3=Brigadier C.J.C.| last4=Toomer| first4=Air Vice-Marshall S.E.|editor-last=Butler| editor-first=J.R.M| editor-link=James Ramsay Montagu Butler |series=History of the Second World War, United Kingdom Military Series| title=The Mediterranean and Middle East, Volume II: The Germans come to the help of their Ally (1941)| publisher=Naval & Military Press |location=Uckfield, UK |year=2004| origyear=1st. pub. [[HMSO]]:1956| isbn=1-845740-66-1| lastauthoramp=y| authormask=2}}<br>{{cite book|first1=Major-General I.S.O.| last1=Playfair| authorlink1=Ian Stanley Ord Playfair| last2=Flynn| first2=Captain F.C. (R.N.)| last3=Molony| first3=Brigadier C.J.C.| last4=Gleave| first4=Group Captain T.P.|editor-last=Butler| editor-first=Sir James| editor-link=James Ramsay Montagu Butler |series=History of the Second World War, United Kingdom Military Series| title=The Mediterranean and Middle East, Volume III: British Fortunes reach their Lowest Ebb (September 1941 to September 1942)| publisher=Naval & Military Press |location=Uckfield, UK |year=2004| origyear=1st. pub. [[HMSO]]:1960| isbn=1-845740-67-X| lastauthoramp=y| authormask=2}} |
|||
;Using a [[Digital object identifier|DOI]] |
|||
:<code><nowiki>*{{cite book |
|||
|last=Mumford |
|||
|first=David |
|||
|authorlink=David Mumford |
|||
|year=1999 |
|||
|title=The Red Book of Varieties and Schemes: Includes the Michigan Lectures (1974) on Curves and Their Jacobians |
|||
|edition=2nd |
|||
|publisher=[[Springer-Verlag]] |
|||
|doi=10.1007/b62130 |
|||
|isbn=354063293X |
|||
}}</nowiki></code> |
|||
:*{{cite book |
|||
|last=Mumford |
|||
|first=David |
|||
|authorlink=David Mumford |
|||
|year=1999 |
|||
|title=The Red Book of Varieties and Schemes: Includes the Michigan Lectures (1974) on Curves and Their Jacobians |
|||
|edition=2nd |
|||
|publisher=[[Springer-Verlag]] |
|||
|doi=10.1007/b62130 |
|||
|isbn=354063293X |
|||
}} |
|||
;[[Wikipedia:Citing sources/Further_considerations#Wikilinks_to_full_references|Wikilinks to full references]]: |
|||
{{See also|Template:harvard citation documentation}} |
|||
:As mentioned, the bibliographical data of the cited source can be “tagged” by an identifier: this enables the system to “find” the target of the wikilinks. This “tagging” with an identifier can be done by enclosing between <nowiki><cite id=…>…</cite></nowiki> tags, but this tool can be superfluous if the bibliographical data are provided with a citation template: the <code>ref</code> parameter of the chosen citation template must be set to the same name. |
|||
Wikilink example edit: |
|||
<blockquote> |
|||
<code> |
|||
Shamans may fulfill multiple functions, including healing, curing infertile women, and securing the success of hunts.<span style="color:black;"><ref>'''<nowiki>[</nowiki>[#Mer85|'''Merkur 1985''']]''': 4</ref></span> |
|||
<br> |
|||
<br> |
|||
<span style="color:#666;">== Notes ==</span> |
|||
<br> |
|||
<br> |
|||
<span style="color:black;"><nowiki>{{reflist|2}}</nowiki></span> |
|||
<br> |
|||
<br> |
|||
<span style="color:#666;">== References ==</span> |
|||
<br> |
|||
<br> |
|||
<nowiki>* {{cite book |last=Merkur |first=Daniel |year=1985 |title=Becoming Half Hidden: Shamanism and Initiation among the Inuit |publisher=Almqvist & Wiksell |location=Stockholm |isbn=91-22-00752-0</nowiki> <strong style="color:red;">|ref=Mer85</strong><nowiki>}}</nowiki> |
|||
</code> |
|||
</blockquote> |
|||
Example rendered result: |
|||
<blockquote> |
|||
<div> |
|||
<p>Shamans may fulfill multiple functions, including healing, curing infertile women, and securing the success of hunts.<sup id="shaman_function" class="reference">[[#Mer85_4|[1]]]</sup></p> |
|||
<p style=" |
|||
font-size: 150%; |
|||
background: none repeat scroll 0 0 transparent; |
|||
border-bottom: 1px solid #AAAAAA; |
|||
color: black; |
|||
font-weight: normal; |
|||
margin: 0; |
|||
margin-bottom: 0.6em; |
|||
overflow: hidden; |
|||
padding-bottom: 0.17em; |
|||
padding-top: 0.5em;">Notes</p> |
|||
<div class="references-small" style="-moz-column-count:2; -webkit-column-count:2; column-count:2;"> |
|||
<ol class="references"> |
|||
<li id="Mer85_4"> |
|||
<b> |
|||
[[#shaman_function|^]] |
|||
</b> |
|||
[[#Mer85|Merkur 1985]]: 4 |
|||
</li> |
|||
</ol> |
|||
</div> |
|||
<p style=" |
|||
font-size: 150%; |
|||
background: none repeat scroll 0 0 transparent; |
|||
border-bottom: 1px solid #AAAAAA; |
|||
color: black; |
|||
font-weight: normal; |
|||
margin: 0; |
|||
margin-bottom: 0.6em; |
|||
overflow: hidden; |
|||
padding-bottom: 0.17em; |
|||
padding-top: 0.5em;">References</p> |
|||
* {{cite book |last=Merkur |first=Daniel |year=1985 |title=Becoming Half Hidden: Shamanism and Initiation among the Inuit |publisher=Almqvist & Wiksell |location=Stockholm |isbn=91-22-00752-0 |ref=Mer85}} |
|||
</div> |
|||
</blockquote> |
|||
Attention must be paid: not all other citation templates support this. In such cases, the service can be achieved also by enclosing the concerned bibliographical item inside <code><nowiki><span id=…>…</span></nowiki></code> tags: also this way, it can feature as a target of [[Wikipedia:Citing sources/Further considerations#Wikilinks to full_references|Wikilinks to full references]]. The <code>id</code> attribute of the tag must be set to the same name what we would give to the (lacking) <code>ref</code> parameter of the citation template. |
|||
==Testing== |
|||
See [[Template:cite book/regression tests]]. |
|||
==Notes== |
|||
'''1. Extra full-stop'''<br> |
|||
:Note the extra full-stop when the last author ends with an initial, and there is no date: |
|||
:*{{cite book | last = Invisible | first = M. | title = Mysterious book }} |
|||
:We don't know of a practical solution to this—unless there is a way to test the characters of a parameter? |
|||
'''2. Deprecated parameters'''<br> |
|||
:Following from [[Template_talk:Cite_web/Archive_5#accessmonthday_SNAFU_...|this]] January 2009 discussion, and numerous others on that page, the parameters {{para|accessyear}}, {{para|accessmonthday}} and {{para|accessdaymonth}} were found to be more trouble than they're worth. They were created in the days of date autoformatting to force a display in ymd or dmy format; now this is deprecated in favour of setting {{para|dateformat}} in the template and passing the whole date in together as {{para|accessdate}}. See [[Wikipedia:Bots/Requests_for_approval/MelonBot_12|Requests for approval/MelonBot 12]] for more information. |
|||
:As of February 2011, if any of {{para|access-date}}, {{para|accessday}}, {{para|accessdaymonth}}, {{para|accessmonth}}, {{para|accessmonthday}}, {{para|accessyear}}, {{para|dateformat}}, or {{para|day}} is used, then the page is listed in [[:Category:Pages containing cite templates with deprecated parameters]] and subject to correction by [[User:MelonBot]]. |
|||
==Citation styles== |
|||
Established citation styles for coauthors: |
|||
*[http://www.cws.illinois.edu/workshop/writers/citation/mla/index.html MLA style]: Last, First and First Last. "If there are more than three authors, you may list only the first author followed by the phrase ''et al''." |
|||
*[http://www.cws.illinois.edu/workshop/writers/citation/apa/index.html APA style]: Last, F. & Last, F. |
|||
*[http://www.liunet.edu/cwis/cwp/library/workshop/citchi.htm Chicago Manual of Style]: Last, First, and First Last. |
|||
*[http://www.liunet.edu/cwis/cwp/library/workshop/cittur.htm Turabian]: same as Chicago Reference List, above. |
|||
*[http://www.library.uq.edu.au/training/citation/harvard.html Harvard]{{dl|date=December 2009}}: Last, F., Last, F. & Last, F. |
|||
==COinS== |
|||
{{UF-COinS}} |
|||
==Tools== |
|||
See [[Wikipedia:Citing sources#Programming tools]] for a list of tools which can help create a reference in the "cite book" format. |
|||
==See also== |
|||
* [[:Category:Citation templates]] |
|||
* [[User:Citation bot|Citation bot]] |
|||
* [[Wikipedia:Citing sources|Citing sources]]: Style guide |
|||
* [[Wikipedia:Citing sources/example style|Citing sources/example style]] |
|||
* [[Wikipedia:Citation templates|Citation templates]]: Related templates |
|||
* [[WP:DOI|Digital Object Identifier]] |
|||
* [[Template:Cite journal]] |
|||
* [[Template:Cite web]] |
|||
* [[Template:rp]], an alternative to the {{para|page}}, {{para|pages}} and {{para|at}} parameters for referencing specific pages or sections, especially when the same source is used more than once in an article |
|||
* [[Wikipedia:WikiProject Wikicite|WikiProject Wikicite]] |
|||
* [[Zotero]] |
|||
<includeonly> |
|||
[[Category:Citation templates|{{PAGENAME}}]] |
|||
[[Category:Book templates|{{PAGENAME}}]] |
|||
[[ar:قالب:مرجع كتاب]] |
|||
[[be-x-old:Шаблён:Кніга]] |
|||
[[bg:Шаблон:Cite book]] |
|||
[[id:Templat:Cite book]] |
|||
[[ca:Plantilla:Ref-llibre]] |
|||
[[cs:Šablona:Citace knihy]] |
|||
[[cy:Nodyn:Dyf llyfr]] |
|||
[[de:Vorlage:Literatur]] |
|||
[[et:Mall:Cite book]] |
|||
[[el:Πρότυπο:Cite book]] |
|||
[[es:Plantilla:Cita libro]] |
|||
[[eo:Ŝablono:Citu libron]] |
|||
[[fa:الگو:یادکرد]] |
|||
[[fr:Modèle:Ouvrage]] |
|||
[[gu:ઢાંચો:Cite book]] |
|||
[[ko:틀:서적 인용]] |
|||
[[ia:Patrono:Cite book]] |
|||
[[it:Template:Cita libro]] |
|||
[[he:תבנית:cite book]] |
|||
[[hu:Sablon:Cite book]] |
|||
[[mk:Шаблон:Книга]] |
|||
[[ja:Template:Cite book]] |
|||
[[ka:თარგი:Cite book]] |
|||
[[nl:Template: citeer boek]] |
|||
[[no:mal:Kilde bok]] |
|||
[[pms:Template:Cité un lìber]] |
|||
[[pl:Szablon:Cytuj książkę]] |
|||
[[pt:Predefinição:Citar_livro]] |
|||
[[ro:Format:Cite book]] |
|||
[[ru:Шаблон:Книга]] |
|||
[[sk:Šablóna:Citácia knihy]] |
|||
[[sl:Predloga:Cite book]] |
|||
[[fi:Malline:Kirjaviite]] |
|||
[[sv:Mall:Bokref]] |
|||
[[th:แม่แบบ:Cite book]] |
|||
[[ur:Template:Cite book]] |
|||
[[uk:Шаблон:Книга]] |
|||
[[vi:Tiêu bản:Chú thích sách]] |
|||
[[zh-yue:Template:引書]] |
|||
[[zh:Template:Cite book]] |
|||
</includeonly> |