Template:Library work: Difference between revisions

Template page
m (Removing line break which was affecting Library pages)
m (Fixing audiobook label)
 
(5 intermediate revisions by 2 users not shown)
Line 28: Line 28:
|  data3  = {{{spoken on|}}}
|  data3  = {{{spoken on|}}}


| label4  = Publisher
| label4  = Translated by
|  data4  = {{{publisher|}}}
|  data4  = {{#ifexist:{{{translated by|}}}|[[{{{translated by}}}]]|{{{translated by|}}}}}


| label5  = First published
| label5  = Original language
|  data5  = {{{published_date|}}}{{#if:{{{published_location|}}}|<br/>{{{published_location}}}}}
|  data5  = {{{original language|}}}


| label6  = Edition
| label6  = Publisher
|  data6  = {{{edition_date|}}}
|  data6  = {{{publisher|}}}


| label7  = Type
| label7  = First published
|  data7  = {{{type|}}}
|  data7  = {{{published|}}}{{{published_date|}}}{{#if:{{{published_location|}}}|<br/>{{{published_location}}}}}


| label8  = ISBN
| label8  = Edition
|  data8  = {{{isbn|}}}
|  data8  = {{{edition_date|}}}


| label9  = Source
| label9  = Type
|  data9  = {{{source|}}}
|  data9  = {{{type|}}}


| label0 = Audiobook
| label10  = ISBN
| data10 = {{{audiobook|}}}
| data10 = {{{isbn|}}}
}}
 
| label11  = Source
|  data11  = {{{source|}}}


<noinclude>
| label12 = Audiobook
| data12 = {{{audiobook|}}}
}}<noinclude>
How to use this template:
How to use this template:
  <nowiki>
  <nowiki>
Line 83: Line 87:
},
},
"_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 134: Line 138:
"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 152: Line 156:
"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 172: Line 186:
"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",

Latest revision as of 15:17, 15 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