More languages
More actions
(Adding automatic category check and adding) |
(Libgen and PDF) |
||
Line 52: | Line 52: | ||
| data11 = {{{source|}}} | | data11 = {{{source|}}} | ||
| label12 = Audiobook | | label12 = PDF | ||
| | | data12 = {{{pdf|}}} | ||
| label13 = Libgen | |||
| data13 = {{{libgen|}}} | |||
| label14 = Audiobook | |||
| data14 = {{{audiobook|}}} | |||
}}{{#ifexist:Category:Library works by {{{author|}}}|[[Category:Library works by {{{author}}}]]}}<noinclude> | }}{{#ifexist:Category:Library works by {{{author|}}}|[[Category:Library works by {{{author}}}]]}}<noinclude> | ||
How to use this template: | How to use this template: | ||
Line 74: | Line 80: | ||
| type = | | type = | ||
| source = | | source = | ||
| pdf = | |||
| libgen = | |||
| audiobook = | | audiobook = | ||
}} | }} | ||
Line 122: | Line 130: | ||
"source": { | "source": { | ||
"label": "Source", | "label": "Source", | ||
"description": "URL of the work", | "description": "URL of the work (non-PDF)", | ||
"type": "url", | |||
"suggested": true | |||
}, | |||
"pdf": { | |||
"label": "PDF", | |||
"description": "URL of a PDF of the work", | |||
"type": "url", | |||
"suggested": true | |||
}, | |||
"libgen": { | |||
"label": "Libgen", | |||
"description": "Link to the work on Libgen", | |||
"type": "url", | "type": "url", | ||
"suggested": true | "suggested": true | ||
Line 201: | Line 221: | ||
"isbn", | "isbn", | ||
"source", | "source", | ||
"pdf", | |||
"libgen", | |||
"audiobook", | "audiobook", | ||
"_subheader", | "_subheader", |
Revision as of 20:02, 17 June 2024
Library work |
---|
How to use this template:
{{Library 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 = | pdf = | libgen = | 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. No need to add link brackets [[ ]], the infobox checks for it. | 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 |
Translated By | translated by | The translator(s) who translated this work | String | optional |
Original Language | original language | The language this work was translated from | String | optional |
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 (non-PDF) | URL | suggested |
pdf | URL of a PDF of the work | URL | suggested | |
Libgen | libgen | Link to the work on Libgen | 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 |
Summary | summary | Adds a summary, which is used by external templates | String | optional |