More languages
More actions
m (Added new Audiobook label to model) |
m (Added template data) |
||
Line 55: | Line 55: | ||
}} | }} | ||
</nowiki> | </nowiki> | ||
</noinclude> | <templatedata> | ||
{ | |||
"params": { | |||
"title": { | |||
"label": "Title", | |||
"description": "Title of the work", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"native_name": { | |||
"label": "Native title", | |||
"description": "Title in native language", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"native_name_lang": { | |||
"label": "Native name language", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"_subheader": {}, | |||
"image": { | |||
"label": "Image", | |||
"description": "Book cover", | |||
"type": "wiki-file-name", | |||
"suggested": true | |||
}, | |||
"image_upright": {}, | |||
"image_alt": {}, | |||
"image_size": {}, | |||
"caption": { | |||
"label": "Caption", | |||
"description": "Caption of the image, usually for information about the edition of the cover", | |||
"type": "string" | |||
}, | |||
"written by": { | |||
"label": "Written by", | |||
"description": "Author of the source work", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"written in": { | |||
"label": "Written in", | |||
"description": "Date or period the work was written", | |||
"type": "date" | |||
}, | |||
"published": { | |||
"label": "First published", | |||
"description": "Date the book was first published", | |||
"type": "date", | |||
"suggested": true | |||
}, | |||
"type": { | |||
"label": "Type", | |||
"description": "Type of work", | |||
"example": "Book, pamphlet, leaflet, speech, video", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"source": { | |||
"label": "Source", | |||
"description": "URL of the work", | |||
"type": "url", | |||
"suggested": true | |||
}, | |||
"audiobook": { | |||
"label": "Audiobook", | |||
"description": "URL of an audiobook reading of the work", | |||
"type": "url", | |||
"suggested": true | |||
} | |||
}, | |||
"description": "Adds a small infobox with information for Library works", | |||
"paramOrder": [ | |||
"title", | |||
"native_name", | |||
"native_name_lang", | |||
"image", | |||
"caption", | |||
"written by", | |||
"written in", | |||
"published", | |||
"type", | |||
"source", | |||
"audiobook", | |||
"_subheader", | |||
"image_upright", | |||
"image_alt", | |||
"image_size" | |||
] | |||
} | |||
</templatedata></noinclude> |
Revision as of 18:02, 7 January 2022
Library infobox work |
---|
How to use this template:
{{Library work | image = | image_size = | image_upright = | image_alt = | caption = | title = | written by = | written in = | published = | type = | source = | audiobook = }}
Adds a small infobox with information for Library works
Parameter | Description | Type | Status | |
---|---|---|---|---|
Title | title | Title of the work | String | suggested |
Native title | native_name | Title in native language | String | suggested |
Native name language | native_name_lang | no description | String | suggested |
Image | image | Book cover | File | suggested |
Caption | caption | Caption of the image, usually for information about the edition of the cover | String | optional |
Written by | written by | Author of the source work | String | suggested |
Written in | written in | Date or period the work was written | Date | optional |
First published | published | Date the book was first published | Date | suggested |
Type | type | Type of work
| String | 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 |