Template:Book: Difference between revisions
mNo edit summary Tags: Manual revert Reverted |
m Renamed parameters. |
||
| (6 intermediate revisions by the same user not shown) | |||
| 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: {{{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 14: | Line 13: | ||
-->{{#if: {{{media_type|}}} |<tr class="infobox-data-row"><th>Media Type</th><td>{{{media_type}}}</td></tr>}}<!-- | -->{{#if: {{{media_type|}}} |<tr class="infobox-data-row"><th>Media Type</th><td>{{{media_type}}}</td></tr>}}<!-- | ||
-->{{#if: {{{pages|}}} |<tr class="infobox-data-row"><th>Pages</th><td>{{{pages}}}</td></tr>}}<!-- | -->{{#if: {{{pages|}}} |<tr class="infobox-data-row"><th>Pages</th><td>{{{pages}}}</td></tr>}}<!-- | ||
-->{{#if: {{{word_count|}}} |<tr class="infobox-data-row"><th>Word Count</th><td>{{{word_count}}}</td></tr>}}<!-- | |||
-->{{#if: {{{audiobook_length|}}} |<tr class="infobox-data-row"><th>Audiobook Length</th><td>{{{audiobook_length}}}</td></tr>}}<!-- | |||
-->{{#if: {{{narrated_by|}}} |<tr class="infobox-data-row"><th>Narrated By</th><td>{{{narrated_by}}}</td></tr>}}<!-- | |||
-->{{#if: {{{genre|}}} |<tr class="infobox-data-row"><th>Genre</th><td>{{{genre}}}</td></tr>}}<!-- | -->{{#if: {{{genre|}}} |<tr class="infobox-data-row"><th>Genre</th><td>{{{genre}}}</td></tr>}}<!-- | ||
-->{{#if: {{{isbn|}}} |<tr class="infobox-data-row"><th>ISBN</th><td>{{{isbn}}}</td></tr>}}<!-- | -->{{#if: {{{isbn|}}} |<tr class="infobox-data-row"><th>ISBN</th><td>{{{isbn}}}</td></tr>}}<!-- | ||
| Line 32: | Line 34: | ||
!You Get | !You Get | ||
|- | |- | ||
| style="text-align: left | | style="text-align: left; vertical-align: top;" |<pre> | ||
{{book | {{book | ||
|name=Example Book Infobox | |name=Example Book Infobox | ||
| Line 39: | Line 41: | ||
|author=Author's Name | |author=Author's Name | ||
|cover_artist=Artist's Name | |cover_artist=Artist's Name | ||
|series=Series Name | |series=Series Name | ||
|period covered=Time Period | |period covered=Time Period | ||
| Line 47: | Line 48: | ||
|media_type=Format Here | |media_type=Format Here | ||
|pages=Number of Pages | |pages=Number of Pages | ||
|word_count=Word Count | |||
|audiobook_length=Length of Audiobook | |||
|narrated_by=Reader's Name(s) | |||
|genre=Genre Here | |genre=Genre Here | ||
|isbn=ISBN Here | |isbn=ISBN Here | ||
| Line 53: | Line 57: | ||
}} | }} | ||
</pre> | </pre> | ||
|<br>{{book | |||
|name=Example Book Infobox | |name=Example Book Infobox | ||
|image=Emma - Volume 1.jpg | |image=Emma - Volume 1.jpg | ||
| Line 59: | Line 63: | ||
|author=Author's Name | |author=Author's Name | ||
|cover_artist=Artist's Name | |cover_artist=Artist's Name | ||
|series=Series Title | |series=Series Title | ||
|period covered=Time Period | |period covered=Time Period | ||
| Line 67: | Line 70: | ||
|media_type=Format Here | |media_type=Format Here | ||
|pages=Number of Pages | |pages=Number of Pages | ||
|word_count=Word Count | |||
|audiobook_length=Length of Audiobook | |||
|narrated_by=Reader's Name(s) | |||
|genre=Genre Here | |genre=Genre Here | ||
|isbn=ISBN Here | |isbn=ISBN Here | ||
| Line 101: | Line 107: | ||
|- | |- | ||
| style="text-align: center;" | <code>pages</code> || The number of pages in the first edition. | | style="text-align: center;" | <code>pages</code> || The number of pages in the first edition. | ||
|- | |||
| style="text-align: center;" | <code>word_count</code> || The number of words in the first edition. | |||
|- | |||
| style="text-align: center;" | <code>audio_length</code> || The length of the audiobook of the first edition. | |||
|- | |- | ||
| style="text-align: center;" | <code>genre</code> || The genre of the book. | | style="text-align: center;" | <code>genre</code> || The genre of the book. | ||
Latest revision as of 22:32, 7 July 2025
Description
This template should be used on book pages to add an infobox in the upper right hand corner of the article.
Usage
This 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 book.
| You Type | You Get | ||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{book
|name=Example Book Infobox
|image=Emma - Volume 1.jpg
|caption=Caption Here
|author=Author's Name
|cover_artist=Artist's Name
|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
|word_count=Word Count
|audiobook_length=Length of Audiobook
|narrated_by=Reader's Name(s)
|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. |
word_count |
The number of words in the first edition. |
audio_length |
The length of the audiobook of 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. Use abbreviation(s) from Template:B. |
followed_by |
What book came after the book, if applicable. Use abbreviation(s) from Template:B. |
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)
