Template:Infobox book: Difference between revisions

From The Sextant of Worlds
Jump to navigationJump to search
No edit summary
Tag: 2017 source edit
No edit summary
Tag: 2017 source edit
Line 16: Line 16:
| isbn        = {{{isbn|}}}
| isbn        = {{{isbn|}}}
}}
}}
<templatedata>
{
  "params": {
    "name": { "label": "Name", "description": "Name of the book", "type": "string" },
    "image": { "label": "Image", "description": "Cover image filename", "type": "string" },
    "caption": { "label": "Caption", "description": "Caption for the image", "type": "string" },
    "author": { "label": "Author", "description": "Author(s) of the book", "type": "string" },
    "illustrator": { "label": "Illustrator", "description": "Illustrator(s) of the book", "type": "string" },
    "cover_artist": { "label": "Cover artist", "description": "Cover artist", "type": "string" },
    "country": { "label": "Country", "description": "Country of origin", "type": "string" },
    "language": { "label": "Language", "description": "Original language", "type": "string" },
    "series": { "label": "Series", "description": "Book series", "type": "string" },
    "genre": { "label": "Genre", "description": "Genre(s)", "type": "string" },
    "publisher": { "label": "Publisher", "description": "Publisher", "type": "string" },
    "pub_date": { "label": "Publication date", "description": "Date published", "type": "string" },
    "media_type": { "label": "Media type", "description": "e.g., Print, ebook", "type": "string" },
    "pages": { "label": "Pages", "description": "Number of pages", "type": "number" },
    "isbn": { "label": "ISBN", "description": "ISBN number", "type": "string" }
  },
  "description": "Infobox for a book",
  "paramOrder": ["name", "image", "caption", "author", "illustrator", "cover_artist", "country", "language", "series", "genre", "publisher", "pub_date", "media_type", "pages", "isbn"]
}
</templatedata>

Revision as of 00:43, 1 May 2025

Infobox for a book

Template parameters

ParameterDescriptionTypeStatus
Namename

Name of the book

Stringoptional
Imageimage

Cover image filename

Stringoptional
Captioncaption

Caption for the image

Stringoptional
Authorauthor

Author(s) of the book

Stringoptional
Illustratorillustrator

Illustrator(s) of the book

Stringoptional
Cover artistcover_artist

Cover artist

Stringoptional
Countrycountry

Country of origin

Stringoptional
Languagelanguage

Original language

Stringoptional
Seriesseries

Book series

Stringoptional
Genregenre

Genre(s)

Stringoptional
Publisherpublisher

Publisher

Stringoptional
Publication datepub_date

Date published

Stringoptional
Media typemedia_type

e.g., Print, ebook

Stringoptional
Pagespages

Number of pages

Numberoptional
ISBNisbn

ISBN number

Stringoptional