More actions
No edit summary |
Format image in template for easier use |
||
Line 1: | Line 1: | ||
{{Infobox | {{Infobox | ||
| title = {{{name|{{PAGENAME}}}}} | | title = {{{name|{{PAGENAME}}}}} | ||
| image = {{{image|}}} | | image = {{#if: {{{image|}}} | [[{{{image}}}|250px|alt={{{image}}}]] }} | ||
| caption = {{{caption|}}} | | caption = {{{caption|}}} | ||
| label1 = Published | | label1 = Published | ||
Line 33: | Line 33: | ||
"description": "The caption for the image", | "description": "The caption for the image", | ||
"type": "content" | "type": "content" | ||
}, | |||
"alt": { | |||
"label": "Image Alt Text", | |||
"description": "The alternate text for the image if the image cannot load and for screen readers.", | |||
"type": "string", | |||
"suggested": true | |||
} | } | ||
}, | }, | ||
Line 39: | Line 45: | ||
"name", | "name", | ||
"image", | "image", | ||
"alt", | |||
"published", | "published", | ||
"caption" | "caption" |
Revision as of 20:48, 16 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. | String | suggested |
Published | published | The date of publication if published. | Date | suggested |
Image caption | caption | The caption for the image | Content | optional |