Template:Book: Difference between revisions

From The Reed and Rite
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;">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 43: Line 43:
     {{#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;">Publication Date</td>
       <td style="padding: 0.1em;">{{{publication_date}}}</td>
       <td style="padding: 0.1em;">{{{publication_date}}}</td>
     </tr>
     </tr>
Line 49: Line 49:
     {{#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;">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: {{{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;">Media Type</td>
       <td style="padding: 0.1em;">{{{media_type}}}</td>
       <td style="padding: 0.1em;">{{{media_type}}}</td>
     </tr>
     </tr>

Revision as of 23:54, 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