Template:BookReview: Difference between revisions
Appearance
mNo edit summary |
m Added cat. |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<div style="float: right; width: 18em; margin: 0 0 1em 1em; padding: 1em; border: 1px solid #ccc; background-color: #f9f9f9;"> | <div style="float: right; width: 18em; margin: 0 0 1em 1em; padding: 1em; border: 1px solid #ccc; background-color: #f9f9f9;"> | ||
<big>''{{{title}}}''</big><br /><small>by {{{author}}}</small><br /><small>{{{location}}}: {{{pub}}}, {{{date}}}</small><br /><small>{{{pages}}} pp. {{{type}}}, ${{{price}}}</small><br />{{#if:{{{note|}}}|<small>'''Note''': {{{note}}}</small>|}}<hr /><small>'''Reviewed by''': [[{{{first}}} {{{last}}}]]</small><br />{{#if:{{{link|}}}|<small> | <big>''{{{title}}}''</big><br /><small>by: {{{author}}}</small><br /><small>{{{location}}}: {{{pub}}}, {{{date}}}</small><br /><small>{{{pages}}} pp. {{{type}}}, ${{{price}}}</small><br />{{#if:{{{note|}}}|<small>'''Note''': {{{note}}}</small>|}}<hr /><small>'''Reviewed by''': [[{{{first}}} {{{last}}}]]</small><br />{{#if:{{{link|}}}|<small>Purchase: [{{{link}}} {{{link}}}]</small>|}}{{#if:{{{url|}}}|<br /><small>Review URL: [{{{url}}} {{{url}}}]</small>|}}</div><includeonly>[[Category:Written by {{{first}}} {{{last}}}]] [[Category:Book Reviews (MR)]]</includeonly><noinclude>{{documentation}}</noinclude> | ||
</div><includeonly>[[Category:Written by {{{first}}} {{{last}}}]]</includeonly><noinclude>{{documentation}}</noinclude> | |||
Latest revision as of 10:39, 10 April 2025
{{{title}}}
by: {{{author}}}
{{{location}}}: {{{pub}}}, {{{date}}}
{{{pages}}} pp. {{{type}}}, ${{{price}}}
Reviewed by: [[{{{first}}} {{{last}}}]]
by: {{{author}}}
{{{location}}}: {{{pub}}}, {{{date}}}
{{{pages}}} pp. {{{type}}}, ${{{price}}}
Reviewed by: [[{{{first}}} {{{last}}}]]
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:
{{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
}}
Parameters
title- (required) The title of the book, which will be italicized.
author- (required) Full name of the author of the book being reviewed.
location- (required) City of publication.
pub- (required) Publisher's name.
date- (required) Year of publication.
pages- (required) Total number of pages, e.g., "320 pp."
type- (required) Book format (e.g., Paperback, Hardback, Cloth).
price- (required) Book price, entered as a number (e.g., "24.95").
note- (optional) Any additional note (e.g., awards, notable facts).
first- (required) First name of the reviewer.
last- (required) Last name of the reviewer.
link- (optional) URL for purchasing the book. Displayed as "Link for purchase."
url- (optional) URL to the full review. Displayed as "Full review."
Category Added
This template automatically categorizes the review page in the following ways:
[[Category:Written by FIRST LAST]][[Category:Book Reviews (MR)]]
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."
| The above documentation is transcluded from Template:BookReview/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |