Template:Cite book

From Touhou Wiki
Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]

Usage[edit]

Copy a blank version to use. All parameter names must be in lowercase. Use the "|" (pipe) character between each parameter. Delete unused parameters to avoid clutter in the edit window. Some samples may include the current date. If the date is not current, then purge the page.


Most commonly used parameters in horizontal format

To cite a book with a credited author {{cite book |last= |first= |date= |title= |url= |location= |publisher= |page= |isbn= |author-link= }}

To cite a book with no credited author {{cite book |author=<!--Staff writer(s); no by-line.--> |title= |url= |location= |publisher= |page= |date= |isbn=}}

To cite an online book that has been archived {{cite book |last= |first= |date= |title= |url= |dead-url= |location= |publisher= |isbn= |archive-url= |archive-date=}}

To cite a book written in a foreign language {{cite book |last= |first= |date= |title= |trans-title= |url= |language= |location= |publisher= |isbn=}}

To cite and quote an archived, two-author, foreign language book re-published as a PDF on an information aggregation service requiring a subscription {{cite book |last1= |first1= |last2= |first2= |date= |title= |trans-title= |url= |dead-url= |format= |language= |location= |publisher= |isbn= |archive-url= |archive-date= |via= |subscription= |quote= }}


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


Full parameter set in horizontal format

{{cite book |last1= |first1= |author-link1= |last2= |first2= |author-link2= |last3= |first3= |author-link3= |last4= |first4= |author-link4= |last5= |first5= |author-link5= |display-authors= |author-mask= |last-author-amp= |translator-last1= |translator-first1= |translator-link1= |translator-mask1= |date= |year= |orig-year= |chapter= |script-chapter= |trans-chapter= |chapter-url= |chapter-format= |editor1-last= |editor1-first= |editor1-link= |editor2-last= |editor2-first= |editor2-link= |editor3-last= |editor3-first= |editor3-link= |editor4-last= |editor4-first= |editor4-link= |editor5-last= |editor5-first= |editor5-link= |display-editors= |title= |script-title= |trans-title= |url= |dead-url= |format= |type= |series= |language= |volume= |issue= |others= |edition= |location= |publisher= |publication-date= |page= |pages= |at= |nopp= |arxiv= |asin= |bibcode= |doi= |doi-broken-date= |isbn= |issn= |jfm= |jstor= |lccn= |mr= |oclc= |ol= |osti= |pmc= |pmid= |rfc= |ssrn= |zbl= |id= |archive-url= |archive-date= |access-date= |via= |registration= |subscription= |lay-summary= |lay-source= |lay-date= |quote= |name-list-format= |mode= |postscript= |ref= }}

Full parameter set in vertical format
Parameters Prerequisites Brief instructions / notes Vertical list
last1 may also use "last"; for additional authors, "last2", "last3", etc.
{{cite book
|last1=
|first1=
|author-link1=
|author-mask1=
|last2=
|first2=
|display-authors=
|last-author-amp=
|translator-last1=
|translator-first1=
|translator-link1=
|translator-mask1=
|date=
|year=
|orig-year=
|chapter=
|script-chapter=
|trans-chapter=
|chapter-url=
|chapter-format=
|editor1-last=
|editor1-first=
|editor1-link=
|editor1-mask=
|display-editors=
|title=
|script-title=
|trans-title=
|url=
|dead-url=
|format=
|type=
|series=
|language=
|volume=
|issue=
|others=
|edition=
|location=
|publisher=
|publication-date=
|page=
|pages=
|at=
|nopp=
|arxiv=
|asin=
|bibcode=
|doi=
|doi-broken-date=
|isbn=
|issn=
|jfm=
|jstor=
|lccn=
|mr=
|oclc=
|ol=
|osti=
|pmc=
|pmid=
|rfc=
|ssrn=
|zbl=
|id=
|archive-url=
|archive-date=
|access-date=
|via=
|registration=
|subscription=
|lay-summary=
|lay-source=
|lay-date=
|quote=
|name-list-format=
|mode=
|postscript=
|ref=
}}
first1 last or last1 may also use "first"; for additional authors, "first2", "first3", etc.
author-link1 last or last1 may also use "author-link"
author-mask1 last or last1 may also use "author-mask"
last2 last1
first2 last2
display-authors last or last1
last-author-amp last or last1
translator-last1 may also use "translator-last"; for additional translators, "translator-last2, etc.
translator-first1 translator-last or translator-last1
translator-link1 translator-last or translator-last1
translator-mask1 translator-last or translator-last1
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
dead-url
format url
type
series
language
volume
issue
others
edition
location publisher
publisher
publication-date
page choose one: "page", "pages", or "at"
pages choose one: "page", "pages", or "at". Use when content on multiple pages supports the article text.
at choose one: "page", "pages", or "at"
nopp page or pages set nopp to "yes" to suppress the "p." or "pp." before page numbers
arxiv
asin
bibcode
doi
doi-broken-date doi
isbn always include ISBN, if one has been assigned
issn
jfm
jstor
lccn
mr
oclc
ol
osti
pmc
pmid
rfc
ssrn
zbl
id
archive-url archive-date, url
archive-date archive-url
access-date url
via
registration
subscription
lay-summary
lay-source lay-summary
lay-date lay-summary
quote
name-list-format vanc to emulate Vancouver style
mode cs1 or cs2
postscript
ref
If a field name is listed in the Prerequisites column it is a prerequisite for the field to the left.

Examples[edit]

Title

  • {{cite book |title=Mysterious Book}}
Mysterious Book.

Title and year

  • {{cite book |title=Mysterious Book |date=1901}}
Mysterious Book. 1901.

Basic usage (single author)

  • {{cite book |last=Bloggs |first=Joe |authorlink=Wikipedia:Joe Bloggs |date=1974 |title=Book of Bloggs}}
Bloggs, Joe (1974). Book of Bloggs.

Basic usage (two authors)

  • {{cite book |last1=Bloggs |first1=Joe |authorlink1=Wikipedia:Joe Bloggs |last2=Bloggs |first2=Fred |authorlink2=Wikipedia:Fred Bloggs |date=1974 |title=Book of Bloggs}}
Bloggs, Joe; Bloggs, Fred (1974). Book of Bloggs.

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

  • {{cite book |last=Bloggs |first=Joe |authorlink=Wikipedia:Joe Bloggs |date=1974 |title=Book of Bloggs |edition=1st |url=http://en.wikipedia.org/ |access-date=February 17, 2006}}
Bloggs, Joe (1974). Book of Bloggs (1st ed.). Retrieved February 17, 2006.

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

  • {{cite book |last=Bloggs |first=Fred |editor-last=Doe |editor-first=John |title=Big Compilation Book with Many Chapters and Distinct Chapter Authors |publisher=Book Publishers |date=January 1, 2001 |pages=100–110 |chapter=Chapter 2: The History of the Bloggs Family |isbn=978-1-234-56789-7}}
Bloggs, Fred (January 1, 2001). "Chapter 2: The History of the Bloggs Family". In Doe, John. Big Compilation Book with Many Chapters and Distinct Chapter Authors. Book Publishers. pp. 100–110. ISBN 978-1-234-56789-7.

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

  • {{cite book |last1=Bloggs |first1=Joe |last2=Egg |first2=Fred |editor-last=Doe |editor-first=John |title=Big Book with Many Chapters and Two Co-authors |publisher=Book Publishers |date=January 1, 2001 |orig-year=1st pub. 1986 |pages=100–110 |chapter=Chapter 6: Getting There |chapterurl=http://en.wikipedia.org/ |isbn=978-1-234-56789-7 |lastauthoramp=y}}
Bloggs, Joe & Egg, Fred (January 1, 2001) [1st pub. 1986]. "Chapter 6: Getting There". In Doe, John. Big Book with Many Chapters and Two Co-authors. Book Publishers. pp. 100–110. ISBN 978-1-234-56789-7.

Three authors, title with a piped wikilink, edition

  • {{cite book |last1=Bloggs |first1=Joe |authorlink1=Wikipedia:Joe Bloggs |last2=Smith |first2=John |last3=Smythe |first3=Jim |title=[[Wikipedia: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)

  • {{cite book |last1=Playfair |first1=Major-General I.S.O. |authorlink1=Wikipedia:Ian Stanley Ord Playfair |last2=Stitt |first2=Commander G.M.S. |last3=Molony |first3=Brigadier C.J.C. |last4=Toomer |first4=Air Vice-Marshal S.E. |editor-last=Butler |editor-first=J.R.M. |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 |date=2007 |orig-year=1st pub. [[Wikipedia: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-Marshal 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.

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

  • {{cite book |last1=Playfair |first1=Major-General I.S.O. |authorlink1=Wikipedia:Ian Stanley Ord Playfair |last2=Stitt |first2=Commander G.M.S. |last3=Molony |first3=Brigadier C.J.C. |last4=Toomer |first4=Air Vice-Marshal S.E. |editor-last=Butler |editor-first=J.R.M. |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 |date=2007 |orig-year=1st pub. [[Wikipedia: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-Marshal 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, pages, edition, location

  • {{cite book |last1=Cordell |first1=Bruce R. |last2=Grubb |first2=Jeff |last3=Noonan |first3=David |date=September 2001 |title=[[Wikipedia:Manual of the Planes|]] |edition=3rd |publisher=Wizards of the Coast |location=Renton, Washington |isbn=0-7869-1850-0 |pages=134–137}}
Cordell, Bruce R.; Grubb, Jeff; Noonan, David (September 2001). Manual of the Planes (3rd ed.). Renton, Washington: Wizards of the Coast. pp. 134–137. ISBN 0-7869-1850-0.

Other language

  • {{cite book |last=Bloggs |first=Jean |date=1974 |title=Livre de Bloggs |edition=1st |language=fr |trans-title=Book of Bloggs |url=http://en.wikipedia.org/ |access-date=February 17, 2006}}
Bloggs, Jean (1974). Livre de Bloggs [Book of Bloggs] (in français) (1st ed.). Retrieved February 17, 2006.

Using author-mask parameter

  • {{cite book |last1=Playfair |first1=Major-General I.S.O. |authorlink1=Wikipedia:Ian Stanley Ord Playfair |last2=Stitt |first2=Commander G.M.S. |last3=Molony |first3=Brigadier C.J.C. |last4=Toomer |first4=Air Vice-Marshal S.E. |editor-last=Butler |editor-first=J.R.M. |editor-link=Wikipedia: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 |date=2004 |orig-year=1st pub. [[Wikipedia: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-Marshal 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.
  • {{cite book |last1=Playfair |first1=Major-General I.S.O. |authorlink1=Wikipedia:Ian Stanley Ord Playfair |last2=Flynn |first2=Captain F.C. (R.N.) |last3=Molony |first3=Brigadier C.J.C. |last4=Toomer |first4=Air Vice-Marshal S.E. |editor-last=Butler |editor-first=J.R.M. |editor-link=Wikipedia: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 |date=2004 |orig-year=1st pub. [[Wikipedia:HMSO|]]:1954 |isbn=1-845740-66-1 |lastauthoramp=y |author-mask=2}}
——; Flynn, Captain F.C. (R.N.); Molony, Brigadier C.J.C. & Toomer, Air Vice-Marshal S.E. (2004) [1st pub. HMSO:1954]. 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.
  • {{cite book |last1=Playfair |first1=Major-General I.S.O. |authorlink1=Wikipedia: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=Wikipedia: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 |date=2004 |orig-year=1st pub. [[Wikipedia:HMSO|]]:1954 |isbn=1-845740-67-X |lastauthoramp=y |author-mask=2}}
——; Flynn, Captain F.C. (R.N.); Molony, Brigadier C.J.C. & Gleave, Group Captain T.P. (2004) [1st pub. HMSO:1954]. 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 display-authors parameter

  • {{cite book |last1=Playfair |first1=Major-General I.S.O. |authorlink1=Wikipedia:Ian Stanley Ord Playfair |last2=Stitt |first2=Commander G.M.S. |last3=Molony |first3=Brigadier C.J.C. |last4=Toomer |first4=Air Vice-Marshal S.E. |editor-last=Butler |editor-first=J.R.M. |editor-link=Wikipedia: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 |date=2004 |orig-year=1st pub. [[Wikipedia:HMSO|]]:1954 |isbn=1-845740-65-3 |display-authors=1}}
Playfair, Major-General I.S.O.; et al. (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.

Parameters[edit]

Syntax[edit]

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)
Where aliases are listed, only one of the parameters may be defined; if multiple aliased parameters are defined, then only one will show.

COinS[edit]

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

  • Use |date=27 September 2007 not |date=27 September 2007 (print version 25 September)

Use of templates within the citation template is discouraged because many of these templates will add extraneous HTML or CSS that will be included raw in the metadata. Also, HTML entities, for example &nbsp;, &ndash;, etc, should not be used in parameters that contribute to the metadata. Do not include Wiki markup '' (italic font) or ''' (bold font) because these markup characters will contaminate the metadata.

COinS metadata is created for these parameters[edit]

  • |periodical=, |journal=, |newspaper=, |magazine=, |work=, |website=, |encyclopedia=, |encyclopaedia=, |dictionary=
  • |chapter=, |contribution=, |entry=, |article=, |section=
  • |title=
  • |publication-place=, |publicationplace=, |place=, |location=
  • |date=, |year=, |publication-date=, |publicationdate=
  • |series=, |version=
  • |volume=
  • |issue=, |number=
  • |page=, |pages=, |at=
  • |edition=
  • |publisher=, |distributor=, |institution=
  • |url=
  • |chapter-url=, |chapterurl=, |contribution-url=, |contributionurl=, |section-url=, |sectionurl=
  • |author#=, |author-last#=, |author#-last=, |last#=, |surname#=
  • |author-first#=, |author#-first=, |first#=, |given#=
  • any of the named identifiers (|isbn=, |issn=, |doi=, |pmc=, etc)

Deprecated[edit]

Template:Citation Style documentation/deprecated

Description[edit]

Authors[edit]

Template:Citation Style documentation/author

Title[edit]

Template:Citation Style documentation/title Template:Citation Style documentation/type Template:Citation Style documentation/chapter Template:Citation Style documentation/language

Date[edit]

Template:Citation Style documentation/date

Publisher[edit]

Template:Citation Style documentation/publisher

Edition, series, volume[edit]

Template:Citation Style documentation/edition Template:Citation Style documentation/series Template:Citation Style documentation/volume

In-source locations[edit]

Template:Citation Style documentation/pages

URL[edit]

Template:Citation Style documentation/url

Chapter URL[edit]

Template:Citation Style documentation/chapterurl

Anchor[edit]

Template:Citation Style documentation/ref

Identifiers[edit]

Template:Citation Style documentation/id1 Template:Citation Style documentation/id2

Quote[edit]

Template:Citation Style documentation/quote

Editors[edit]

Template:Citation Style documentation/editor

Laysummary[edit]

Template:Citation Style documentation/lay

Display options[edit]

Template:Citation Style documentation/display

Subscription or registration required[edit]

Template:Citation Style documentation/registration

TemplateData[edit]

See Template:Cite book/TemplateData.