Template:Cite book/doc: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
(Fix category.)
 
(11 intermediate revisions by 4 users not shown)
Line 1: Line 1:
'''{{tlx|Cite book}}''' is a template used to cite books. It originates from [[w:c:templates:Template:Cite book|the Fandom Templates Wiki]].


== Description ==
When you want to cite a book, type this template and type recommended bibliographic details to make the book citation clear.
When you want to cite a book, type this template and type recommended bibliographic details to make the book citation clear.


Line 7: Line 9:
You can cite a book by using the template forms below.
You can cite a book by using the template forms below.


To cite a book with a credited author
To cite a book with a credited author:
<pre>{{cite book |first= |last= |title= |date= |pages= |publisher= |accessdate=}}</pre>
 
{{tlx|Cite book|first{{=}}|last{{=}}|title{{=}}|date{{=}}|pages{{=}}|publisher{{=}}|accessdate{{=}}}}
 
or
or
<pre>{{cite book |author= |title= |date= |pages= |publisher= |accessdate=}}</pre>


To cite a book with no credited author
{{tlx|Cite book|author{{=}}|title{{=}}|date{{=}}|pages{{=}}|publisher{{=}}|accessdate{{=}}}}
<pre>{{cite book |title= |date= |pages= |publisher= |accessate=}}</pre>
 
To cite a book with no credited author:
 
{{tlx|Cite book|title{{=}}|date{{=}}|pages{{=}}|publisher{{=}}|accessdate{{=}}}}
 
To cite a book in a foreign language:


To cite a book in a foreign language
{{tlx|Cite book|first{{=}}|last{{=}}|title{{=}}|date{{=}}|pages{{=}}|publisher{{=}}|language{{=}}|accessdate{{=}}}}
<pre>{{cite book |first= |last= |title= |date= |pages= |publisher= |language= |accessdate=}}</pre>


=== Full template (complete usage) ===
=== Full template (complete usage) ===
<pre>{{cite book |first= |last= |title= |date= |publisher= |location= |accessdate= |pages= |languauge= |month= |year= |archiveurl= |authorlink= |accessyear= |accessmonth= |work= |coauthors= |archivedate= |quote=}}</pre>
{{tlx|Cite book|first{{=}}|last{{=}}|title{{=}}|date{{=}}|publisher{{=}}|location{{=}}|accessdate{{=}}|pages{{=}}|language{{=}}|month{{=}}|year{{=}}|archiveurl{{=}}|authorlink{{=}}|accessyear{{=}}|accessmonth{{=}}|work{{=}}|coauthors{{=}}|archivedate{{=}}|quote{{=}}}}


== Parameters ==
== Parameters ==
=== All ===
=== All ===
* <code>|first=</code> – the author's first name
* <code>first</code> – the author's first name
* <code>|last=</code> – the author's last name
* <code>last</code> – the author's last name
* <code>|author=</code> – alternative to the <code>|first=</code> and <code>|last=</code> parameters
* <code>author</code> – alternative to the <code>first</code> and <code>last</code> parameters
* <code>|title=</code> – the book title
* <code>title</code> – the book title
* <code>|date=</code> – when the book was published
* <code>date</code> – when the book was published
* <code>|publisher=</code> – name of the publisher
* <code>publisher</code> – name of the publisher
* <code>|location=</code> – location or address
* <code>location</code> – location or address
* <code>|accessdate=</code> – when the book was accessed
* <code>accessdate</code> – when the book was accessed
* <code>|pages=</code> – book's pages that you read
* <code>pages</code> – book's pages that you read
* <code>|languauge=</code> – the language of the book
* <code>languauge</code> – the language of the book
* <code>|month=</code> – the month when the book was published
* <code>month</code> – the month when the book was published
* <code>|year=</code> – the year when the book was published
* <code>year</code> – the year when the book was published
* <code>|archiveurl=</code> – the URL of the book archive
* <code>archiveurl</code> – the URL of the book archive
* <code>|authorlink=</code> – the URL of the author
* <code>authorlink</code> – the URL of the author
* <code>|accessyear=</code> – the year when you accessed the book
* <code>accessyear</code> – the year when you accessed the book
* <code>|accessmonth=</code> – the month when you accessed the book
* <code>accessmonth</code> – the month when you accessed the book
* <code>|work=</code>
* <code>work</code>
* <code>|coauthors=</code> – name of coauthors
* <code>coauthors</code> – name of coauthors
* <code>|archivedate=</code> – date of the archive
* <code>archivedate</code> – date of the archive
* <code>|quote=</code> – quote or note about the source
* <code>quote</code> – quote or note about the source


=== Required ===
=== Required ===
* <code>|author=</code> – author's name
* <code>author</code> – author's name
* <code>|title=</code> – book title
* <code>title</code> – book title
* <code>|date=</code> – when the book was published
* <code>date</code> – when the book was published


== Examples ==
== Examples ==
* <code><nowiki>{{cite book |last=van Zwoll |first=Wayne |title=Mastering the Art of Long-Range Shooting |url=https://books.google.com/books?id=PYq6AQAAQBAJ&pg=PA214 |date=December 6, 2013 |publisher=F+W Media |location=Iola, Wisconsin |isbn=978-1-4402-3485-9 |page=214}}</nowiki></code>
* {{tlx|Cite book|last{{=}}van Zwoll|first{{=}}Wayne|title{{=}}Mastering the Art of Long-Range Shooting|url{{=}}https://books.google.com/books?id=PYq6AQAAQBAJ&pg=PA214|date{{=}}December 6, 2013|publisher{{=}}F+W Media|location{{=}}Iola, Wisconsin|isbn{{=}}978-1-4402-3485-9|page{{=}}214}}
*:{{cite book |last=van Zwoll |first=Wayne |title=Mastering the Art of Long-Range Shooting |url=https://books.google.com/books?id=PYq6AQAAQBAJ&pg=PA214 |date=December 6, 2013 |publisher=F+W Media |location=Iola, Wisconsin |isbn=978-1-4402-3485-9 |page=214}}
*:{{Cite book|last=van Zwoll|first=Wayne|title=Mastering the Art of Long-Range Shooting|url=https://books.google.com/books?id=PYq6AQAAQBAJ&pg=PA214|date=December 6, 2013|publisher=F+W Media|location=Iola, Wisconsin|isbn=978-1-4402-3485-9|page=214}}
*:<references />
 
<includeonly>
== See also ==
[[Category:Citation templates]]</includeonly><noinclude>
* {{tlx|Cite web}}
[[Category:Template documentation]]</noinclude>
* {{tlx|Cite magazine}}
* {{tlx|Cite source}}
 
<noinclude>[[Category:Template documentation]]</noinclude>

Latest revision as of 13:29, 18 August 2024

{{Cite book}} is a template used to cite books. It originates from the Fandom Templates Wiki.

Description[[edit source]]

When you want to cite a book, type this template and type recommended bibliographic details to make the book citation clear.

Usage[[edit source]]

Most common forms[[edit source]]

You can cite a book by using the template forms below.

To cite a book with a credited author:

{{Cite book|first=|last=|title=|date=|pages=|publisher=|accessdate=}}

or

{{Cite book|author=|title=|date=|pages=|publisher=|accessdate=}}

To cite a book with no credited author:

{{Cite book|title=|date=|pages=|publisher=|accessdate=}}

To cite a book in a foreign language:

{{Cite book|first=|last=|title=|date=|pages=|publisher=|language=|accessdate=}}

Full template (complete usage)[[edit source]]

{{Cite book|first=|last=|title=|date=|publisher=|location=|accessdate=|pages=|language=|month=|...}}

Parameters[[edit source]]

All[[edit source]]

  • first – the author's first name
  • last – the author's last name
  • author – alternative to the first and last parameters
  • title – the book title
  • date – when the book was published
  • publisher – name of the publisher
  • location – location or address
  • accessdate – when the book was accessed
  • pages – book's pages that you read
  • languauge – the language of the book
  • month – the month when the book was published
  • year – the year when the book was published
  • archiveurl – the URL of the book archive
  • authorlink – the URL of the author
  • accessyear – the year when you accessed the book
  • accessmonth – the month when you accessed the book
  • work
  • coauthors – name of coauthors
  • archivedate – date of the archive
  • quote – quote or note about the source

Required[[edit source]]

  • author – author's name
  • title – book title
  • date – when the book was published

Examples[[edit source]]

  • {{Cite book|last=van Zwoll|first=Wayne|title=Mastering the Art of Long-Range Shooting|date=December 6, 2013|publisher=F+W Media|location=Iola, Wisconsin|isbn=978-1-4402-3485-9|page=214}}
    van Zwoll, Wayne (December 6, 2013). Mastering the Art of Long-Range Shooting p. 214. F+W Media. ISBN 978-1-4402-3485-9

See also[[edit source]]