More languages
More actions
m (Updated model) |
m (Added library link option) |
||
(One intermediate revision by the same user not shown) | |||
Line 34: | Line 34: | ||
| label6 = Original title | | label6 = Original title | ||
| data6 = {{{original_title|}}} | | data6 = {{{original_title|}}} | ||
| header7 = | |||
| data7 = {{#if:{{{library_link|}}}|[[{{{library_link}}}|'''Available in library''' 📕]]}} | |||
}} | }} | ||
<noinclude> | <noinclude> | ||
Line 51: | Line 55: | ||
| original_language = | | original_language = | ||
| original_title = | | original_title = | ||
| library_link = | |||
}} | }} | ||
</nowiki> | </nowiki> | ||
Line 113: | Line 118: | ||
"description": "Title in original language", | "description": "Title in original language", | ||
"type": "string", | "type": "string", | ||
"suggested": true | |||
}, | |||
"library_link": { | |||
"label": "Library link", | |||
"description": "If the work is available in library, link its page", | |||
"example": "Library:Capital, vol. I", | |||
"type": "wiki-page-name", | |||
"suggested": true | "suggested": true | ||
} | } | ||
Line 127: | Line 139: | ||
"original_language", | "original_language", | ||
"original_title", | "original_title", | ||
"library_link", | |||
"_subheader", | "_subheader", | ||
"image_upright", | "image_upright", |
Latest revision as of 00:50, 16 June 2022
Infobox work |
---|
How to use this template:
{{Library infobox work | title = | image = | image_size = | image_upright = | image_alt = | type = | caption = | written by = | written in = | published = | original_language = | original_title = | library_link = }}
Adds a small infobox with information for Library works
Parameter | Description | Type | Status | |
---|---|---|---|---|
Title | title | Title of the work | String | suggested |
Type | type | Type of 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 |
Library link | library_link | If the work is available in library, link its page
| Page name | 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 |