Template:Book: Difference between revisions

From The Reed and Rite
mNo edit summary
mNo edit summary
Line 20: Line 20:
}}<!--
}}<!--
-->{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:Books]]}}</includeonly><noinclude>
-->{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:Books]]}}</includeonly><noinclude>
<noinclude>
== Description ==
== Description ==
This template should be used on book pages to add an infobox in the upper right hand corner the article.
This template should be used on book pages to add an infobox in the upper right hand corner the article.

Revision as of 00:55, 19 April 2025

Description

This template should be used on book pages to add an infobox in the upper right hand corner the article.

Usage

The template has several parameters that can be used.

Note: Only fields that are provided will appear in the infobox. Not all parameters are required for each character.
You Type You Get
{{book
|title=Example InfoBox
|image=Emma - Volume 1.jpg
|caption=Caption Here
|author=Author's Name
|cover_artist=Artist's Name
|audiobook=Reader's Name(s)
|series=Series Name
|period covered=Time Period
|publication_date=Date Here
|publication_place=Location here
|publisher=Publisher here
|media_type=Format Here
|pages=Page Numbers
|genre=Genre Here
|isbn=ISBN Here
|preceded_by=Title Here
|followed_by=Title Here
}}

Example Book Infobox
Caption Here
Caption Here
Caption Here
AuthorAuthor's Name
Cover ArtistArtist's Name
AudiobookReader's Name(s)
SeriesSeries Name
Publication DateDate Here
Publication PlaceLocation here
PublisherPublisher here
Media TypeFormat Here
PagesPage Numbers
GenreGenre Here
ISBNISBN Here
Preceded ByTitle Here
Followed ByTitle Here

Parameters

Parameter Description
name The character's name.
image Filename of the character's image (e.g., `File:Example.jpg`).
caption Caption for the image.
born The character's date of birth.
died The character's date of death (if applicable).
spouse The character's spouse (if applicable).
parents The character's parents.
children The character's children.
relatives Other relatives of the character.
profession The character's profession.
titles Titles or honorifics the character holds.
monikers Alternate names or nicknames for the character.
groups Groups or affiliations the character belongs to.
introduced Where the character was first introduced (e.g., book, chapter, etc.).
first_mentioned Where the character was first mentioned (e.g., book, chapter, etc.).
last_mentioned Where the character was last mentioned (e.g., book, chapter, etc.).

Articles using Template

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).