Template:Book: Difference between revisions
No edit summary |
No edit summary |
||
| Line 31: | Line 31: | ||
{{#if: {{{audio_read_by|}}} | | {{#if: {{{audio_read_by|}}} | | ||
<tr> | <tr> | ||
<td style="font-weight: bold; padding: 0.1em;">Audio Read by</td> | <td style="font-weight: bold; padding: 0.1em; vertical-align: top;">Audio Read by</td> | ||
<td style="padding: 0.1em;">{{{audio_read_by}}}</td> | <td style="padding: 0.1em;">{{{audio_read_by}}}</td> | ||
</tr> | </tr> | ||
| Line 37: | Line 37: | ||
{{#if: {{{series|}}} | | {{#if: {{{series|}}} | | ||
<tr> | <tr> | ||
<td style="font-weight: bold; padding: 0.1em;">Series</td> | <td style="font-weight: bold; padding: 0.1em; vertical-align: top;">Series</td> | ||
<td style="padding: 0.1em;">{{{series}}}</td> | <td style="padding: 0.1em;">{{{series}}}</td> | ||
</tr> | </tr> | ||
| Line 43: | Line 43: | ||
{{#if: {{{period covered|}}} | | {{#if: {{{period covered|}}} | | ||
<tr> | <tr> | ||
<td style="font-weight: bold; padding: 0.1em;">Period Covered</td> | <td style="font-weight: bold; padding: 0.1em; vertical-align: top;">Period Covered</td> | ||
<td style="padding: 0.1em;">{{{period covered}}}</td> | <td style="padding: 0.1em;">{{{period covered}}}</td> | ||
</tr> | </tr> | ||
| Line 49: | Line 49: | ||
{{#if: {{{publication_date|}}} | | {{#if: {{{publication_date|}}} | | ||
<tr> | <tr> | ||
<td style="font-weight: bold; padding: 0.1em;">Publication Date</td> | <td style="font-weight: bold; padding: 0.1em; vertical-align: top;">Publication Date</td> | ||
<td style="padding: 0.1em;">{{{publication_date}}}</td> | <td style="padding: 0.1em;">{{{publication_date}}}</td> | ||
</tr> | </tr> | ||
| Line 55: | Line 55: | ||
{{#if: {{{publication_place|}}} | | {{#if: {{{publication_place|}}} | | ||
<tr> | <tr> | ||
<td style="font-weight: bold; padding: 0.1em;">Publication Place</td> | <td style="font-weight: bold; padding: 0.1em; vertical-align: top;">Publication Place</td> | ||
<td style="padding: 0.1em;">{{{publication_place}}}</td> | <td style="padding: 0.1em;">{{{publication_place}}}</td> | ||
</tr> | </tr> | ||
| Line 61: | Line 61: | ||
{{#if: {{{publisher|}}} | | {{#if: {{{publisher|}}} | | ||
<tr> | <tr> | ||
<td style="font-weight: bold; padding: 0.1em;">Publisher</td> | <td style="font-weight: bold; padding: 0.1em; vertical-align: top;">Publisher</td> | ||
<td style="padding: 0.1em;">{{{publisher}}}</td> | <td style="padding: 0.1em;">{{{publisher}}}</td> | ||
</tr> | </tr> | ||
| Line 67: | Line 67: | ||
{{#if: {{{media_type|}}} | | {{#if: {{{media_type|}}} | | ||
<tr> | <tr> | ||
<td style="font-weight: bold; padding: 0.1em;">Media Type</td> | <td style="font-weight: bold; padding: 0.1em; vertical-align: top;">Media Type</td> | ||
<td style="padding: 0.1em;">{{{media_type}}}</td> | <td style="padding: 0.1em;">{{{media_type}}}</td> | ||
</tr> | </tr> | ||
| Line 73: | Line 73: | ||
{{#if: {{{pages|}}} | | {{#if: {{{pages|}}} | | ||
<tr> | <tr> | ||
<td style="font-weight: bold; padding: 0.1em;">Pages</td> | <td style="font-weight: bold; padding: 0.1em; vertical-align: top;">Pages</td> | ||
<td style="padding: 0.1em;">{{{pages}}}</td> | <td style="padding: 0.1em;">{{{pages}}}</td> | ||
</tr> | </tr> | ||
| Line 79: | Line 79: | ||
{{#if: {{{genre|}}} | | {{#if: {{{genre|}}} | | ||
<tr> | <tr> | ||
<td style="font-weight: bold; padding: 0.1em;">Genre</td> | <td style="font-weight: bold; padding: 0.1em; vertical-align: top;">Genre</td> | ||
<td style="padding: 0.1em;">{{{genre}}}</td> | <td style="padding: 0.1em;">{{{genre}}}</td> | ||
</tr> | </tr> | ||
| Line 85: | Line 85: | ||
{{#if: {{{isbn|}}} | | {{#if: {{{isbn|}}} | | ||
<tr> | <tr> | ||
<td style="font-weight: bold; padding: 0.1em;">ISBN</td> | <td style="font-weight: bold; padding: 0.1em; vertical-align: top;">ISBN</td> | ||
<td style="padding: 0.1em;">{{{isbn}}}</td> | <td style="padding: 0.1em;">{{{isbn}}}</td> | ||
</tr> | </tr> | ||
| Line 91: | Line 91: | ||
{{#if: {{{preceded_by|}}} | | {{#if: {{{preceded_by|}}} | | ||
<tr> | <tr> | ||
<td style="font-weight: bold; padding: 0.1em;">Preceded by</td> | <td style="font-weight: bold; padding: 0.1em; vertical-align: top;">Preceded by</td> | ||
<td style="padding: 0.1em;">{{{preceded_by}}}</td> | <td style="padding: 0.1em;">{{{preceded_by}}}</td> | ||
</tr> | </tr> | ||
| Line 97: | Line 97: | ||
{{#if: {{{proceeded_by|}}} | | {{#if: {{{proceeded_by|}}} | | ||
<tr> | <tr> | ||
<td style="font-weight: bold; padding: 0.1em;">Proceeded by</td> | <td style="font-weight: bold; padding: 0.1em; vertical-align: top;">Proceeded by</td> | ||
<td style="padding: 0.1em;">{{{proceeded_by}}}</td> | <td style="padding: 0.1em;">{{{proceeded_by}}}</td> | ||
</tr> | </tr> | ||
Revision as of 03:07, 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).
- `proceeded_by`: Next book in the series (if applicable).