Template:Cite book/doc

From All Skies Encyclopaedia
Revision as of 14:59, 16 July 2012 by imported>ShelfSkewed (fix isbn)

Template:Template redirects {{#ifeq:doc |doc

    | 

{{#ifeq:show |show

         | {{#invoke:Message box|mbox}}
        }}{{#if: |
         |   {{#ifexist:Template:Cite book
                  | [[Category:{{#switch:Template |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
                  | 
                 }}
        }}
    | 
   }}

This template is used to cite sources in Wikipedia. It is specifically for books. When citing an article in a compilation or anthology, {{cite journal}} or {{cite encyclopedia}} work better. If the book is being referenced via a web page, then unless it is a page that reproduces the book (or sections of it), {{Cite web}} should be used instead.

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.

Full version (copy and paste text below and delete parameters you do not need)
{{cite book |last1= |first1= |authorlink1= |last2= |first2= |authorlink2= |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= |author-mask= |author-name-separator= |author-separator= |display-authors= |separator= |postscript= |lastauthoramp=}}
Most commonly used parameters (use this and you will not have to delete as much)
{{cite book |title= |last= |first= |authorlink= |year= |publisher= |location= |isbn= |page= |pages= |accessdate={{#time: F j, Y}} |url=}}


Vertical list Prerequisites * Brief instructions
{{cite book
| last                  = 
| first                 = 
| authorlink            = 
| last[n]               = 
| first[n]              = 
| author[n]-link        = 
| editor                = 
| editor-link           = 
| editor[n]-last        = 
| editor[n]-first       = 
| editor[n]-link        = 
| others                = 
| title                 = 
| trans_title           = 
| url                   = 
| archiveurl            = 
| archivedate           = 
| format                = 
| accessdate            = 
| type                  = 
| edition               = 
| series                = 
| volume                = 
| date                  = 
| origyear              = 
| year                  = 
| month                 = 
| publisher             = 
| location              = 
| language              = 
| isbn                  = 
| oclc                  = 
| lccn                  = 
| doi                   = 
| bibcode               = 
| id                    = 
| page                  = 
| pages                 = 
| nopp                  = 
| at                    = 
| chapter               = 
| trans_chapter         = 
| chapterurl            = 
| quote                 = 
| ref                   = 
| laysummary            = 
| laydate               = 
| author-mask           = 
| author-name-separator = 
| author-separator      = 
| display-authors       = 
| separator             = 
| postscript            = 
| lastauthoramp         = 
}}


last
last
last[n-1]
last[n]
last[n]

editor
editor[n-1]-last
editor[n]-last 
editor[n]-last





archiveurl
url
url





year or date

year

publisher









page or pages



chapter



laysummary






>1 last[n]


same as last1
same as first1
same as author1-link
[n] = 1 through 9
[n] = 1 through 9
[n] = 1 through 9
same as editor1-last
same as editor1-link
[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 parameter with its alternates listed below.

‡ If |{{SAFESUBST:#if:chapterurl|chapterurl=}} is provided then |{{SAFESUBST:#if:chapter|chapter=}} cannot have wikilinks.

Examples

Title

{{cite book |title=Mysterious book}}

  • {{#invoke:citation/CS1|citation

|CitationClass=book }}

Year and title

{{cite book |title=Mysterious book |year=1901}}

  • {{#invoke:citation/CS1|citation

|CitationClass=book }}

Basic usage

{{cite book |first=Joe |last=Bloggs |authorlink=Joe Bloggs |year=1974 |title=Book of Bloggs}}

  • {{#invoke:citation/CS1|citation

|CitationClass=book }}

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=February 17, 2006}}

  • {{#invoke:citation/CS1|citation

|CitationClass=book }}

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=January 1, 2001 |pages=100–110 |chapter=Chapter 2: The History Of The Bloggs Family |isbn=1234567890}}

  • {{#invoke:citation/CS1|citation

|CitationClass=book }}

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=January 1, 2001 |origyear=1st. Pub. 1986 |pages=100–110 |chapter=Chapter 6: Getting There |chapterurl=http://en.wikipedia.org/ |isbn=1234567890 |lastauthoramp=y}}

  • {{#invoke:citation/CS1|citation

|CitationClass=book }}

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

  • {{#invoke:citation/CS1|citation

|CitationClass=book }}

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

  • {{#invoke:citation/CS1|citation

|CitationClass=book }}

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

  • {{#invoke:citation/CS1|citation

|CitationClass=book }}

Date without day, wikilinked title and publisher, id, pages, location

{{cite book |last=Cordell |first=Bruce R. |author2=Jeff Grubb, David Noonan |year=2001 |month=September |title=[[Manual of the Planes]] |publisher=[[Wizards of the Coast]] |location=Timbuktu |isbn=0-7869-1850-0 |pages= 134–137}}

  • {{#invoke:citation/CS1|citation

|CitationClass=book }}

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=February 17, 2006}}

  • {{#invoke:citation/CS1|citation

|CitationClass=book }}

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

  • {{#invoke:citation/CS1|citation

|CitationClass=book }}

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-Marshal 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-Marshal 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}}
{{#invoke:citation/CS1|citation

|CitationClass=book }}

{{#invoke:citation/CS1|citation

|CitationClass=book }}

{{#invoke:citation/CS1|citation

|CitationClass=book }}

Parameters

Syntax

{{#invoke:Template wrapper|wrap|_template=Citation Style documentation/syntax|_include-positional=yes}}

{{#invoke:Template wrapper|wrap|_template=Citation Style documentation/coins|_include-positional=yes}}

{{#invoke:Template wrapper|wrap|_template=Citation Style documentation/sep_period|_include-positional=yes}}

Description

Authors

{{#invoke:Template wrapper|wrap|_template=Citation Style documentation/author|_include-positional=yes}}

Title

{{#invoke:Template wrapper|wrap|_template=Citation Style documentation/title|_include-positional=yes}} {{#invoke:Template wrapper|wrap|_template=Citation Style documentation/type|_include-positional=yes}} {{#invoke:Template wrapper|wrap|_template=Citation Style documentation/chapter|_include-positional=yes}} {{#invoke:Template wrapper|wrap|_template=Citation Style documentation/language|_include-positional=yes}}

Date

{{#invoke:Template wrapper|wrap|_template=Citation Style documentation/date|_include-positional=yes}}

Publisher

{{#invoke:Template wrapper|wrap|_template=Citation Style documentation/publisher|_include-positional=yes}}

Edition, series, volume

{{#invoke:Template wrapper|wrap|_template=Citation Style documentation/edition|_include-positional=yes}} {{#invoke:Template wrapper|wrap|_template=Citation Style documentation/series|_include-positional=yes}} {{#invoke:Template wrapper|wrap|_template=Citation Style documentation/volume|_include-positional=yes}}

In-source locations

{{#invoke:Template wrapper|wrap|_template=Citation Style documentation/pages|_include-positional=yes}}

URL

{{#invoke:Template wrapper|wrap|_template=Citation Style documentation/url|_include-positional=yes}}

Anchor

{{#invoke:Template wrapper|wrap|_template=Citation Style documentation/ref|_include-positional=yes}}

Identifiers

{{#invoke:Template wrapper|wrap|_template=Citation Style documentation/id1|_include-positional=yes}} {{#invoke:Template wrapper|wrap|_template=Citation Style documentation/id2|_include-positional=yes}}

Quote

{{#invoke:Template wrapper|wrap|_template=Citation Style documentation/quote|_include-positional=yes}}

Editors

{{#invoke:Template wrapper|wrap|_template=Citation Style documentation/editor|_include-positional=yes}}

Laysummary

{{#invoke:Template wrapper|wrap|_template=Citation Style documentation/lay|_include-positional=yes}}

Display options

{{#invoke:Template wrapper|wrap|_template=Citation Style documentation/display|_include-positional=yes}}

Testing

See Template:cite book/regression tests.

{{#invoke:Navbox|navbox}} {{#invoke:Navbox|navbox}} This template produces COinS metadata; see COinS in Wikipedia for background information.