Template:Infobox book: Difference between revisions
From MicrasWiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 2: | Line 2: | ||
<div class="infobox-header" style="font-size: 110%; font-weight: bold; text-align: center; padding: 2px; background-color: #e9e9e9;">{{{title|{{PAGENAME}}}}}</div> | <div class="infobox-header" style="font-size: 110%; font-weight: bold; text-align: center; padding: 2px; background-color: #e9e9e9;">{{{title|{{PAGENAME}}}}}</div> | ||
{{#if:{{{image|}}}|<div class="infobox-image"><center>[[File:{{{image}}}|220px|alt={{{alt|}}}|{{{caption|}}}]]</center></div>}} | {{#if:{{{image|}}}|<div class="infobox-image"><center>[[File:{{{image}}}|220px|alt={{{alt|}}}|{{{caption|}}}]]</center></div>}} | ||
{{#if:{{{caption|}}}|<div class="infobox-caption" style="text-align: center; padding-top: | {{#if:{{{caption|}}}|<div class="infobox-caption" style="text-align: center; padding-top: 1px;">{{{caption}}}</div>}} | ||
<table class="infobox-table" style="width: 100%; border-spacing: | <table class="infobox-table" style="width: 100%; border-spacing: 1px;"> | ||
{{#if:{{{author|}}}|<tr><td class="infobox-label" style="font-weight: bold;">Author</td><td class="infobox-data">{{{author}}}</td></tr>}} | {{#if:{{{author|}}}|<tr><td class="infobox-label" style="font-weight: bold;">Author</td><td class="infobox-data">{{{author}}}</td></tr>}} | ||
{{#if:{{{country|}}}|<tr><td class="infobox-label" style="font-weight: bold;">Country</td><td class="infobox-data">{{{country}}}</td></tr>}} | {{#if:{{{country|}}}|<tr><td class="infobox-label" style="font-weight: bold;">Country</td><td class="infobox-data">{{{country}}}</td></tr>}} | ||
Latest revision as of 01:15, 22 March 2024
[edit] []
Template documentation
Documentation
Shadows of a New Dawn
Cover of the first edition
| Author | Esteban Moreno |
| Country | Nouvelle Alexandrie |
| Language | English |
| Genre | Political Thriller, Science Fiction |
| Publisher | Punta Santiago Press |
| Published | 1729 |
| Media type | Hardcover, E-book |
| Pages | 432 |
| ISBN | 978-3-16-148410-0 |
| OCLC | 320497589 |
Usage
This template is used to create an infobox for book articles. It provides a standardized way to present key details about a book. To use this template, copy and paste the following code into the top of the article, filling out the relevant fields.
{{Infobox book
| title =
| image = <!-- example: Example.jpg -->
| caption =
| author =
| country =
| language =
| genre =
| publisher =
| published = <!-- example: {{Start date|1729|AN}} -->
| media_type =
| pages =
| isbn =
| oclc =
}}
Parameters
- title
- The title of the book. If not specified, the page name will be used.
- image
- (optional) Filename of the book cover image.
- caption
- (optional) Caption for the book cover image.
- author
- The author(s) of the book.
- country
- The country of the book's origin.
- language
- The language in which the book was written.
- genre
- The genre of the book.
- publisher
- The publisher of the book.
- published
- The date when the book was first published.
- media_type
- The format of the book (e.g., Paperback, Hardcover, E-book).
- pages
- The number of pages in the book.
- isbn
- The International Standard Book Number.
- oclc
- The Online Computer Library Center number.
Fill out each parameter to provide a comprehensive infobox for the book article. Omit any parameters that do not apply to the specific book being described.
| The above documentation is transcluded from Template:Infobox book/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |