Template:Book: Difference between revisions
No edit summary |
No edit summary |
||
| Line 9: | Line 9: | ||
<td style="font-weight: bold; padding: 0.2em;">Author</td> | <td style="font-weight: bold; padding: 0.2em;">Author</td> | ||
<td style="padding: 0.2em;">{{{author}}}</td> | <td style="padding: 0.2em;">{{{author}}}</td> | ||
</tr> | |||
}} | |||
{{#if: {{{audio_read_by|}}}| | |||
<tr> | |||
<td style="font-weight: bold; padding: 0.2em;">Audio Read By</td> | |||
<td style="padding: 0.2em;">{{{audio_read_by}}}</td> | |||
</tr> | </tr> | ||
}} | }} | ||
| Line 21: | Line 27: | ||
<td style="font-weight: bold; padding: 0.2em;">Publication Date</td> | <td style="font-weight: bold; padding: 0.2em;">Publication Date</td> | ||
<td style="padding: 0.2em;">{{{publication_date}}}</td> | <td style="padding: 0.2em;">{{{publication_date}}}</td> | ||
</tr> | |||
}} | |||
{{#if: {{{publication_place|}}}| | |||
<tr> | |||
<td style="font-weight: bold; padding: 0.2em;">Publication Place</td> | |||
<td style="padding: 0.2em;">{{{publication_place}}}</td> | |||
</tr> | |||
}} | |||
{{#if: {{{publisher|}}}| | |||
<tr> | |||
<td style="font-weight: bold; padding: 0.2em;">Publisher</td> | |||
<td style="padding: 0.2em;">{{{publisher}}}</td> | |||
</tr> | |||
}} | |||
{{#if: {{{media_type|}}}| | |||
<tr> | |||
<td style="font-weight: bold; padding: 0.2em;">Media Type</td> | |||
<td style="padding: 0.2em;">{{{media_type}}}</td> | |||
</tr> | |||
}} | |||
{{#if: {{{pages|}}}| | |||
<tr> | |||
<td style="font-weight: bold; padding: 0.2em;">Pages</td> | |||
<td style="padding: 0.2em;">{{{pages}}}</td> | |||
</tr> | |||
}} | |||
{{#if: {{{genre|}}}| | |||
<tr> | |||
<td style="font-weight: bold; padding: 0.2em;">Genre</td> | |||
<td style="padding: 0.2em;">{{{genre}}}</td> | |||
</tr> | |||
}} | |||
{{#if: {{{isbn|}}}| | |||
<tr> | |||
<td style="font-weight: bold; padding: 0.2em;">ISBN</td> | |||
<td style="padding: 0.2em;">{{{isbn}}}</td> | |||
</tr> | |||
}} | |||
{{#if: {{{preceded_by|}}}| | |||
<tr> | |||
<td style="font-weight: bold; padding: 0.2em;">Preceded By</td> | |||
<td style="padding: 0.2em;">{{{preceded_by}}}</td> | |||
</tr> | |||
}} | |||
{{#if: {{{proceeded_by|}}}| | |||
<tr> | |||
<td style="font-weight: bold; padding: 0.2em;">Proceeded By</td> | |||
<td style="padding: 0.2em;">{{{proceeded_by}}}</td> | |||
</tr> | </tr> | ||
}} | }} | ||
| Line 26: | Line 80: | ||
</div> | </div> | ||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
== Usage == | == Usage == | ||
Revision as of 22:10, 20 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.
- `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).
Example Usage
```wiki Template:InfoboxBook