More languages
More actions
No edit summary |
No edit summary |
||
Line 26: | Line 26: | ||
| data4 = {{{published_date|}}}{{#if:{{{published_location|}}}|<br/>{{{published_location}}}}} | | data4 = {{{published_date|}}}{{#if:{{{published_location|}}}|<br/>{{{published_location}}}}} | ||
| label5 = | | label5 = Type | ||
| data5 | | data5 = {{{type|}}} | ||
| label6 = | | label6 = ISBN | ||
| data6 | | data6 = {{{isbn|}}} | ||
| label7 = | | label7 = Source | ||
| data7 = {{{ | | data7 = {{{source|}}} | ||
| label8 | | label8 = Audiobook | ||
| data8 | | data8 = {{{audiobook|}}} | ||
| label9 = | | label9 = Publisher | ||
| | | data9 = {{publisher}} | ||
| label10 = Edition | |||
| data10 = {{edition_date}} | |||
| label11 = Spoken on | |||
| data11 = {{spoken on}} | |||
}}{{#ifeq:{{{display_title|}}}|yes|{{DISPLAYTITLE:{{#if:{{{title|}}}|''{{{title}}}''|''{{PAGENAME}}''}}{{#if:{{{written by|}}}|, by {{{written by|}}}}}}}}}<noinclude> | }}{{#ifeq:{{{display_title|}}}|yes|{{DISPLAYTITLE:{{#if:{{{title|}}}|''{{{title}}}''|''{{PAGENAME}}''}}{{#if:{{{written by|}}}|, by {{{written by|}}}}}}}}}<noinclude> | ||
How to use this template: | How to use this template: | ||
Line 56: | Line 60: | ||
| author = | | author = | ||
| written in = | | written in = | ||
| spoken on = | |||
| published_date = | | published_date = | ||
| published_location = | | published_location = | ||
Line 157: | Line 162: | ||
"label": "Edition", | "label": "Edition", | ||
"description": "When was this edition printed", | "description": "When was this edition printed", | ||
"type":"string", | "type": "string", | ||
"suggested": true | |||
}, | |||
"spoken on": { | |||
"label": "Spoken on", | |||
"description": "For speeches, the date it was spoken on", | |||
"type": "string", | |||
"suggested": true | "suggested": true | ||
} | } | ||
Line 168: | Line 179: | ||
"author", | "author", | ||
"written in", | "written in", | ||
"spoken on", | |||
"publisher", | "publisher", | ||
"published_date", | "published_date", |
Revision as of 18:54, 10 July 2023
Library infobox work | |
---|---|
Publisher | Template:Publisher |
Edition | Template:Edition date |
Spoken on | Template:Spoken on |
How to use this template:
{{Library infobox 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 = | display_title = }}
Add "yes" to parameter "display_title" to produce a page title in the format: Title of work, by Author
Adds a small infobox with information for Library works
Parameter | Description | Type | Status | |
---|---|---|---|---|
Title | title | Title of the work | String | suggested |
Image | image | Book cover | File | suggested |
Caption | caption | Caption of the image, usually for information about the edition of the cover | String | optional |
Author | author | Author of the source work | String | suggested |
Written in | written in | Date or period the work was written | Date | suggested |
Spoken on | spoken on | For speeches, the date it was spoken on | String | suggested |
Publishing house | publisher | Who published this edition | String | suggested |
First published | published_date | Date the book was first published | Date | suggested |
Location published | published_location | Location the work was published | String | suggested |
Edition | edition_date | When was this edition printed | String | suggested |
Type | type | Type of work
| String | suggested |
ISBN | isbn | ISBN number of the work | Number | suggested |
Source | source | URL of the work | URL | suggested |
Audiobook | audiobook | URL of an audiobook reading of the work | URL | suggested |
Full display title | display_title | Adds title in style "Work (in italics), by Author"
| String | suggested |
_subheader | _subheader | no description | Unknown | optional |
image_upright | image_upright | no description | Unknown | optional |
image_alt | image_alt | no description | Unknown | optional |
image_size | image_size | no description | Unknown | optional |