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
No edit summary
added a few params
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={{{alt|{{{caption|}}}}}}]]}}
| caption  = {{{caption|}}}
| caption  = {{{caption|}}}
| label1    = Cover artist
| label1    = Cover artist
Line 45: Line 45:
},
},
"alt": {
"alt": {
"label": "Image Alt Text",
"label": "Image alt text",
"description": "The alternate text for the image if the image cannot load and for screen readers.",
"description": "The alternate text for the image if the image cannot load and for screen readers.",
"type": "string",
"type": "content",
"suggested": true
"suggested": true
}
}

Revision as of 16:35, 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.

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