Template:BookReview and Template:BookReview/sandbox: Difference between pages
Appearance
(Difference between pages)
m Added cat. |
Created page with "This template formats bibliographic and reviewer information for a book under review. It is designed for use in review pages or entries and floats a metadata box on the right-hand side. === Usage === Place the following code on your review page and fill in the appropriate fields: <pre> {{BookReviewBox | title = The Metaphysical Club | author = Louis Menand | location= New York | pub = Farrar, Straus and Giroux | date = 2001 | pages = 546 pp. | type..." |
||
Line 1: | Line 1: | ||
This template formats bibliographic and reviewer information for a book under review. It is designed for use in review pages or entries and floats a metadata box on the right-hand side. | |||
< | |||
=== Usage === | |||
Place the following code on your review page and fill in the appropriate fields: | |||
<pre> | |||
{{BookReviewBox | |||
| title = The Metaphysical Club | |||
| author = Louis Menand | |||
| location= New York | |||
| pub = Farrar, Straus and Giroux | |||
| date = 2001 | |||
| pages = 546 pp. | |||
| type = Hardback | |||
| price = 27.00 | |||
| note = Winner of the Pulitzer Prize | |||
| first = Jane | |||
| last = Doe | |||
| link = https://example.com/purchase | |||
| url = https://example.com/full-review | |||
}} | |||
</pre> | |||
=== Parameters === | |||
; <code>title</code> : ''(required)'' The title of the book, which will be italicized. | |||
; <code>author</code> : ''(required)'' Full name of the author of the book being reviewed. | |||
; <code>location</code> : ''(required)'' City of publication. | |||
; <code>pub</code> : ''(required)'' Publisher's name. | |||
; <code>date</code> : ''(required)'' Year of publication. | |||
; <code>pages</code> : ''(required)'' Total number of pages, e.g., "320 pp." | |||
; <code>type</code> : ''(required)'' Book format (e.g., Paperback, Hardback, Cloth). | |||
; <code>price</code> : ''(required)'' Book price, entered as a number (e.g., "24.95"). | |||
; <code>note</code> : ''(optional)'' Any additional note (e.g., awards, notable facts). | |||
; <code>first</code> : ''(required)'' First name of the reviewer. | |||
; <code>last</code> : ''(required)'' Last name of the reviewer. | |||
; <code>link</code> : ''(optional)'' URL for purchasing the book. Displayed as "Link for purchase." | |||
; <code>url</code> : ''(optional)'' URL to the full review. Displayed as "Full review." | |||
=== Category Added === | |||
This template automatically categorizes the review page in the following ways: | |||
* <code><nowiki>[[Category:Written by FIRST LAST]]</nowiki></code> | |||
These help organize reviews for browsing and indexing by author, publisher, year, and reviewer. | |||
=== Notes === | |||
* If no optional fields are filled in, they will not appear. | |||
* The reviewer name is automatically linked to a page titled "First Last." |