Menü aufrufen
Persönliches Menü aufrufen
Nicht angemeldet
Ihre IP-Adresse wird öffentlich sichtbar sein, wenn Sie Änderungen vornehmen.

Vorlage:Library infobox work: Unterschied zwischen den Versionen

Aus ProleWiki
K (1 Version importiert: Importieren von Vorlagen aus dem englischen ProleWiki)
KKeine Bearbeitungszusammenfassung
 
(6 dazwischenliegende Versionen derselben Benutzerin werden nicht angezeigt)
Zeile 1: Zeile 1:
<includeonly>{{#SEO:
|image={{{image|}}}
|title= {{{title|}}}{{#if: {{{author|}}}|,&nbsp;{{{author|}}}|}} {{#if: {{{published_date|}}}|,&nbsp;{{{published_date|}}}|}} - ProleWiki
}}
{{DISPLAYTITLE:''{{{title|}}}''{{#if: {{{author|}}}|&nbsp;({{{author|}}})|}} }}</includeonly>
<span style="display:none;">{{{summary|}}}</span>
{{Infobox
{{Infobox
| bodyclass = vcard
| bodyclass = vcard
Zeile 17: Zeile 23:
| datastyle = line-height:1.3em;
| datastyle = line-height:1.3em;


| label1  = Written by
| label1  = Autor*in
|  data1  = {{#ifexist:{{{written by|}}}|[[{{{written by}}}]]|{{{written by}}}}}
|  data1  = {{#ifexist:{{{author|}}}|[[{{{author}}}]]|{{{author|}}}}}


| label2  = Written in
| label2  = Verfasst&nbsp;in
|  data2  = {{{written in|}}}
|  data2  = {{{written in|}}}


| label3  = First published
| label3  = Spoken&nbsp;on
|  data3  = {{{published|}}}
|  data3  = {{{spoken on|}}}
 
| label4  = Übersetzt&nbsp;von
|  data4  = {{{translated by|}}} {{#if:{{{original language|}}}|from {{{original language|}}}}}
 
| label6  = Verlag
|  data6  = {{{publisher|}}}
 
| label7  = Veröffentlicht
|  data7  = {{Br separated entries|{{{published_date|}}}|{{{published_location|}}}|{{{published_source|}}}}}
 
| label8  = Edition
|  data8  = {{{edition|}}}
 
| label9  = Typus
|  data9  = {{{type|}}}
 
| label10  = ISBN
|  data10  = {{{isbn|}}}


| label4 = Type
| label11 = Quelle
data4 = {{{type|}}}
data11 = {{Br separated entries|{{{source|}}}|{{{source2|}}}|{{{source3|}}}|{{{source4|}}}}}


| label5 = ISBN
| label12 = PDF
data5 = {{{isbn|}}}
data12 = {{{pdf|}}}


| label6 = Source
| label13 = Libgen
data6 = {{{source|}}}
data13 = {{{libgen|}}}


| label7 = Audiobook
| label14 = Hörbuch
| data7 = {{{audiobook|}}}
| data14 = {{{audiobook|}}}
}}{{#ifeq:{{{display_title|}}}|yes|{{DISPLAYTITLE:{{#if:{{{title|}}}|''{{{title}}}''|''{{PAGENAME}}''}}{{#if:{{{written by|}}}|, by {{{written by|}}}}}}}}}
 
}}{{#ifexist:Kategorie:Bibliothekswerke von {{{author|}}}|[[Kategorie:Bibliothekswerke von {{{author}}}]]}}{{#if:{{{defaultsort|}}}|{{DEFAULTSORT:{{{defaultsort}}}}}|{{DEFAULTSORT:{{{title|}}}}}}}
<noinclude>
<noinclude>
How to use this template:
Wie man diese Vorlage benutzt:
  <nowiki>
  <nowiki>
{{Library infobox work
{{Library infobox work
Zeile 49: Zeile 74:
| image_alt =
| image_alt =
| caption =
| caption =
| written by =
| author =
| written in =
| written in =
| published =  
| spoken on =
| published_date =
| published_location =
| published_source =
| publisher =
| edition =
| type =
| type =
| source =  
| source =
| source2 =
| source3 =
| source4 =
| pdf =
| libgen =
| audiobook =  
| audiobook =  
| display_title =
| defaultsort =
}}
}}
</nowiki>
</nowiki>
Add "yes" to parameter "display_title" to produce a page title in the format: ''Title of work'', by Author
<templatedata>
<templatedata>
{
{
"params": {
"params": {
"title": {
"title": {
"label": "Title",
"label": "Titel",
"description": "Title of the work",
"description": "Title of the work",
"type": "string",
"type": "string",
"suggested": true
"required": true
},
"author": {
"label": "Autor*in",
"description": "Author of the source work. No need to add link brackets [[ ]], the infobox checks for it.",
"type": "string",
"required": true
},
},
"_subheader": {},
"image": {
"image": {
"label": "Image",
"label": "Bild",
"description": "Book cover",
"description": "Book cover",
"type": "wiki-file-name",
"type": "wiki-file-name",
Zeile 79: Zeile 118:
"image_size": {},
"image_size": {},
"caption": {
"caption": {
"label": "Caption",
"label": "Untertitel",
"description": "Caption of the image, usually for information about the edition of the cover",
"description": "Caption of the image, usually for information about the edition of the cover",
"type": "string"
"type": "string"
},
"written by": {
"label": "Written by",
"description": "Author of the source work",
"type": "string",
"suggested": true
},
},
"written in": {
"written in": {
"label": "Written in",
"label": "Verfasst in",
"description": "Date or period the work was written",
"description": "Date or period the work was written",
"type": "date",
"suggested": true
},
"published": {
"label": "First published",
"description": "Date the book was first published",
"type": "date",
"type": "date",
"suggested": true
"suggested": true
},
},
"type": {
"type": {
"label": "Type",
"label": "Genre",
"description": "Type of work",
"description": "Type of work",
"example": "Book, pamphlet, leaflet, speech, video",
"example": "Book, pamphlet, leaflet, speech, video",
Zeile 109: Zeile 136:
},
},
"source": {
"source": {
"label": "Source",
"label": "Quelle",
"description": "URL of the work",
"description": "Where the text was found (book, collection, etc.)",
"type": "string",
"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
},
},
"audiobook": {
"audiobook": {
"label": "Audiobook",
"label": "Hörbuch",
"description": "URL of an audiobook reading of the work",
"description": "URL of an audiobook reading of the work",
"type": "url",
"type": "url",
"suggested": true
},
"display_title": {
"label": "Full display title",
"description": "Adds title in style \"Work (in italics), by Author\"",
"example": "Write \"yes\" to activate the title styling",
"type": "string",
"autovalue": "",
"suggested": true
"suggested": true
},
},
Zeile 133: Zeile 164:
"type": "number",
"type": "number",
"suggested": true
"suggested": true
},
"publisher": {
"label": "Verlag",
"description": "Who published this edition",
"type": "string",
"suggested": true
},
"published_date": {
"label": "Veröffentlichkeitsdatum",
"description": "Date the book was first published",
"type": "date",
"suggested": true
},
"published_location": {
"label": "Ort",
"description": "Location the work was first published",
"type": "string",
"suggested": true
},
"edition_date": {
"label": "Edition",
"description": "When was this edition printed",
"type": "string",
"suggested": true
},
"spoken on": {
"label": "Spoken on",
"description": "For speeches, the date it was spoken on",
"type": "string",
"suggested": true
},
"translated by": {
"label": "Übersetzt von",
"description": "The translator(s) who translated this work",
"type": "string"
},
"original language": {
"label": "Originalsprache",
"description": "The language this work was translated from",
"type": "string"
},
"summary": {
"label": "Zusammenfassung",
"description": "Adds a summary, which is used by external templates",
"type": "string"
},
"published_source": {
"label": "First published source",
"description": "The document, book, newspaper where it was first published",
"type": "string",
"suggested": true
},
"defaultsort": {
"label": "Default sort",
"description": "Adding main sorting term for categories"
},
"edition": {
"label": "Edition"
},
"source2": {
"label": "Zweite Quelle",
"description": "In case the work has multiple sources"
},
"source3": {
"label": "Dritte Quelle",
"description": "In case the work has multiple sources"
},
"source4": {
"label": "Vierte Quelle",
"description": "In case the work has multiple sources"
}
}
},
},
Zeile 140: Zeile 241:
"image",
"image",
"caption",
"caption",
"written by",
"author",
"written in",
"written in",
"published",
"spoken on",
"translated by",
"original language",
"publisher",
"published_date",
"published_source",
"published_location",
"edition_date",
"type",
"type",
"isbn",
"isbn",
"source",
"source",
"source2",
"source3",
"source4",
"edition",
"pdf",
"libgen",
"audiobook",
"audiobook",
"display_title",
"summary",
"_subheader",
"defaultsort",
"image_upright",
"image_upright",
"image_alt",
"image_alt",
Zeile 154: Zeile 268:
]
]
}
}
</templatedata></noinclude>
</templatedata>
</noinclude>

Aktuelle Version vom 19. Februar 2025, 12:18 Uhr

Library infobox work

Wie man diese Vorlage benutzt:

{{Library infobox work
| title = 
| subtitle = 
| image =
| image_size =
| image_upright =
| image_alt =
| caption =
| author =
| written in =
| spoken on =
| published_date = 
| published_location = 
| published_source =
| publisher =
| edition =
| type =
| source =
| source2 =
| source3 =
| source4 =
| pdf =
| libgen =
| audiobook = 
| defaultsort =
}}

Adds a small infobox with information for Library works

Vorlagenparameter[Vorlagendaten bearbeiten]

ParameterBeschreibungTypStatus
Titeltitle

Title of the work

Zeichenfolgeerforderlich
Bildimage

Book cover

Dateivorgeschlagen
Untertitelcaption

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

Zeichenfolgeoptional
Autor*inauthor

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

Zeichenfolgeerforderlich
Verfasst inwritten in

Date or period the work was written

Datumvorgeschlagen
Spoken onspoken on

For speeches, the date it was spoken on

Zeichenfolgevorgeschlagen
Übersetzt vontranslated by

The translator(s) who translated this work

Zeichenfolgeoptional
Originalspracheoriginal language

The language this work was translated from

Zeichenfolgeoptional
Verlagpublisher

Who published this edition

Zeichenfolgevorgeschlagen
Veröffentlichkeitsdatumpublished_date

Date the book was first published

Datumvorgeschlagen
First published sourcepublished_source

The document, book, newspaper where it was first published

Zeichenfolgevorgeschlagen
Ortpublished_location

Location the work was first published

Zeichenfolgevorgeschlagen
Editionedition_date

When was this edition printed

Zeichenfolgevorgeschlagen
Genretype

Type of work

Beispiel
Book, pamphlet, leaflet, speech, video
Zeichenfolgevorgeschlagen
ISBNisbn

ISBN number of the work

Nummervorgeschlagen
Quellesource

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

Zeichenfolgevorgeschlagen
Zweite Quellesource2

In case the work has multiple sources

Unbekanntoptional
Dritte Quellesource3

In case the work has multiple sources

Unbekanntoptional
Vierte Quellesource4

In case the work has multiple sources

Unbekanntoptional
Editionedition

keine Beschreibung

Unbekanntoptional
PDFpdf

URL of a PDF of the work

URLvorgeschlagen
Libgenlibgen

Link to the work on Libgen

URLvorgeschlagen
Hörbuchaudiobook

URL of an audiobook reading of the work

URLvorgeschlagen
Zusammenfassungsummary

Adds a summary, which is used by external templates

Zeichenfolgeoptional
Default sortdefaultsort

Adding main sorting term for categories

Unbekanntoptional
image_uprightimage_upright

keine Beschreibung

Unbekanntoptional
image_altimage_alt

keine Beschreibung

Unbekanntoptional
image_sizeimage_size

keine Beschreibung

Unbekanntoptional