More languages
More actions
m (Testing automatic linking to pages without [[ ]]) |
m (Added ISBN per request) |
||
Line 29: | Line 29: | ||
| data4 = {{{type|}}} | | data4 = {{{type|}}} | ||
| | | label4 = ISBN | ||
| | | data4 = {{{isbn|}}} | ||
| label6 = Audiobook | | label6 = Source | ||
| | | data6 = {{{source|}}} | ||
| label7 = Audiobook | |||
| data7 = {{{audiobook|}}} | |||
}}{{#ifeq:{{{display_title|}}}|yes|{{DISPLAYTITLE:{{#if:{{{title|}}}|''{{{title}}}''|''{{PAGENAME}}''}}{{#if:{{{written by|}}}|, by {{{written by|}}}}}}}}} | }}{{#ifeq:{{{display_title|}}}|yes|{{DISPLAYTITLE:{{#if:{{{title|}}}|''{{{title}}}''|''{{PAGENAME}}''}}{{#if:{{{written by|}}}|, by {{{written by|}}}}}}}}} | ||
<noinclude> | <noinclude> | ||
Line 122: | Line 125: | ||
"type": "string", | "type": "string", | ||
"autovalue": "", | "autovalue": "", | ||
"suggested": true | |||
}, | |||
"isbn": { | |||
"label": "ISBN", | |||
"description": "ISBN number of the work", | |||
"type": "number", | |||
"suggested": true | "suggested": true | ||
} | } | ||
Line 134: | Line 143: | ||
"published", | "published", | ||
"type", | "type", | ||
"isbn", | |||
"source", | "source", | ||
"audiobook", | "audiobook", |
Revision as of 17:04, 4 September 2022
Library infobox work | |
---|---|
Written by | {{{written by}}} |
How to use this template:
{{Library infobox work | image = | image_size = | image_upright = | image_alt = | caption = | title = | written by = | written in = | published = | 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 |
Written by | written by | Author of the source work | String | suggested |
Written in | written in | Date or period the work was written | Date | suggested |
First published | published | Date the book was first published | Date | 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 |