Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Book infobox: Difference between revisions

Template page
Add File: namespace to image
No edit summary
Line 1: Line 1:
{{Infobox
{{Infobox
| title    = {{{name|{{PAGENAME}}}}}
| title    = {{{name|{{PAGENAME}}}}}
| image    = {{#if: {{{image|}}} | [[File:{{{image}}}|250px|alt={{{image}}}]] }}
| image    = {{#if:{{{image|}}}|[[File:{{{image}}}|250px|alt={{{image}}}]]}}
| caption  = {{{caption|}}}
| caption  = {{{caption|}}}
| label1    = Published
| label1   = Cover artist
| data1     = {{{published|}}}
| data1    = {{{cover_artist|}}}
| label2   = Published
| data2     = {{{published|}}}
| label3    = Page count
| data3    = {{{pages|}}}
| label4    = ISBN
| data4    = {{{isbn|}}}
| label5    = Preceded by
| data5    = {{{preceded_by|}}}
| label6    = Followed by
| data6    = {{{followed_by|}}}
}}
}}
<noinclude>
<noinclude>
Line 19: Line 29:
"published": {
"published": {
"label": "Published",
"label": "Published",
"description": "The date of publication if published.",
"description": "The date of publication, if published.",
"type": "date",
"type": "date",
"suggested": true
"suggested": true

Revision as of 16:33, 17 December 2024

Book infobox

An infobox that describes a book

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namename

The name of the book without "Wings of Fire"

Example
The Dragonet Prophecy
Stringrequired
Imageimage

An image of the book's front cover.

Filesuggested
Image Alt Textalt

The alternate text for the image if the image cannot load and for screen readers.

Stringsuggested
Publishedpublished

The date of publication, if published.

Datesuggested
Image captioncaption

The caption for the image

Contentoptional
Cookies help us deliver our services. By using our services, you agree to our use of cookies.