Template:Book: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<div style="width: 300px; background: #ffffff; border: 1px solid #aaa; padding: 0.5em; float: right; margin: 0 0 1em 1em;"> | <div style="width: 300px; background: #ffffff; border: 1px solid #aaa; padding: 0.5em; float: right; margin: 0 0 1em 1em; vertical-align: top;"> | ||
<table style="width: 100%; border-spacing: 0; margin: 0; background-color: #ffffff;"> | <table style="width: 100%; border-spacing: 0; margin: 0; background-color: #ffffff;"> | ||
<!-- Title --> | <!-- Title --> | ||
| Line 41: | Line 41: | ||
</tr> | </tr> | ||
}} | }} | ||
{{#if: {{{ | {{#if: {{{period covered|}}} | | ||
<tr> | <tr> | ||
<td style="font-weight: bold; padding: 0.1em; vertical-align: top; width: 35%;">Period Covered</td> | <td style="font-weight: bold; padding: 0.1em; vertical-align: top; width: 35%;">Period Covered</td> | ||
<td style="padding: 0.1em;">{{{ | <td style="padding: 0.1em;">{{{period covered}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
| Line 95: | Line 95: | ||
</tr> | </tr> | ||
}} | }} | ||
{{#if: {{{ | {{#if: {{{proceeded_by|}}} | | ||
<tr> | <tr> | ||
<td style="font-weight: bold; padding: 0.1em; vertical-align: top; width: 35%;"> | <td style="font-weight: bold; padding: 0.1em; vertical-align: top; width: 35%;">Proceeded by</td> | ||
<td style="padding: 0.1em;">{{{ | <td style="padding: 0.1em;">{{{proceeded_by}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
Revision as of 04:09, 21 November 2024
Usage
This is a generic infobox for books. Only fields that are provided will appear in the infobox.
Parameters
- `title` (required): The book's title.
- `image`: Filename of the book cover image (e.g., `File:Example.jpg`).
- `caption`: Caption for the image.
- `author`: Author of the book.
- `audio_read_by`: The narrator of the audiobook (if applicable).
- `series`: Series the book belongs to.
- 'period covered': Period of time covered in book.
- `publication_date`: Date the book was published.
- `publication_place`: Place where the book was published.
- `publisher`: The book's publisher.
- `media_type`: The format (e.g., Hardcover, Paperback, eBook, Audiobook).
- `pages`: Number of pages in the book.
- `genre`: The book's genre.
- `isbn`: The ISBN of the book.
- `preceded_by`: Previous book in the series (if applicable).
- `followed_by`: Next book in the series (if applicable).