Template:Book: Difference between revisions
mNo edit summary |
mNo edit summary |
||
| Line 6: | Line 6: | ||
-->{{#if: {{{author|}}} |<tr class="infobox-data-row"><th>Author</th><td>{{{author}}}</td></tr>}}<!-- | -->{{#if: {{{author|}}} |<tr class="infobox-data-row"><th>Author</th><td>{{{author}}}</td></tr>}}<!-- | ||
-->{{#if: {{{cover_artist|}}} |<tr class="infobox-data-row"><th>Cover Artist</th><td>{{{cover_artist}}}</td></tr>}}<!-- | -->{{#if: {{{cover_artist|}}} |<tr class="infobox-data-row"><th>Cover Artist</th><td>{{{cover_artist}}}</td></tr>}}<!-- | ||
-->{{#if: {{{ | -->{{#if: {{{audio_by|}}} |<tr class="infobox-data-row"><th>Audio By</th><td>{{{audio_by}}}</td></tr>}}<!-- | ||
-->{{#if: {{{series|}}} | <tr class="infobox-data-row"><th>Series</th><td>{{#if:{{b|{{{series}}}}} | ''[[{{b|{{{series}}}}}|{{b|{{{series}}}|text=y}}]]'' | {{{series}}}}}</td></tr>}}<!-- | -->{{#if: {{{series|}}} | <tr class="infobox-data-row"><th>Series</th><td>{{#if:{{b|{{{series}}}}} | ''[[{{b|{{{series}}}}}|{{b|{{{series}}}|text=y}}]]'' | {{{series}}}}}</td></tr>}}<!-- | ||
-->{{#if: {{{period_covered|}}} |<tr class="infobox-data-row"><th>Period Covered</th><td>{{{period_covered}}}</td></tr>}}<!-- | -->{{#if: {{{period_covered|}}} |<tr class="infobox-data-row"><th>Period Covered</th><td>{{{period_covered}}}</td></tr>}}<!-- | ||
| Line 25: | Line 25: | ||
== Usage == | == Usage == | ||
The template has several [[:Template:Character#Parameters|parameters]] that can be used. | The template has several [[:Template:Character#Parameters|parameters]] that can be used. | ||
: '''Note: Only | : '''Note: Only parameters that are provided will appear in the infobox. Not all parameters are required for each character.''' | ||
{| style="width: 100%; text-align: left; margin: auto;" class="wikitable" | {| style="width: 100%; text-align: left; margin: auto;" class="wikitable" | ||
| Line 39: | Line 39: | ||
|author=Author's Name | |author=Author's Name | ||
|cover_artist=Artist's Name | |cover_artist=Artist's Name | ||
| | |audio_by=Reader's Name(s) | ||
|series=Series Name | |series=Series Name | ||
|period covered=Time Period | |period covered=Time Period | ||
| Line 46: | Line 46: | ||
|publisher=Publisher Here | |publisher=Publisher Here | ||
|media_type=Format Here | |media_type=Format Here | ||
|pages= | |pages=Number of Pages | ||
|genre=Genre Here | |genre=Genre Here | ||
|isbn=ISBN Here | |isbn=ISBN Here | ||
| Line 59: | Line 59: | ||
|author=Author's Name | |author=Author's Name | ||
|cover_artist=Artist's Name | |cover_artist=Artist's Name | ||
| | |audio_by=Reader's Name(s) | ||
|series=Series Title | |series=Series Title | ||
|period covered=Time Period | |period covered=Time Period | ||
| Line 66: | Line 66: | ||
|publisher=Publisher Here | |publisher=Publisher Here | ||
|media_type=Format Here | |media_type=Format Here | ||
|pages= | |pages=Number of Pages | ||
|genre=Genre Here | |genre=Genre Here | ||
|isbn=ISBN Here | |isbn=ISBN Here | ||
| Line 78: | Line 78: | ||
! Parameter !! Description | ! Parameter !! Description | ||
|- | |- | ||
| style="text-align: center;" | <code>name</code> || The | | style="text-align: center;" | <code>name</code> || The book's title. | ||
|- | |- | ||
| style="text-align: center;" | <code>image</code> || Filename of the | | style="text-align: center;" | <code>image</code> || Filename of the book's cover image (e.g., 'Example.jpg`). | ||
|- | |- | ||
| style="text-align: center;" | <code>caption</code> || Caption for the image. | | style="text-align: center;" | <code>caption</code> || Caption for the image. | ||
|- | |- | ||
| style="text-align: center;" | <code> | | style="text-align: center;" | <code>author</code> || The author's name. | ||
|- | |- | ||
| style="text-align: center;" | <code> | | style="text-align: center;" | <code>cover_artist</code> || The name of the artist who created/designed the cover. | ||
|- | |- | ||
| style="text-align: center;" | <code> | | style="text-align: center;" | <code>audio_by</code> || The name(s) of who read the audiobook. | ||
|- | |- | ||
| style="text-align: center;" | <code> | | style="text-align: center;" | <code>series</code> || The series the book is from, if applicable. Use abbreviation(s) from [[:Template:B]]. | ||
|- | |- | ||
| style="text-align: center;" | <code> | | style="text-align: center;" | <code>publication_date</code> || The date of publication of first edition. | ||
|- | |- | ||
| style="text-align: center;" | <code> | | style="text-align: center;" | <code>publication_place</code> || The country where the book was first published. | ||
|- | |- | ||
| style="text-align: center;" | <code> | | style="text-align: center;" | <code>publisher</code> || The name of the publisher. (e.g., Rhysdon Press) | ||
|- | |- | ||
| style="text-align: center;" | <code> | | style="text-align: center;" | <code>media_type</code> || The forms in which the book has been published. (e.g., Paperback, Hardcover, ebook, audiobook, etc.) | ||
|- | |- | ||
| style="text-align: center;" | <code> | | style="text-align: center;" | <code>pages</code> || The number of pages in the first edition. | ||
|- | |- | ||
| style="text-align: center;" | <code> | | style="text-align: center;" | <code>genre</code> || The genre of the book. | ||
|- | |- | ||
| style="text-align: center;" | <code> | | style="text-align: center;" | <code>isbn</code> || The ISBN number of the first edition. | ||
|- | |- | ||
| style="text-align: center;" | <code> | | style="text-align: center;" | <code>preceded_by</code> || What book came before the book, if applicable. | ||
|- | |- | ||
| style="text-align: center;" | <code> | | style="text-align: center;" | <code>followed_by</code> || What book came after the book, if applicable. | ||
|} | |} | ||
Revision as of 19:38, 20 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 parameters 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
|audio_by=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=Number of Pages
|genre=Genre Here
|isbn=ISBN Here
|preceded_by=Title Here
|followed_by=Title Here
}}
|
| ||||||||||||||||||||||||||||||||
Parameters
| Parameter | Description |
|---|---|
name |
The book's title. |
image |
Filename of the book's cover image (e.g., 'Example.jpg`). |
caption |
Caption for the image. |
author |
The author's name. |
cover_artist |
The name of the artist who created/designed the cover. |
audio_by |
The name(s) of who read the audiobook. |
series |
The series the book is from, if applicable. Use abbreviation(s) from Template:B. |
publication_date |
The date of publication of first edition. |
publication_place |
The country where the book was first published. |
publisher |
The name of the publisher. (e.g., Rhysdon Press) |
media_type |
The forms in which the book has been published. (e.g., Paperback, Hardcover, ebook, audiobook, etc.) |
pages |
The number of pages in the first edition. |
genre |
The genre of the book. |
isbn |
The ISBN number of the first edition. |
preceded_by |
What book came before the book, if applicable. |
followed_by |
What book came after the book, if applicable. |
- `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).
Articles using Template
- The Unselected Journals of Emma M. Lion (transclusion) (← links | edit)
- The Unselected Journals of Emma M. Lion: Volume 1 (transclusion) (← links | edit)
- The Unselected Journals of Emma M. Lion: Volume 2 (transclusion) (← links | edit)
- The Unselected Journals of Emma M. Lion: Volume 3 (transclusion) (← links | edit)
- The Unselected Journals of Emma M. Lion: Volume 4 (transclusion) (← links | edit)
- The Unselected Journals of Emma M. Lion: Volume 5 (transclusion) (← links | edit)
- The Unselected Journals of Emma M. Lion: Volume 6 (transclusion) (← links | edit)
- The Unselected Journals of Emma M. Lion: Volume 7 (transclusion) (← links | edit)
- The Unselected Journals of Emma M. Lion: Volume 8 (transclusion) (← links | edit)
- The Q (transclusion) (← links | edit)
- The Beast of Ten (transclusion) (← links | edit)
- The Books of Imirillia (transclusion) (← links | edit)
- The Queen's Gambit (transclusion) (← links | edit)
- The Ruby Prince (transclusion) (← links | edit)
- The Wanderer's Mark (transclusion) (← links | edit)
- The Unselected Journals of Emma M. Lion: Volume 9 (transclusion) (← links | edit)
