More languages
More actions
m (Awful nasty nested ifs to make source and source_url work) |
m (Made changes to template) |
||
Line 38: | Line 38: | ||
| label7 = First published | | label7 = First published | ||
| data7 = {{{published|}}}{{{published_date|}}}{{#if:{{{published_location|}}}|<br/>{{{published_location}}}}} | | data7 = {{{published|}}}{{{published_date|}}}{{#if:{{{published_source|}}}|<br/>{{{published_source}}}}}{{#if:{{{published_location|}}}|<br/>{{{published_location}}}}} | ||
| label8 = Edition | | label8 = Edition | ||
Line 75: | Line 75: | ||
| spoken on = | | spoken on = | ||
| published_date = | | published_date = | ||
| published_location = | | published_source = | ||
| published_location = | |||
| publisher = | | publisher = | ||
| edition_date = | | edition_date = | ||
Line 131: | Line 132: | ||
"source": { | "source": { | ||
"label": "Source", | "label": "Source", | ||
"description": " | "description": "Where the text was found (book, collection, etc.)", | ||
"type": " | "type": "string", | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
"pdf": { | |||
"label": "PDF", | "label": "PDF", | ||
"description": "URL of a PDF of the work", | "description": "URL of a PDF of the work", | ||
Line 141: | Line 142: | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
"libgen": { | |||
"label": "Libgen", | "label": "Libgen", | ||
"description": "Link to the work on Libgen", | "description": "Link to the work on Libgen", | ||
Line 172: | Line 173: | ||
}, | }, | ||
"published_location": { | "published_location": { | ||
"label": " | "label": "First published location", | ||
"description": "Location the work was published", | "description": "Location the work was first published", | ||
"type": "string", | "type": "string", | ||
"suggested": true | "suggested": true | ||
Line 202: | Line 203: | ||
"label": "Summary", | "label": "Summary", | ||
"description": "Adds a summary, which is used by external templates", | "description": "Adds a summary, which is used by external templates", | ||
"type": "string" | |||
}, | |||
"published": {}, | |||
"Source URL": { | |||
"label": "Source URL", | |||
"description": "URL where the text can be accessed (not PDF)", | |||
"type": "url" | |||
}, | |||
"published_source": { | |||
"label": "First published source", | |||
"description": "The document, book, newspaper where it was first published", | |||
"type": "string" | "type": "string" | ||
} | } | ||
Line 217: | Line 229: | ||
"publisher", | "publisher", | ||
"published_date", | "published_date", | ||
"published_source", | |||
"published_location", | "published_location", | ||
"edition_date", | "edition_date", | ||
Line 222: | Line 235: | ||
"isbn", | "isbn", | ||
"source", | "source", | ||
"Source URL", | |||
"pdf", | |||
"libgen", | |||
"audiobook", | "audiobook", | ||
"_subheader", | "_subheader", | ||
Line 229: | Line 243: | ||
"image_alt", | "image_alt", | ||
"image_size", | "image_size", | ||
"summary" | "summary", | ||
"published" | |||
] | ] | ||
} | } | ||
</templatedata></noinclude> | </templatedata></noinclude> |
Revision as of 20:17, 27 September 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_source = | published_location = | publisher = | edition_date = | type = | source = | source_url = | 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 |
First published source | published_source | The document, book, newspaper where it was first published | String | optional |
First published location | published_location | Location the work was first 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 | Where the text was found (book, collection, etc.) | String | suggested |
Source URL | Source URL | URL where the text can be accessed (not PDF) | URL | optional |
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 |
published | published | no description | Unknown | optional |