More languages
More actions
No edit summary |
(made it so it always displays the title in a proper format. Made title and author parameter required) |
||
Line 1: | Line 1: | ||
{{DISPLAYTITLE: | {{DISPLAYTITLE: ''{{{title}}}'', by {{{author}}} }} | ||
{{Infobox | {{Infobox | ||
Line 48: | Line 48: | ||
| label0 = Audiobook | | label0 = Audiobook | ||
| data10 = {{{audiobook|}}} | | data10 = {{{audiobook|}}} | ||
}} | |||
<noinclude> | <noinclude> | ||
Line 79: | Line 80: | ||
"description": "Title of the work", | "description": "Title of the work", | ||
"type": "string", | "type": "string", | ||
" | "required": true | ||
}, | }, | ||
"_subheader": {}, | "_subheader": {}, | ||
Line 131: | Line 132: | ||
"description": "Author of the source work", | "description": "Author of the source work", | ||
"type": "string", | "type": "string", | ||
" | "required": true | ||
}, | }, | ||
"publisher": { | "publisher": { |
Revision as of 00:56, 28 September 2023
Library infobox work |
---|
How to use this template:
{{Library infobox work | title = | subtitle = | image = | image_size = | image_upright = | image_alt = | caption = | author = | written in = | spoken on = | published_date = | published_location = | publisher = | edition_date = | type = | source = | audiobook = }}
Adds a small infobox with information for Library works
Parameter | Description | Type | Status | |
---|---|---|---|---|
Title | title | Title of the work | String | required |
Image | image | Book cover | File | suggested |
Caption | caption | Caption of the image, usually for information about the edition of the cover | String | optional |
Author | author | Author of the source work | String | required |
Written in | written in | Date or period the work was written | Date | suggested |
Spoken on | spoken on | For speeches, the date it was spoken on | String | suggested |
Publishing house | publisher | Who published this edition | String | suggested |
First published | published_date | Date the book was first published | Date | suggested |
Location published | published_location | Location the work was published | String | suggested |
Edition | edition_date | When was this edition printed | String | suggested |
Type | type | Type of work
| String | suggested |
ISBN | isbn | ISBN number of the work | Number | suggested |
Source | source | URL of the work | URL | suggested |
Audiobook | audiobook | URL of an audiobook reading of the work | URL | suggested |
_subheader | _subheader | no description | Unknown | optional |
image_upright | image_upright | no description | Unknown | optional |
image_alt | image_alt | no description | Unknown | optional |
image_size | image_size | no description | Unknown | optional |