Jump to content

Template:Cite book: Difference between revisions

From PhantomWiki
add templatedate
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#if:{{{author|}}}|{{{author}}}. |}}''{{{title|Untitled book}}}''{{#if:{{{edition|}}}|, {{{edition}}} edition|}}{{#if:{{{location|}}}|. {{{location}}}:|.}} {{{publisher|Publisher not specified}}}, {{{year|n.d.}}}{{#if:{{{isbn|}}}|. ISBN {{{isbn}}}|}}{{#if:{{{page|}}}|, p. {{{page}}}|}}{{#if:{{{pages|}}}|, pp. {{{pages}}}|}}.</includeonly>
<includeonly>{{#if:{{{author|}}}|{{{author}}}. |}}''{{{title|Untitled book}}}''{{#if:{{{edition|}}}|, {{{edition}}} edition|}}{{#if:{{{location|}}}|. {{{location}}}:|.}} {{{publisher|Publisher not specified}}}, {{{year|n.d.}}}{{#if:{{{isbn|}}}|. ISBN {{{isbn}}}|}}{{#if:{{{page|}}}|, p. {{{page}}}|}}{{#if:{{{pages|}}}|, pp. {{{pages}}}|}}.</includeonly>
<noinclude>
<noinclude>
This template formats a citation for a book or a specific page or range of pages within a book.
== Usage ==
<pre>
{{Cite book
|author=John Smith
|title=The Complete Guide to Isle of Man Stamps
|edition=2nd
|location=London
|publisher=Example Publishing
|year=2024
|isbn=978-1-23456-789-0
|page=125
|pages=
}}
</pre>
Use <code>page</code> when citing a single page, or <code>pages</code> when citing a range of pages; leave the unused parameter blank.
<templatedata>
<templatedata>
{
{
     "description": "Formats a citation for a book",
     "description": "",
     "params": {
     "params": {
         "author": {
         "author": {
Line 57: Line 77:
}
}
</templatedata>
</templatedata>
== See also ==
* {{Tl|Cite Catalogue}} — official stamp catalogues where the publication itself has been consulted.
* {{Tl|Cite magazine}} — articles in magazines, journals and other periodicals.
* {{Tl|Cite news}} — newspaper articles and reports from news organisations, including online news.
* {{Tl|Cite web}} — webpages and other online sources.
* {{Tl|Cite}} — other sources, including information cards, leaflets, certificates and correspondence.
Use {{Tl|Cite book}} for books, including digitised copies. For official stamp catalogues, use {{Tl|Cite Catalogue}} to record catalogue numbers and the relevant country or section.
[[Category:Citation templates]]
</noinclude>
</noinclude>

Latest revision as of 16:47, 20 September 2026


This template formats a citation for a book or a specific page or range of pages within a book.

Usage

{{Cite book
|author=John Smith
|title=The Complete Guide to Isle of Man Stamps
|edition=2nd
|location=London
|publisher=Example Publishing
|year=2024
|isbn=978-1-23456-789-0
|page=125
|pages=
}}

Use page when citing a single page, or pages when citing a range of pages; leave the unused parameter blank.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Authorauthor

Name of the author

Linesuggested
Book titletitle

Title of the book

Linerequired
Editionedition

Edition of the book

Lineoptional
Publication placelocation

Place where the book was published

Lineoptional
Publisherpublisher

Name of the publisher

Linesuggested
Yearyear

Year of publication

Numbersuggested
ISBNisbn

ISBN of the book

Lineoptional
Pagepage

Single page being cited

Lineoptional
Pagespages

Range of pages being cited

Lineoptional

See also

  • {{Cite Catalogue}} — official stamp catalogues where the publication itself has been consulted.
  • {{Cite magazine}} — articles in magazines, journals and other periodicals.
  • {{Cite news}} — newspaper articles and reports from news organisations, including online news.
  • {{Cite web}} — webpages and other online sources.
  • {{Cite}} — other sources, including information cards, leaflets, certificates and correspondence.

Use {{Cite book}} for books, including digitised copies. For official stamp catalogues, use {{Cite Catalogue}} to record catalogue numbers and the relevant country or section.