Template:Infobox book/doc

From Abidan Archive Wiki
Jump to navigation Jump to search

TemplateData

TemplateData documentation used by VisualEditor and other tools
See the monthly error report for this template.

TemplateData for Infobox book

Consistently-formatted table for presenting information about books

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namename

Book name.

Default
Pagename
Stringoptional
Imageimage

Image (prefer 1st edition where permitted). Use bare filename.

Stringoptional
Authorauthor

Author(s) of the book (should be link to their respective article if there is one).

Stringoptional
Languagelanguage

Language of (original) book. Full language name (not a language code).

Example
English
Stringoptional
Countrycountry

Country of (original) publication.

Stringoptional
Genregenre

The book's genre

Example
Science fiction
Stringoptional
Publishedpublished

Using the following format: year (publisher) (language, when originally written in a foreign language)

Stringoptional
Publisherpublisher

Name of publisher.

Stringdeprecated
ISBNisbn

Format: "ISBN 1-234-56789-0" (prefer 1st edition)

Stringoptional
exclude cover?exclude_cover

"yes" if no image is present and adding this article to "Category:Books with missing cover" is not desired

Example
yes
Stringoptional
Seriesseries

Series the book is part of

Example
[[The Federalist Papers]]
Stringoptional
Image sizeimage_size

no description

Example
200 px
Stringoptional
Image captioncaption

a caption for the image used

Contentoptional
Type of mediamedia_type

no description

Example
[[Newspaper]]
Stringoptional
Date of publicationpub_date

Date the book or work was published

Example
December 21, 1787
Dateoptional
Preceded bypreceded_by

The previous installment in the series/from the author

Example
[[Federalist No. 4]]
Stringoptional
Followed byfollowed_by

The next installment in the series/from the author

Example
[[Federalist No. 6]]
Stringoptional