More languages
More actions
(Infobox for literary works) |
m (Created infobox) |
||
Line 17: | Line 17: | ||
| datastyle = line-height:1.3em; | | datastyle = line-height:1.3em; | ||
| label1 = | | label1 = Type | ||
| data1 = {{{ | | data1 = {{{type|}}} | ||
| label2 = Written | | label2 = Written by | ||
| data2 = {{{written | | data2 = {{{written by|}}} | ||
| label3 = | | label3 = Written in | ||
| data3 = {{{ | | data3 = {{{written in|}}} | ||
| label4 = | | label4 = First published | ||
| data4 = {{{ | | data4 = {{{published|}}} | ||
| label5 = Original language | |||
| data5 = {{{original_language|}}} | |||
| label6 = Original title | |||
| data6 = {{{original_title|}}} | |||
}} | }} | ||
<noinclude> | <noinclude> | ||
Line 42: | Line 48: | ||
| written in = | | written in = | ||
| published = | | published = | ||
| original_language = | |||
| original_title = | |||
| type = | | type = | ||
}} | }} | ||
Line 90: | Line 98: | ||
"description": "Type of work", | "description": "Type of work", | ||
"example": "Book, pamphlet, leaflet, speech, video", | "example": "Book, pamphlet, leaflet, speech, video", | ||
"type": "string", | |||
"suggested": true | |||
}, | |||
"subtitle": {}, | |||
"original_language": { | |||
"label": "Original language", | |||
"description": "If not an English work, the language it was originally written ", | |||
"example": "Russian", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"original_title": { | |||
"label": "Original title", | |||
"description": "Title in original language", | |||
"type": "string", | "type": "string", | ||
"suggested": true | "suggested": true | ||
Line 96: | Line 118: | ||
"description": "Adds a small infobox with information for Library works", | "description": "Adds a small infobox with information for Library works", | ||
"paramOrder": [ | "paramOrder": [ | ||
"type", | |||
"title", | "title", | ||
"image", | "image", | ||
Line 102: | Line 125: | ||
"written in", | "written in", | ||
"published", | "published", | ||
" | "original_language", | ||
"original_title", | |||
"_subheader", | "_subheader", | ||
"image_upright", | "image_upright", | ||
"image_alt", | "image_alt", | ||
"image_size" | "image_size", | ||
"subtitle" | |||
] | ] | ||
} | } | ||
</templatedata></noinclude> | </templatedata></noinclude> |
Revision as of 19:28, 14 June 2022
Infobox work |
---|
How to use this template:
{{Library infobox work | image = | image_size = | image_upright = | image_alt = | caption = | title = | written by = | written in = | published = | original_language = | original_title = | type = }}
Adds a small infobox with information for Library works
Parameter | Description | Type | Status | |
---|---|---|---|---|
Type | type | Type of work
| String | suggested |
Title | title | Title of the work | 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 |
Original language | original_language | If not an English work, the language it was originally written
| String | suggested |
Original title | original_title | Title in original language | String | 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 |
subtitle | subtitle | no description | Unknown | optional |