Template:Infobox book simple
More actions
Usage
This template produces a standard right-aligned infobox summarising key information about a book: its title, cover art, author, and year of publication.
Blank syntax
{{Infobox book simple
| title =
| cover =
| alt =
| caption =
| author =
| year =
}}
Example
{{Infobox book simple
| title = Frankenstein
| cover = Frankenstein 1818 edition title page.jpg
| alt = Title page of the 1818 edition
| caption = First edition title page (1818)
| author = [[Mary Shelley]]
| year = 1818
}}
Parameters
- title
- The book's title. Defaults to the page name if left blank.
- cover
- Bare filename of the cover image (e.g.
Example.jpg), without theFile:prefix. - alt
- Alt text for the cover image, for accessibility.
- caption
- Caption shown beneath the cover (typically describing the edition).
- author
- Author of the book. May be wikilinked.
- year
- Year the book was first published (e.g.
1818).
TemplateData
A concise infobox for books, showing title, cover art, author and year of publication.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Title | title | The book's title. If left blank, the article title is used.
| String | suggested |
| Cover art (file name) | cover | Bare filename of the book cover image, without the 'File:' prefix.
| File | suggested |
| Cover alt text | alt | Alternative text for the cover image, used by screen readers. | String | optional |
| Cover caption | caption | A caption shown beneath the cover image, usually describing the edition.
| String | optional |
| Author | author | Author of the book. Can be a wikilink, e.g. [[Mary Shelley]]. | Content | required |
| Publication year | year | The year the book was first published.
| Number | required |
See also
- {{Infobox book}} — the full-featured version with many more fields.
The above documentation is transcluded from Template:Infobox book simple/doc (edit · history).
Editors can experiment in this template's sandbox and testcases pages.
Please add categories to the /doc subpage. Subpages of this template.