Cite book: Difference between revisions
test>Shawndouglas (Readding template data. Got year to work without template data. Verifying that it indeed breaks year display) |
Shawndouglas (talk | contribs) m (22 revisions imported: Importing my work from LIMSwiki, using the same CC license) |
||
(3 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{Citation/core | <includeonly>{{Citation/core | ||
|Citation class=book | |Citation class=book | ||
|AuthorMask = {{{author-mask|{{{authormask|}}}}}} | |AuthorMask = {{{author-mask|{{{authormask|}}}}}} | ||
Line 40: | Line 40: | ||
}}} | }}} | ||
|YearNote = {{{origyear|}}} | |YearNote = {{{origyear|}}} | ||
|Date = {{#if:{{{date|}}}|{{{date}}}|{{{day|}}} {{{month|}}} {{{year|{{{publication-date|}}}}}}}} | |Date = {{#if:{{{date|}}}|{{date|{{{date}}}}}|{{{day|}}} {{{month|}}} {{{year|{{{publication-date|}}}}}}}} | ||
|Title={{{title|}}} | |Title={{{title|}}} | ||
|TransTitle={{{trans-chapter|}}} | |TransTitle={{{trans-chapter|}}} | ||
Line 119: | Line 119: | ||
|laydate = {{{laydate|}}} | |laydate = {{{laydate|}}} | ||
|Ref={{{ref|}}} | |Ref={{{ref|}}} | ||
|Sep = {{{separator|{{{seperator|.}}}}}} | |||
|PS = {{#if:{{{quote|}}}||{{{postscript|.}}}}} | |PS = {{#if:{{{quote|}}}||{{{postscript|.}}}}} | ||
|AuthorSep = {{#ifeq:{{{author-separator|}}}|;|;|{{{author-separator|;}}}}}  | |||
|NameSep = {{{author-name-separator|,}}}  | |||
|Trunc = {{{display-authors|8}}} | |Trunc = {{{display-authors|8}}} | ||
}}{{#if:{{{accessdaymonth|}}}{{{accessmonthday|}}}{{{accessday|}}}{{{accessmonth|}}}{{{accessyear|}}}{{{day|}}}{{{access-date|}}}{{{dateformat|}}}|[[Category:Pages containing cite templates with deprecated parameters|{{NAMESPACE}} {{PAGENAME}}]]}} | }}{{#if:{{{accessdaymonth|}}}{{{accessmonthday|}}}{{{accessday|}}}{{{accessmonth|}}}{{{accessyear|}}}{{{day|}}}{{{access-date|}}}{{{dateformat|}}}|[[Category:Pages containing cite templates with deprecated parameters|{{NAMESPACE}} {{PAGENAME}}]]}}</includeonly> | ||
<noinclude> | <noinclude> | ||
{{documentation}} | {{documentation}} | ||
Line 970: | Line 972: | ||
} | } | ||
</templatedata> | </templatedata> | ||
[[Category:Citation templates]] | |||
</noinclude> | </noinclude> |
Latest revision as of 07:44, 18 June 2024
Usage
All field names must be in lowercase.
Copy a blank version to use. Remember to use the "|" (pipe) character between each field. Please delete any unused fields to avoid clutter in the edit window.
No templates or magic words are necessary when using an ISBN, OCLC number, or DOI as an identifier. Instead of using the id
field in these instances, simply use the appropriate field. For instance, type isbn=
followed by the number instead of id=ISBN
. Templates are available for other identification number types to be used in the ID field ({{ISSN}}, {{LCCN}}, {{LCC}}, etc.) if these aren't available. See also the complete description of fields.
Full version (copy and paste text below and delete parameters you don't need) | ||
---|---|---|
| ||
Most commonly used fields (use this and you won't have to delete as much) | ||
| ||
Example 1 | {{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}} |
Cordell, Bruce R. (September 2001). Manual of the Planes. Wizards of the Coast. ISBN 0-7869-1850-8. |
Example 2 | {{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 }} |
Mumford, David (1999). The Red Book of Varieties and Schemes. Lecture notes in mathematics 1358. Springer-Verlag. doi:10.1007/b62130. ISBN 3-540-63293-X. |
Vertical list | Prerequisites * | Brief instructions |
---|---|---|
{{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 = }} |
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 |
(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". |
† This is the preferred field with its alternates listed below.
‡ If |chapterurl=
is provided then |chapter=
cannot have wikilinks.
Fields
Wikilinks
Except where specifically prohibited in the field descriptions below, most fields can be wikilinked (e.g. title = [[book article|book title]]
), but should generally only be linked to an existing Writediteach article. Wikilinked fields must escape the characters <>[]{}
rather than including them directly.
Description of fields
Syntax (for the technical-minded)
Nested fields rely on their parent fields:
- 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' fields 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.
- author-mask – This parameter is primarily intended for use in bibliographies where multiple works by a single author are listed. It replaces the name of the first author (which must still be provided to garner metadata) with a strike-thru dash (—) author-mask em in length. So if
|author-mask=1
then the dash will be one em in length, if|author-mask=2
it will be two em long and so on. Set author-mask to a text value to display a word instead – for example, 'with'. You must still include|last=
and|first=
for metadata purposes. See Examples for typical usage. - authorlink: Title of Writediteach 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 style section below) preferred.
- 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).
- OR: author: Full name of author, preferably surname first. (deprecated) Don't wikilink (use authorlink instead).
- OR: for multiple authors, use the fields first1, last1, ...,firstn, lastn 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 fields as well. This usage is preferred to the use of coauthors.
- editor: Name of editor/editors. Do not Wikilink any values in the editor field 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 field or its alternates described below should not be used if the chapter field is being used. Instead, the editor(s) should be included in an author field with possibly "(ed.)" after the surname(s). Alternatively, the editor field may be used if the chapter detail is included in the title field instead of using the chapter field.
- 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 fields editor1-first, editor1-last, ...,editorn-first, editorn-last to 'correctly' record all the information about the book in the same way as firstn and lastn.
- editor-link or editor1-link...editorn-link is used in the same way as authorlink or authorlinkn.
- 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 Writediteach 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 field 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 field to link to any commercial booksellers (such as Amazon.com). The 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 field 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 archived copy of a web page, if (or in case) the url becomes unavailable. Typically used to refer to services like WebCite and Archive.org.
- archivedate: Date when the item was archived. Should not be wikilinked.
- type: An optional field 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
type=PhD thesis
, If the publication is an audiobook on compact disk, the type might be specified astype=CD
. - edition: When the book has more than one edition. e.g.: "2nd.", "Revised" etc.. Note that the template automatically displays " ed." after this field, so
edition=2nd
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 field in bold type after the title and series parameters. An alternative is to include the volume information in the title field after the main title (see example below). (NB: there is a separate {{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
origyear=First published 1859
ororigyear=Composed 1904
. 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
|isbn=
, like all field names, must be in lowercase. The field 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.|isbn=1111222229
), though ISBNs with correctly formatted dashes are preferred (see Wikipedia:ISBN and 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 field but prefix the number with a zero; thus SBN 902888-45-5 should be entered as|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 field must not be wikilinked as the template automatically creates a link.
- doi: A digital object identifier such as 10.1016/j.coi.2004.08.001. The field 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 field must not be wikilinked as the template automatically creates a link.
- Several other parameters are available for catalogue or other identifying numbers; these include
|arxiv=
,|asin=
,|issn=
(International Standard Serial Number),|jfm=
,|jstor=
,|lccn=
,|mr=
,|ol=
(Open Library),|osti=
,|pmc=
,|pmid=
,|rfc=
,|ssrn=
and|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 {{ASIN}} or {{ISSN}}. (Use one of the more specialized parameters if possible; they are linked automatically. In other words, don't use
|id=ISBN 1-111-22222-9
anymore; use|isbn=1-111-22222-9
. If the book has a SBN but not an ISBN, see|isbn=
.) - pages or page: These parameters are for listing the pages relevant to the citation, not the total number of pages in the book. "
|pages= 5–7
" produces "pp. 5–7", while "|page= 5
" 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
page=Front cover
, placing any value afternopp
(e.g.nopp=y
will hide the p. or pp. notation.
- nopp: using "page" or "pages", automatically places the p. or pp. notations. If this is inappropriate—for instance, if
- at: Position within the resource when
|page=
/|pages=
is inappropriate, e.g.|at=para. 14
(when citing a source without page numbers) or|at=no. 456
(something in a numbered list). This parameter is ignored if|page=
/|pages=
is specified.- Using e.g.
|at=para. 14
produces similar results to|page=para. 14
|nopp=y
or|pages=para. 14
|nopp=y
- Using e.g.
- 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.
|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 field will be displayed in square brackets within the quotation marks which embrace the chapter field. 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 Writediteach article's prose should probably more adequately address the topic and/or quote the material directly, e.g. with {{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:
|quote=[I]t was not only competition, but the introduction of new techniques that drew spectators to the events...
- ref: ID for anchor. By default, no anchor is generated. The ordinary nonempty value
|ref=ID
generates an anchor with the givenID
; such a linkable reference can be made the target of wikilinks to full references, especially useful in short citations like shortened notes and parenthetical referencing. The special value|ref=harv
generates an anchor suitable for the {{harv}} template; see anchors for Harvard referencing templates. See "Wikilinks to full references" in Examples below for using the ref field in citation templates in conjunction with short <ref>...</ref> 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 field 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.,
|display-authors=2
); alternatively, the "et al." may be suppressed by the use of|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 field 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
|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
* {{cite book | title=Mysterious book }}
- Mysterious book.
- Year and title
* {{cite book | title=Mysterious book | year=1901 }}
- Mysterious book. 1901.
- Basic usage
* {{cite book | first=Joe | last=Bloggs | authorlink=Joe Bloggs | year=1974 | title=Book of Bloggs }}
- Bloggs, Joe (1974). Book of Bloggs.
- Basic usage with url
* {{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 }}
- Bloggs, Joe (1974). Book of Bloggs (1st ed.). http://en.wikipedia.org/. Retrieved 2006-02-17.
- Citing a chapter in a book with different authors for different chapters and an editor
* {{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}}
- Bloggs, Fred (1 January 2001). "Chapter 2: The History Of The Bloggs Family". In Doe, John. Big Book With Many Chapters and distinct chapter authors. Book Publishers. pp. 100–110. ISBN 1234567890.
- Citing a chapter in a book with two joint authors and an editor
* {{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}}
- Bloggs, Joe; Egg, Fred; Doe, John (ed.) (1 January 2001) [1st. Pub. 1986]. "Chapter 6: Getting There". Big Book With Many Chapters and two co-authors. Book Publishers. pp. 100–110. ISBN 1234567890.
- Three authors, title with a piped wikilink, edition
* {{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 }}
- Bloggs, Joe; Smith, John; Smythe, Jim. 1000 Acres (2nd ed.).
- Complex usage showing effect of using volume parameter and lastauthoramp parameter
- Without volume and lastauthoramp parameters:
*{{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}}
- Playfair, Major-General I.S.O.; Stitt, Commander G.M.S; Molony, Brigadier C.J.C.; Toomer, Air Vice-Marshall S.E. (2007) [1st. pub. HMSO:1954]. Butler, J.R.M. ed. Mediterranean and Middle East. Volume I: The Early Successes Against Italy (to May 1941). History of the Second World War, United Kingdom Military Series. Uckfield, UK: Naval & Military Press. ISBN 1-845740-65-3.
- With volume and last authoramp parameters:
*{{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}}
- Playfair, Major-General I.S.O.; Stitt, Commander G.M.S; Molony, Brigadier C.J.C.; Toomer, Air Vice-Marshall S.E. (2007) [1st. pub. HMSO:1954]. Butler, J.R.M. ed. Mediterranean and Middle East. History of the Second World War, United Kingdom Military Series. Volume I: The Early Successes Against Italy (to May 1941). Uckfield, UK: Naval & Military Press. ISBN 1-845740-65-3.
- Date without day, wikilinked title and publisher, id, pages, location
* {{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 }}
- Cordell, Bruce R. (September 2001). Manual of the Planes. Timbuktu: Wizards of the Coast. pp. 134–137. ISBN 0-7869-1850-8.
- Other language
* {{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 }}
- Bloggs, Jean (1974) (in French). Livre de Bloggs (1st ed.). http://en.wikipedia.org/. Retrieved 2006-02-17.
- Using authormask parameter
{{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}}
{{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}}
{{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}}
- Playfair, Major-General I.S.O.; Stitt, Commander G.M.S; Molony, Brigadier C.J.C.; Toomer, Air Vice-Marshall S.E. (2004) [1st. pub. HMSO:1954]. Butler, J.R.M. ed. Mediterranean and Middle East Volume I: The Early Successes Against Italy (to May 1941). History of the Second World War, United Kingdom Military Series. Uckfield, UK: Naval & Military Press. ISBN 1-845740-65-3.
; Flynn, Captain F.C. (R.N.); Molony, Brigadier C.J.C.; Toomer, Air Vice-Marshall S.E. (2004) [1st. pub. HMSO:1956]. Butler, J.R.M. ed. The Mediterranean and Middle East, Volume II: The Germans come to the help of their Ally (1941). History of the Second World War, United Kingdom Military Series. Uckfield, UK: Naval & Military Press. ISBN 1-845740-66-1.
; Flynn, Captain F.C. (R.N.); Molony, Brigadier C.J.C.; Gleave, Group Captain T.P. (2004) [1st. pub. HMSO:1960]. Butler, Sir James. ed. The Mediterranean and Middle East, Volume III: British Fortunes reach their Lowest Ebb (September 1941 to September 1942). History of the Second World War, United Kingdom Military Series. Uckfield, UK: Naval & Military Press. ISBN 1-845740-67-X.
- Using a DOI
*{{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 }}
- Mumford, David (1999). The Red Book of Varieties and Schemes: Includes the Michigan Lectures (1974) on Curves and Their Jacobians (2nd ed.). Springer-Verlag. doi:10.1007/b62130. ISBN 354063293X.
- 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 <cite id=…>…</cite> tags, but this tool can be superfluous if the bibliographical data are provided with a citation template: the
ref
field of the chosen citation template must be set to the same name.
Wikilink example edit:
Shamans may fulfill multiple functions, including healing, curing infertile women, and securing the success of hunts.<ref>[[#Mer85|Merkur 1985]]: 4</ref>
== Notes ==
{{reflist|2}}
== References ==
* {{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}}
Example rendered result:
Shamans may fulfill multiple functions, including healing, curing infertile women, and securing the success of hunts.[1]
- ^ Merkur 1985: 4
- Merkur, Daniel (1985). Becoming Half Hidden: Shamanism and Initiation among the Inuit. Stockholm: Almqvist & Wiksell. ISBN 91-22-00752-0.
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 <span id=…>…</span>
tags: also this way, it can feature as a target of Wikilinks to full references. The id
attribute of the tag must be set to the same name what we would give to the (lacking) ref
field of the citation template.
Testing
See Template:cite book/regression tests.
Notes
1. Extra full-stop
- Note the extra full-stop when the last author ends with an initial, and there is no date:
- Invisible, M.. Mysterious book.
- We don't know of a practical solution to this—unless there is a way to test the characters of a field?
2. Deprecated parameters
- Following from this January 2009 discussion, and numerous others on that page, the parameters
|accessyear=
,|accessmonthday=
and|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|dateformat=
in the template and passing the whole date in together as|accessdate=
. See Requests for approval/MelonBot 12 for more information. - As of February 2011, if any of
|access-date=
,|accessday=
,|accessdaymonth=
,|accessmonth=
,|accessmonthday=
,|accessyear=
,|dateformat=
, or|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:
- 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."
- APA style: Last, F. & Last, F.
- Chicago Manual of Style: Last, First, and First Last.
- Turabian: same as Chicago Reference List, above.
- HarvardScript error: No such module "Category handler".Script error: No such module "Category handler".[dead link]: Last, F., Last, F. & Last, F.
See also
The above documentation is transcluded from Template:Cite book/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |
<templatedata> { "description": "This template formats a citation to a book using the provided bibliographic information (such as author and title) as well as various formatting options.", "params": { "url": { "label": "URL", "description": "The URL of the online location where the text of the publication can be found. Requires schemes of the type \"http://...\" or maybe even the protocol relative scheme \"//...\"", "type": "line", "aliases": [ "URL" ], "suggested": true, "example": "https://www.nytimes.com/..." }, "title": { "label": "Title", "description": "The title of the article; can be wikilinked to an existing LIMSwiki article or url may be used to add an external link, but not both. Displays in quotes.", "type": "content", "required": true }, "last": { "label": "Last name", "description": "The surname of the author; don't wikilink, use 'author-link'; can suffix with a numeral to add additional authors", "aliases": [ "author", "author1", "authors", "last1" ], "type": "line", "suggested": true }, "first": { "label": "First name", "description": "Given or first name, middle names, or initials of the author; don't wikilink, use 'author-link'; can suffix with a numeral to add additional authors", "aliases": [ "first1" ], "type": "line", "suggested": true }, "last2": { "label": "Last name 2", "description": "The surname of the second author; don't wikilink, use 'author-link2'.", "aliases": [ "author2" ], "type": "line" }, "first2": { "label": "First name 2", "description": "Given or first name, middle names, or initials of the second author; don't wikilink.", "type": "line" }, "date": { "label": "Source date", "description": "Date of the source; do not wikilink. As listed in the publication", "type": "date" }, "publisher": { "label": "Publisher", "description": "Name of the publisher; displays after title", "type": "content",
"required": true,
"example": "University of Chicago Press" }, "doi": { "label": "DOI", "description": "Digital Object Identifier; begins with '10.'", "type": "string",
"suggested": true
}, "doi-broken-date": { "label": "DOI broken date", "description": "The date that the DOI was determined to be broken",
"aliases": [ "doi-inactive-date"
], "type": "date" }, "others": { "label": "Others", "description": "Used to record other contributions to the work, such as 'Illustrated by John Smith' or 'Translated by John Smith'", "type": "content" }, "year": { "label": "Year of publication", "description": "Year of the source being referenced; recommended only when date parameter format is YYYY-MM-DD and a CITEREF disambiguator is needed", "type": "string",
"suggested": true
},
"orig-year": {
"label": "Original year", "description": "Original year of publication; provide specifics", "type": "string" }, "editor-last": { "label": "Editor last name", "description": "The surname of the editor; don't wikilink, use 'editor-link'; can suffix with a numeral to add additional editors; alias of 'editor1-last', 'editor'",
"aliases": [
"editor", "editor1-last", "editors" ], "type": "line",
"suggested": true
}, "editor-first": { "label": "Editor first name", "description": "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; alias of 'editor1-first'", "aliases": [ "editor1-first" ], "type": "line",
"suggested": true
}, "editor-link": { "label": "Editor link", "description": "Title of existing LIMSwiki article about the editor; can suffix with a numeral to add additional editors; alias of 'editor1-link'",
"aliases": [
"editorlink", "editor1-link" ], "type": "wiki-page-name" }, "series": { "label": "Series", "description": "Series identifier when the source is part of a series, such as a book series or a journal; alias of 'version'", "type": "content", "aliases": [ "version" ] }, "place": { "label": "Location of publication", "description": "Geographical place of publication; usually not wikilinked; omit when the publication name includes place; alias of 'place'",
"aliases": [
"location" ], "type": "string" }, "publication-place": { "label": "Place of publication", "description": "Publication place shows after title; if 'place' or 'location' are also given, they are displayed before the title prefixed with 'written at'",
"aliases": [
"place",
"location"
], "type": "content" }, "publication-date": { "label": "Publication date", "description": "Date of publication when different from the date the work was written; do not wikilink", "type": "date" }, "edition": { "label": "Edition", "description": "When the publication has more than one edition; for example: '2nd', 'Revised' etc.; suffixed with ' ed.'", "type": "line",
"suggested": true
}, "volume": { "label": "Volume", "description": "For one publication published in several volumes", "type": "line" }, "page": { "label": "Page", "description": "Page in the source that supports the content; displays after 'p.'", "type": "line" }, "pages": { "label": "Pages", "description": "Pages in the source that support the content (not an indication of the number of pages in the source; displays after 'pp.'", "type": "line", "suggested": true }, "at": { "label": "At", "description": "May be used instead of 'page' or 'pages' where a page number is inappropriate or insufficient", "type": "line" }, "language": { "label": "Language", "description": "The language in which the source is written, if not English; use the full language name; do not use icons or templates", "type": "content" }, "trans-title": { "label": "Translated title", "description": "An English language title, if the source cited is in a foreign language; 'language' is recommended", "type": "content" },
"type": {
"label": "Type", "description": "Additional information about the media type of the source; format in sentence case", "type": "string", "aliases": [ "medium" ] }, "format": { "label": "Format", "description": "Format of the work referred to by 'url' ('url' is required when using 'format'); examples: PDF, DOC, XLS; do not specify HTML", "type": "content" }, "arxiv": { "label": "arXiv identifier", "description": "An identifier for arXive electronic preprints of scientific papers", "type": "line" }, "asin": { "label": "ASIN", "description": "Amazon Standard Identification Number; 10 characters", "type": "line" }, "asin-tld": { "label": "ASIN TLD", "description": "ASIN top-level domain for Amazon sites other than the US", "type": "line" }, "bibcode": { "label": "Bibcode", "description": "Bibliographic Reference Code (REFCODE); 19 characters", "type": "line" }, "biorxiv": { "label": "biorXiv", "description": "biorXiv identifier; full doi", "type": "line" }, "citeseerx": { "label": "CiteSeerX", "description": "CiteSeerX identifier; found after the 'doi=' query parameter", "type": "line" }, "isbn": { "label": "ISBN", "description": "International Standard Book Number; use the 13-digit ISBN where possible", "type": "line",
"suggested": true
}, "issn": { "label": "ISSN", "description": "International Standard Serial Number (print); 8 characters; usually split into two groups of four using a hyphen", "type": "line" }, "jfm": { "label": "jfm code", "description": "Jahrbuch über die Fortschritte der Mathematik classification code", "type": "line" }, "jstor": { "label": "JSTOR", "description": "JSTOR identifier", "type": "line" }, "lccn": { "label": "LCCN", "description": "Library of Congress Control Number", "type": "line" }, "mr": { "label": "MR", "description": "Mathematical Reviews identifier", "type": "line" }, "oclc": { "label": "OCLC", "description": "Online Computer Library Center number", "type": "number" }, "ol": { "label": "OL", "description": "Open Library identifier", "type": "line" }, "osti": { "label": "OSTI", "description": "Office of Scientific and Technical Information identifier", "type": "line" }, "pmc": { "label": "PMC", "description": "PubMed Center article number", "type": "number" }, "pmid": { "label": "PMID", "description": "PubMed Unique Identifier", "type": "line" }, "rfc": { "label": "RFC", "description": "Request for Comments number", "type": "number" }, "ssrn": { "label": "SSRN", "description": "Social Science Research Network", "type": "line" }, "zbl": { "label": "Zbl", "description": "Zentralblatt MATH journal identifier", "type": "line" }, "id": { "label": "id", "description": "A unique identifier used where none of the specialized ones are applicable", "type": "line" }, "quote": { "label": "Quote", "description": "Relevant text quoted from the source; displays last, enclosed in quotes; must include terminating punctuation", "type": "content" }, "ref": { "label": "Ref", "description": "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", "type": "line" }, "postscript": { "label": "Postscript", "description": "The closing punctuation for the citation; ignored if 'quote' is defined; to suppress use reserved keyword 'none'", "type": "line", "default": "." }, "last3": { "label": "Last name 3", "description": "The surname of the third author; don't wikilink, use 'author-link3'.", "aliases": [ "author3" ], "type": "line" }, "first3": { "label": "First name 3", "description": "Given or first name, middle names, or initials of the third author; don't wikilink.", "type": "line" }, "last4": { "label": "Last name 4", "description": "The surname of the forth author; don't wikilink, use 'author-link4'.", "aliases": [ "author4" ], "type": "line" }, "first4": { "label": "First name 4", "description": "Given or first name, middle names, or initials of the forth author; don't wikilink.", "type": "line" }, "last5": { "label": "Last name 5", "description": "The surname of the fifth author; don't wikilink, use 'author-link5'.", "aliases": [ "author5" ], "type": "line" }, "first5": { "label": "First name 5", "description": "Given or first name, middle names, or initials of the fifth author; don't wikilink.", "type": "line" }, "last6": { "label": "Last name 6", "description": "The surname of the sixth author; don't wikilink, use 'author-link6'.", "aliases": [ "author6" ], "type": "line" }, "first6": { "label": "First name 6", "description": "Given or first name, middle names, or initials of the sixth author; don't wikilink.", "type": "line" }, "last7": { "label": "Last name 7", "description": "The surname of the seventh author; don't wikilink, use 'author-link7'.", "aliases": [ "author7" ], "type": "line" }, "first7": { "label": "First name 7", "description": "Given or first name, middle names, or initials of the seventh author; don't wikilink.", "type": "line" }, "last8": { "label": "Last name 8", "description": "The surname of the eighth author; don't wikilink, use 'author-link8'.", "aliases": [ "author8" ], "type": "line" }, "first8": { "label": "First name 8", "description": "Given or first name, middle names, or initials of the eighth author; don't wikilink.", "type": "line" }, "last9": { "label": "Last name 9", "description": "The surname of the ninth author; don't wikilink, use 'author-link9'. If nine authors are defined, then only eight will show and 'et al.' will show in place of the last author.", "aliases": [ "author9" ], "type": "line" }, "first9": { "label": "First name 9", "description": "Given or first name, middle names, or initials of the ninth author; don't wikilink.", "type": "line" },
"editor2-last": {
"label": "Editor last name 2", "description": "The surname of the second editor; don't wikilink, use 'editor2-link'.", "aliases": [ "editor2" ], "type": "line" }, "editor2-first": { "label": "Editor first name 2", "description": "Given or first name, middle names, or initials of the second editor; don't wikilink.", "type": "line" }, "editor3-last": { "label": "Editor last name 3", "description": "The surname of the third editor; don't wikilink, use 'editor3-link'.", "aliases": [ "editor3" ], "type": "line" }, "editor3-first": { "label": "Editor first name 3", "description": "Given or first name, middle names, or initials of the third editor; don't wikilink.", "type": "line" }, "editor4-last": { "label": "Editor last name 4", "description": "The surname of the fourth editor; don't wikilink, use 'editor4-link'.", "aliases": [ "editor4" ], "type": "line" }, "editor4-first": { "label": "Editor first name 4", "description": "Given or first name, middle names, or initials of the fourth editor; don't wikilink.", "type": "line" }, "editor5-last": { "label": "Editor last name 5", "description": "The surname of the fifth editor; don't wikilink, use 'editor5-link'.", "aliases": [ "editor5" ], "type": "line" }, "editor5-first": { "label": "Editor first name 5", "description": "Given or first name, middle names, or initials of the fifth editor; don't wikilink.", "type": "line" }, "author-mask": { "label": "Author mask", "description": "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", "type": "string" }, "author-link": { "label": "Author link", "description": "Title of existing LIMSwiki article about the author; can suffix with a numeral to add additional authors", "type": "wiki-page-name", "aliases": [ "author-link1", "author1-link" ] }, "author-link2": { "label": "Author link 2", "description": "Title of existing LIMSwiki article about the second author.", "type": "wiki-page-name", "aliases": [ "author2-link" ] }, "access-date": { "label": "URL access date", "description": "The full date when the original URL was accessed; do not wikilink", "type": "date" }, "archiveurl": { "label": "Archive URL", "description": "The URL of an archived copy of a web page, if or in case the URL becomes unavailable; requires 'archive-date'", "type": "line" }, "archivedate": { "label": "Archive date", "description": "Date when the original URL was archived; do not wikilink", "type": "date" }, "laysummary": { "label": "Lay summary URL", "description": "URL link to a non-technical summary or review of the source", "type": "line", "aliases": [ ] }, "laysource": { "label": "Lay source", "description": "Name of the source of the lay URL; displays in italics, preceded by an en dash", "type": "string", "aliases": [ ] }, "laydate": { "label": "Lay date", "description": "Date of the summary; displays in parentheses", "type": "date", "aliases": [ ] }, "author-link3": { "label": "Author link 3", "description": "Title of existing LIMSwiki article about the third author.", "type": "wiki-page-name", "aliases": [ "author3-link" ] }, "author-link4": { "label": "Author link 4", "description": "Title of existing LIMSwiki article about the forth author.", "type": "wiki-page-name", "aliases": [ "author4-link" ] }, "author-link5": { "label": "Author link 5", "description": "Title of existing LIMSwiki article about the fifth author.", "type": "wiki-page-name", "aliases": [ "author5-link" ] }, "author-link6": { "label": "Author link 6", "description": "Title of existing LIMSwiki article about the sixth author.", "type": "wiki-page-name", "aliases": [ "author6-link" ] }, "author-link7": { "label": "Author link 7", "description": "Title of existing LIMSwiki article about the seventh author.", "type": "wiki-page-name", "aliases": [ "author7-link" ] }, "author-link8": { "label": "Author link 8", "description": "Title of existing LIMSwiki article about the eighth author.", "type": "wiki-page-name", "aliases": [ "author8-link" ] }, "author-link9": { "label": "Author link 9", "description": "Title of existing LIMSwiki article about the ninth author.", "type": "wiki-page-name", "aliases": [ "author9-link" ] }, "editor2-link": { "label": "Editor link 2", "description": "Title of existing LIMSwiki article about the second editor.", "type": "wiki-page-name", "aliases": [ "editor-link2" ] }, "editor3-link": { "label": "Editor link 3", "description": "Title of existing LIMSwiki article about the third editor.", "type": "wiki-page-name", "aliases": [ "editor-link3" ] }, "editor4-link": { "label": "Editor link 4", "description": "Title of existing LIMSwiki article about the fourth editor.", "type": "wiki-page-name", "aliases": [ "editor-link4" ] },
"editor5-link": {
"label": "Editor link 5", "description": "Title of existing LIMSwiki article about the fifth editor.", "type": "wiki-page-name", "aliases": [ "editor-link5" ] }, "chapter": { "label": "Chapter", "description": "The chapter heading of the source",
"aliases": [
"contribution",
"section"
], "type": "string",
"suggested": true
},
"chapter-url": {
"label": "Chapter URL", "description": "The URL for the source chapter",
"aliases": [ "contribution-url",
"section-url" ], "type": "line" },
"trans-chapter": {
"label": "Translated chapter", "description": "An English language chapter heading, if the source cited is in a foreign language; 'language' is recommended", "type": "string", "aliases": [ ] }, "display-authors": { "label": "Display authors", "description": "number of authors to display before 'et al.' is used;", "type": "number" }, "df": { "label": "Date format", "description": "Sets rendered dates to the specified format", "type": "string" } }, "paramOrder": [ "last", "first", "author-link", "last2", "first2", "author-link2", "last3", "first3", "author-link3", "last4", "first4", "author-link4", "last5", "first5", "author-link5", "last6", "first6", "author-link6", "last7", "first7", "author-link7", "last8", "first8", "author-link8", "last9", "first9", "author-link9", "display-authors", "author-mask", "date", "year",
"orig-year", "df", "editor-last",
"editor-first", "editor-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", "others", "title", "trans-title",
"trans-chapter",
"url",
"type",
"format", "chapter", "chapter-url", "series", "language",
"edition", "place",
"publisher", "publication-place", "publication-date", "volume", "page", "pages", "at", "arxiv", "asin", "asin-tld", "bibcode", "biorxiv", "citeseerx", "doi", "doi-broken-date", "isbn", "issn", "jfm", "jstor", "lccn", "mr", "oclc", "ol", "osti", "pmc", "pmid", "rfc", "ssrn", "zbl", "id", "archiveurl", "archivedate", "access-date", "laysummary", "laysource", "laydate", "quote", "postscript",
"ref"
], "maps": { "citoid": {
"title": "title",
"bookTitle": "title", "publicationTitle": "title",
"edition": "edition",
"url": "url", "publisher": "publisher", "date": "date", "place": "place", "ISSN": [ "issn" ], "ISBN": [ "isbn" ], "PMCID": "pmc", "PMID": "pmid", "pages": "pages", "volume": "volume", "series": "series", "DOI": "doi", "oclc": "oclc", "language": "language", "contributor": "others", "author": [
[
"first", "last" ], [ "first2", "last2" ], [ "first3", "last3" ], [ "first4", "last4" ], [ "first5", "last5" ], [ "first6", "last6" ], [ "first7", "last7" ], [ "first8", "last8" ], [ "first9", "last9" ] ], "editor": [ [ "editor-first", "editor-last" ], [ "editor2-first", "editor2-last" ], [ "editor3-first", "editor3-last" ], [ "editor4-first", "editor4-last" ], [ "editor5-first", "editor5-last" ] ] } }, "format": "{{_ |_=_}}" } </templatedata>