Weitere Sprachen
Weitere Optionen
K 1 Version importiert: Importieren von Vorlagen aus dem englischen ProleWiki |
Jaiden (Diskussion | Beiträge) KKeine Bearbeitungszusammenfassung |
||
| Zeile 1: | Zeile 1: | ||
<includeonly>{{#SEO: | |||
|image={{{image|}}} | |||
|title= {{{title|}}}{{#if: {{{author|}}}|, {{{author|}}}|}} {{#if: {{{published_date|}}}|, {{{published_date|}}}|}} - ProleWiki | |||
}} | |||
{{DISPLAYTITLE:''{{{title|}}}''{{#if: {{{author|}}}| ({{{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 = | | label1 = Author | ||
| data1 = {{#ifexist:{{{ | | data1 = {{#ifexist:{{{author|}}}|[[{{{author}}}]]|{{{author|}}}}} | ||
| label2 = Written in | | label2 = Written in | ||
| data2 = {{{written in|}}} | | data2 = {{{written in|}}} | ||
| label3 = First published | | label3 = Spoken on | ||
| | | data3 = {{{spoken on|}}} | ||
| label4 = Translated by | |||
| data4 = {{{translated by|}}} {{#if:{{{original language|}}}|from {{{original language|}}}}} | |||
| label6 = Publisher | |||
| data6 = {{{publisher|}}} | |||
| label7 = First published | |||
| data7 = {{Br separated entries|{{{published_date|}}}|{{{published_location|}}}|{{{published_source|}}}}} | |||
| label8 = Edition | |||
| data8 = {{{edition|}}} | |||
| label9 = Type | |||
| data9 = {{{type|}}} | |||
| label10 = ISBN | |||
| data10 = {{{isbn|}}} | |||
| | | label11 = Source | ||
| | | data11 = {{Br separated entries|{{{source|}}}|{{{source2|}}}|{{{source3|}}}|{{{source4|}}}}} | ||
| | | label12 = PDF | ||
| | | data12 = {{{pdf|}}} | ||
| | | label13 = Libgen | ||
| | | data13 = {{{libgen|}}} | ||
| | | label14 = Audiobook | ||
| | | data14 = {{{audiobook|}}} | ||
}}{{# | |||
}}{{#ifexist:Category:Library works by {{{author|}}}|[[Category:Library works by {{{author}}}]]}}{{#if:{{{defaultsort|}}}|{{DEFAULTSORT:{{{defaultsort}}}}}|{{DEFAULTSORT:{{{title|}}}}}}} | |||
<noinclude> | <noinclude> | ||
How to use this template: | How to use this template: | ||
<nowiki> | <nowiki> | ||
{{Library | {{Library work | ||
| title = | | title = | ||
| subtitle = | | subtitle = | ||
| Zeile 49: | Zeile 74: | ||
| image_alt = | | image_alt = | ||
| caption = | | caption = | ||
| | | author = | ||
| written in = | | written in = | ||
| | | spoken on = | ||
| published_date = | |||
| published_location = | |||
| published_source = | |||
| publisher = | |||
| edition = | |||
| type = | | type = | ||
| source = | | source = | ||
| source2 = | |||
| source3 = | |||
| source4 = | |||
| pdf = | |||
| libgen = | |||
| audiobook = | | audiobook = | ||
| | | defaultsort = | ||
}} | }} | ||
</nowiki> | </nowiki> | ||
<templatedata> | <templatedata> | ||
{ | { | ||
| Zeile 66: | Zeile 100: | ||
"description": "Title of the work", | "description": "Title of the work", | ||
"type": "string", | "type": "string", | ||
" | "required": true | ||
}, | |||
"author": { | |||
"label": "Author", | |||
"description": "Author of the source work. No need to add link brackets [[ ]], the infobox checks for it.", | |||
"type": "string", | |||
"required": true | |||
}, | }, | ||
"image": { | "image": { | ||
"label": "Image", | "label": "Image", | ||
| Zeile 82: | Zeile 121: | ||
"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 in": { | "written in": { | ||
"label": "Written in", | "label": "Written in", | ||
"description": "Date or period the work was written", | "description": "Date or period the work was written", | ||
"type": "date", | "type": "date", | ||
"suggested": true | "suggested": true | ||
| Zeile 110: | Zeile 137: | ||
"source": { | "source": { | ||
"label": "Source", | "label": "Source", | ||
"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 | ||
| Zeile 118: | Zeile 157: | ||
"description": "URL of an audiobook reading of the work", | "description": "URL of an audiobook reading of the work", | ||
"type": "url", | "type": "url", | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
| Zeile 133: | Zeile 164: | ||
"type": "number", | "type": "number", | ||
"suggested": true | "suggested": true | ||
}, | |||
"publisher": { | |||
"label": "Publishing house", | |||
"description": "Who published this edition", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"published_date": { | |||
"label": "First published date", | |||
"description": "Date the book was first published", | |||
"type": "date", | |||
"suggested": true | |||
}, | |||
"published_location": { | |||
"label": "First published location", | |||
"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": "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" | |||
}, | |||
"summary": { | |||
"label": "Summary", | |||
"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": "Second source", | |||
"description": "In case the work has multiple sources" | |||
}, | |||
"source3": { | |||
"label": "Third source", | |||
"description": "In case the work has multiple sources" | |||
}, | |||
"source4": { | |||
"label": "Fourth source", | |||
"description": "In case the work has multiple sources" | |||
} | } | ||
}, | }, | ||
| Zeile 140: | Zeile 241: | ||
"image", | "image", | ||
"caption", | "caption", | ||
" | "author", | ||
"written in", | "written in", | ||
" | "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", | ||
" | "summary", | ||
" | "defaultsort", | ||
"image_upright", | "image_upright", | ||
"image_alt", | "image_alt", | ||
| Zeile 154: | Zeile 268: | ||
] | ] | ||
} | } | ||
</templatedata></noinclude> | </templatedata> | ||
</noinclude> | |||
Version vom 19. November 2024, 08:02 Uhr
Library infobox 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 =
| published_source =
| publisher =
| edition =
| type =
| source =
| source2 =
| source3 =
| source4 =
| pdf =
| libgen =
| audiobook =
| defaultsort =
}}
Adds a small infobox with information for Library works
| Parameter | Beschreibung | Typ | Status | |
|---|---|---|---|---|
| Title | title | Title of the work | Mehrzeiliger Text | erforderlich |
| Image | image | Book cover | Datei | vorgeschlagen |
| Caption | caption | Caption of the image, usually for information about the edition of the cover | Mehrzeiliger Text | optional |
| Author | author | Author of the source work. No need to add link brackets [[ ]], the infobox checks for it. | Mehrzeiliger Text | erforderlich |
| Written in | written in | Date or period the work was written | Datum | vorgeschlagen |
| Spoken on | spoken on | For speeches, the date it was spoken on | Mehrzeiliger Text | vorgeschlagen |
| Translated By | translated by | The translator(s) who translated this work | Mehrzeiliger Text | optional |
| Original Language | original language | The language this work was translated from | Mehrzeiliger Text | optional |
| Publishing house | publisher | Who published this edition | Mehrzeiliger Text | vorgeschlagen |
| First published date | published_date | Date the book was first published | Datum | vorgeschlagen |
| First published source | published_source | The document, book, newspaper where it was first published | Mehrzeiliger Text | vorgeschlagen |
| First published location | published_location | Location the work was first published | Mehrzeiliger Text | vorgeschlagen |
| Edition | edition_date | When was this edition printed | Mehrzeiliger Text | vorgeschlagen |
| Type | type | Type of work
| Mehrzeiliger Text | vorgeschlagen |
| ISBN | isbn | ISBN number of the work | Zahlenwert | vorgeschlagen |
| Source | source | Where the text was found (book, collection, etc.) | Mehrzeiliger Text | vorgeschlagen |
| Second source | source2 | In case the work has multiple sources | Unbekannt | optional |
| Third source | source3 | In case the work has multiple sources | Unbekannt | optional |
| Fourth source | source4 | In case the work has multiple sources | Unbekannt | optional |
| Edition | edition | keine Beschreibung | Unbekannt | optional |
pdf | URL of a PDF of the work | URL | vorgeschlagen | |
| Libgen | libgen | Link to the work on Libgen | URL | vorgeschlagen |
| Audiobook | audiobook | URL of an audiobook reading of the work | URL | vorgeschlagen |
| Summary | summary | Adds a summary, which is used by external templates | Mehrzeiliger Text | optional |
| Default sort | defaultsort | Adding main sorting term for categories | Unbekannt | optional |
| image_upright | image_upright | keine Beschreibung | Unbekannt | optional |
| image_alt | image_alt | keine Beschreibung | Unbekannt | optional |
| image_size | image_size | keine Beschreibung | Unbekannt | optional |