More actions
added a few params |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Infobox | {{Infobox | ||
| title = {{{name|{{PAGENAME}}}}} | | title = {{{name|{{PAGENAME}}}}} | ||
| image = {{#if:{{{image|}}}|[[File:{{{image}}}|250px|alt={{{alt|{{{caption|}}}}}}]]}} | | image = {{#if:{{{image|}}}|[[File:{{{image}}}|{{{image_size|250px}}}|alt={{{alt|{{{caption|}}}}}}]]}} | ||
| caption = {{{caption|}}} | | caption = {{{caption|}}} | ||
| label1 = Cover artist | | label1 = Cover artist | ||
Line 15: | Line 15: | ||
| label6 = Followed by | | label6 = Followed by | ||
| data6 = {{{followed_by|}}} | | data6 = {{{followed_by|}}} | ||
}} | }}<noinclude> | ||
<noinclude> | |||
<templatedata> | <templatedata> | ||
{ | { | ||
Line 37: | Line 36: | ||
"description": "An image of the book's front cover.", | "description": "An image of the book's front cover.", | ||
"type": "wiki-file-name", | "type": "wiki-file-name", | ||
"suggested": true | "suggested": true, | ||
"example": "The Dragonet Prophecy Cover.png" | |||
}, | }, | ||
"caption": { | "caption": { | ||
Line 49: | Line 49: | ||
"type": "content", | "type": "content", | ||
"suggested": true | "suggested": true | ||
}, | |||
"image_size": { | |||
"label": "Image size", | |||
"description": "Size of the image.", | |||
"example": "250px", | |||
"type": "string", | |||
"default": "250px" | |||
}, | |||
"cover_artist": { | |||
"label": "Cover artist", | |||
"description": "Artist who drew cover art for this book.", | |||
"example": "Joy Ang", | |||
"type": "string", | |||
"suggestedvalues": [ | |||
"Joy Ang" | |||
] | |||
}, | |||
"pages": { | |||
"label": "Page count", | |||
"description": "The number of pages in this book.", | |||
"example": "297", | |||
"type": "number" | |||
}, | |||
"isbn": { | |||
"label": "ISBN", | |||
"description": "ISBN identifier for this book.", | |||
"example": "978-0-545-34923-9", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"preceded_by": { | |||
"label": "Preceded by", | |||
"description": "The book that precedes this book, if any.", | |||
"example": "The Dragonet Prophecy", | |||
"type": "string" | |||
}, | |||
"followed_by": { | |||
"label": "Followed by", | |||
"description": "The book that precedes this book, if any.", | |||
"example": "The Dragonet Prophecy", | |||
"type": "string" | |||
} | } | ||
}, | }, | ||
Line 56: | Line 97: | ||
"image", | "image", | ||
"alt", | "alt", | ||
"caption", | |||
"image_size", | |||
"published", | "published", | ||
" | "pages", | ||
"cover_artist", | |||
"isbn", | |||
"preceded_by", | |||
"followed_by" | |||
], | ], | ||
"format": "block" | "format": "block" |
Latest revision as of 16:45, 17 December 2024
An infobox that describes a book
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name | The name of the book without "Wings of Fire"
| String | required |
Image | image | An image of the book's front cover.
| File | suggested |
Image alt text | alt | The alternate text for the image if the image cannot load and for screen readers. | Content | suggested |
Image caption | caption | The caption for the image | Content | optional |
Image size | image_size | Size of the image.
| String | optional |
Published | published | The date of publication, if published. | Date | suggested |
Page count | pages | The number of pages in this book.
| Number | optional |
Cover artist | cover_artist | Artist who drew cover art for this book.
| String | optional |
ISBN | isbn | ISBN identifier for this book.
| String | suggested |
Preceded by | preceded_by | The book that precedes this book, if any.
| String | optional |
Followed by | followed_by | The book that precedes this book, if any.
| String | optional |