Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Library work: Difference between revisions

Template page
(Libgen and PDF)
m (Made changes to template)
 
(One intermediate revision by the same user not shown)
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 50: Line 50:


| label11  = Source
| label11  = Source
|  data11  = {{{source|}}}
|  data11  = {{#if:{{{source|}}}|{{{source|}}}{{#if:{{{source_url|}}}|<br/>{{{source_url}}}}}|{{#if:{{{source_url|}}}|{{{source_url}}}}}}}


| label12  = PDF
| label12  = PDF
Line 75: Line 75:
| spoken on =
| spoken on =
| published_date =  
| published_date =  
| published_location =
| published_source =
| published_location =  
| publisher =
| publisher =
| edition_date =
| edition_date =
| type =
| type =
| source =  
| source =
| source_url =  
| pdf =
| pdf =
| libgen =
| libgen =
Line 130: Line 132:
"source": {
"source": {
"label": "Source",
"label": "Source",
"description": "URL of the work (non-PDF)",
"description": "Where the text was found (book, collection, etc.)",
"type": "url",
"type": "string",
"suggested": true
"suggested": true
},
},
        "pdf": {
"pdf": {
"label": "PDF",
"label": "PDF",
"description": "URL of a PDF of the work",
"description": "URL of a PDF of the work",
Line 140: Line 142:
"suggested": true
"suggested": true
},
},
        "libgen": {
"libgen": {
"label": "Libgen",
"label": "Libgen",
"description": "Link to the work on Libgen",
"description": "Link to the work on Libgen",
Line 171: Line 173:
},
},
"published_location": {
"published_location": {
"label": "Location published",
"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 201: 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 216: Line 229:
"publisher",
"publisher",
"published_date",
"published_date",
"published_source",
"published_location",
"published_location",
"edition_date",
"edition_date",
Line 221: Line 235:
"isbn",
"isbn",
"source",
"source",
        "pdf",
"Source URL",
        "libgen",
"pdf",
"libgen",
"audiobook",
"audiobook",
"_subheader",
"_subheader",
Line 228: Line 243:
"image_alt",
"image_alt",
"image_size",
"image_size",
"summary"
"summary",
"published"
]
]
}
}
</templatedata></noinclude>
</templatedata></noinclude>

Latest 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

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Titletitle

Title of the work

Stringrequired
Imageimage

Book cover

Filesuggested
Captioncaption

Caption of the image, usually for information about the edition of the cover

Stringoptional
Authorauthor

Author of the source work. No need to add link brackets [[ ]], the infobox checks for it.

Stringrequired
Written inwritten in

Date or period the work was written

Datesuggested
Spoken onspoken on

For speeches, the date it was spoken on

Stringsuggested
Translated Bytranslated by

The translator(s) who translated this work

Stringoptional
Original Languageoriginal language

The language this work was translated from

Stringoptional
Publishing housepublisher

Who published this edition

Stringsuggested
First publishedpublished_date

Date the book was first published

Datesuggested
First published sourcepublished_source

The document, book, newspaper where it was first published

Stringoptional
First published locationpublished_location

Location the work was first published

Stringsuggested
Editionedition_date

When was this edition printed

Stringsuggested
Typetype

Type of work

Example
Book, pamphlet, leaflet, speech, video
Stringsuggested
ISBNisbn

ISBN number of the work

Numbersuggested
Sourcesource

Where the text was found (book, collection, etc.)

Stringsuggested
Source URLSource URL

URL where the text can be accessed (not PDF)

URLoptional
PDFpdf

URL of a PDF of the work

URLsuggested
Libgenlibgen

Link to the work on Libgen

URLsuggested
Audiobookaudiobook

URL of an audiobook reading of the work

URLsuggested
_subheader_subheader

no description

Unknownoptional
image_uprightimage_upright

no description

Unknownoptional
image_altimage_alt

no description

Unknownoptional
image_sizeimage_size

no description

Unknownoptional
Summarysummary

Adds a summary, which is used by external templates

Stringoptional
publishedpublished

no description

Unknownoptional