Template:Cite book/doc: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
m (Updated formatting, fixed spelling mistake.)
(Update.)
Line 1: Line 1:
<noinclude>{{Documentation subpage}}</noinclude>


== 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>
{{t|Cite book|first{{=}}|last{{=}}|title{{=}}|date{{=}}|pages{{=}}|publisher{{=}}|accessdate{{=}}}}
or
or
<pre>{{Cite book |author= |title= |date= |pages= |publisher= |accessdate=}}</pre>
{{t|Cite book|author{{=}}|title{{=}}|date{{=}}|pages{{=}}|publisher{{=}}|accessdate{{=}}}}


To cite a book with no credited author
To cite a book with no credited author:
<pre>{{Cite book |title= |date= |pages= |publisher= |accessdate=}}</pre>
{{t|Cite book|title{{=}}|date{{=}}|pages{{=}}|publisher{{=}}|accessdate{{=}}}}


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


=== 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>
{{t|Cite book|first{{=}}|last{{=}}|title{{=}}|date{{=}}|publisher{{=}}|location{{=}}|accessdate{{=}}|pages{{=}}|languauge{{=}}|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>
* {{t|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 />
*:<references />
<includeonly>
<includeonly>
[[Category:Citation templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>
[[Category:Citation templates]]
</includeonly>

Revision as of 18:15, 26 March 2022

Template:Documentation subpage

Description

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

Usage

Most common forms

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

To cite a book with a credited author: Template:T or Template:T

To cite a book with no credited author: Template:T

To cite a book in a foreign language: Template:T

Full template (complete usage)

Template:T

Parameters

All

  • 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

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

Examples