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
m (Removing extra line break which was affecting pages)
(Added optional translation information)
Line 81: Line 81:
},
},
"_subheader": {},
"_subheader": {},
        "author": {
"author": {
"label": "Author",
"label": "Author",
"description": "Author of the source work. No need to add link brackets [[ ]], the infobox checks for it.",
"description": "Author of the source work. No need to add link brackets [[ ]], the infobox checks for it.",
"type": "string",
"type": "string",
"required": true
"required": true
        },
},
"image": {
"image": {
"label": "Image",
"label": "Image",
Line 132: Line 132:
"suggested": true
"suggested": true
},
},
        "publisher": {
"publisher": {
            "label": "Publishing house",
"label": "Publishing house",
            "description": "Who published this edition",
"description": "Who published this edition",
            "type": "string",
"type": "string",
            "suggested": true
"suggested": true
        },
},
"published_date": {
"published_date": {
"label": "First published",
"label": "First published",
Line 150: Line 150:
"suggested": true
"suggested": true
},
},
        "edition_date": {
"edition_date": {
            "label": "Edition",
"label": "Edition",
            "description": "When was this edition printed",
"description": "When was this edition printed",
            "type": "string",
"type": "string",
            "suggested": true
"suggested": true
        },
},
        "spoken on": {
"spoken on": {
            "label": "Spoken on",
"label": "Spoken on",
            "description": "For speeches, the date it was spoken on",
"description": "For speeches, the date it was spoken on",
            "type": "string",
"type": "string",
            "suggested": true
"suggested": true
        }
},
"translated by": {
"label": "Translated By",
"description": "The translator(s) who translated this work",
"type": "string"
},
"original language": {
"label": "Original Language",
"description": "The language this work was translated from",
"type": "string"
}
},
},
"description": "Adds a small infobox with information for Library works",
"description": "Adds a small infobox with information for Library works",
Line 170: Line 180:
"author",
"author",
"written in",
"written in",
        "spoken on",
"spoken on",
        "publisher",
"translated by",
"original language",
"publisher",
"published_date",
"published_date",
"published_location",
"published_location",
        "edition_date",
"edition_date",
"type",
"type",
"isbn",
"isbn",

Revision as of 13:23, 5 April 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 = 
| 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
Location publishedpublished_location

Location the work was 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

URL of the work

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