Template:Infobox book

From MEpedia, a crowd-sourced encyclopedia of ME and CFS science and history
template icon Template documentation[view] [edit] [history] [purge]
name
alt
caption
Author author
Audio read by audio_read_by
Original title title_orig
Working title title_working
Translator translator
Illustrator illustrator
Cover artist cover_artist
Country country
Language language
Series series
Release number
release_number
Subject subject
Genre genre
Set in set_in
Published published
Publisher publisher, publisher2
Publication date
pub_date
Published in English
english_pub_date
Media type media_type
Pages pages
Awards awards
ISBN isbn
OCLC oclc
Dewey Decimal
dewey
LC Class congress
Preceded by preceded_by
Followed by followed_by
Original text
title_orig at Interlingua Wikisource
Alternative ISBN isbn2
Translation name at Wikisource
notes

This template is used to present a consistently-formatted table for use in articles about books.

Usage[edit source]

{{Infobox book
| italic title   = <!--(see above)-->
| name           = 
| image          = 
| image_size     = 
| alt            = 
| caption        = 
| author         = 
| audio_read_by  = 
| title_orig     = 
| orig_lang_code = 
| title_working  = 
| translator     = 
| illustrator    = 
| cover_artist   = 
| country        = 
| language       = 
| series         = 
| release_number = 
| subject        = 
| genre          = 
| set_in         = 
| publisher      = 
| publisher2     = 
| pub_date       = 
| english_pub_date = 
| published      = 
| media_type     = 
| pages          = 
| awards         = 
| isbn           = 
| isbn_note      = 
| isbn2          =
| oclc           = 
| dewey          = 
| congress       = 
| preceded_by    = 
| followed_by    = 
| native_wikisource = 
| wikisource     = 
| notes          =
| exclude_cover  = 
| website        =
}}

Parameters[edit source]

Please see WikiProject Books and/or WikiProject Novels for standards on presenting names and other data.

  • Parameters can be safely left blank. Note that you may include an image with no caption, but a caption will not be shown if there is no image.
  • Wikilinks can be used in any of the infobox fields.
name
Book name or title. If parameter is left blank, name will be inherited from the MEpedia page where this infobox is invoked.
image
Image (prefer 1st edition – where permitted), use bare filename: Example.jpg
image_size
Uses image size set by user (default 220px). Use a number to override image size.
border
Inserting yes here will result in a 1px grey border around the image, useful for instances where the image and the background will blend together (such as a book cover with a white background). If no border is necessary, this parameter should not be used. Note: does not apply if |image= uses the full image syntax (e.g. Example.jpg); in this case add the border in |image= (e.g. Example.jpg|border=yes]])
caption
Image caption (should describe the edition used)
alt
Image alternate text
editor/editors
Editor(s) only when they are the primary contributor, e.g. dictionaries, encyclopedias, anthologies
author/authors
Author(s)
audio_read_by
For audiobooks.
title_orig
Original title, if not in English
orig_lang_code
ISO code of original language, required if using |title_orig=, |native_wikisource= or |native_external_url=
working_title
Working title, when different from published title
translator
Translator(s), if original not in English
illustrator
Illustrator (where used throughout and a major feature)
cover_artist
Cover artist
country
Country of original publication
language
Language of original book
series
Series (if any)
subject/subjects
(for non-fiction) See Non-fiction categories'
genre/genres
(for fiction) See fiction categories
set_in
can be both time and place as setting. No need to create long lists.
publisher
Publisher of primary publication (prefer 1st edition); also |publisher2= for additional publishers.
pub_date
Date published (1st edition)
english_pub_date
Date first published in English if 1st edition is in another language.
published
Alternate parameter, using the following composite format: year (publisher) (language, when originally written in a foreign language); use {{plainlist}}

{{plainlist}} when there is more than one notable edition

Note: |published= is acceptable, but no longer preferred to |publisher= and |pub_date=, which have been restored to common usage. No consensus has yet been reached regarding the migration of infoboxes to a common format, and none should be "fixed" one way or the other en masse until such consensus is reached.
media_type
Print / Digital (then binding types etc., if relevant)
pages
Pages (prefer 1st edition, specify edition as needed)
award/awards
Awards(s) the book has won
isbn
(prefer ISBN of 1st edition). Format: "1-234-56789-0" (10-digit) or "978-1-234-56789-0" (13-digit). If the book has an international standard book number (9 digits) add a "0" to the beginning of the number. Do not change a 10-digit to a 13-digit ISBN by prefixing a "978" by hand, because the last digit is a calculated check digit, which will be wrong. Similarly, do not remove "978-" from a 13-digit ISBN to make a 10-digit ISBN. If the book was published before the use of ISBN, do not include this parameter. If the 13-digit number you have does not start with "978", "979-10", or "979-11", then it is not an ISBN and should not be used in this parameter. Change spaces in the ISBN to hyphens. The rules for hyphenating an ISBN are complex (currently 29 pages). Do not add spaces or hyphens to an unformatted ISBN which are likely to be wrong if you are guessing. However the "978" prefix of a 13-digit ISBN is always separated by a hyphen and the check digit – the last character – is always separated by a hyphen. The last character of a 10-character ISBN may be an "X". In such case, use the uppercase "X" character, not any alternate character. Do not put "ISBN " in front of the number. ISBNs are checked for validity; articles with invalid ISBNs are placed in Category:Pages with ISBN errors and display a red error message.
isbn_note
May be used to add a note following the ISBN.
isbn2
Any additional ISBN
oclc
OCLC (identifier) number (prefer 1st edition), use when book has no ISBN
dewey
Dewey Decimal Classification
congress
Library of Congress Classification (not to be confused with Library of Congress Control Number)
preceded_by
Title of prior book in series; will be italicised by template code (do not use to connect separate books chronologically)
preceded_by_quotation_marks
Title of prior work in series if a minor work; will be surrounded with quotation marks by template code (do not use to connect separate books chronologically)
followed_by
Title of subsequent book in a series or a sequel; will be italicised by template code (do not use to connect separate books chronologically)
followed_by_quotation_marks
Title of subsequent work in a series or a sequel if a minor work then do not use italics; will be surrounded with quotation marks by template code (do not use to connect separate books chronologically)
native_wikisource
Page name of original text at a foreign language Wikisource (if applicable); use |orig_lang_code= to specify which Wikisource.
native_external_url
URL (link) to a site hosting the original text when in a foreign language, and in the public domain but not yet on Wikisource. Non-commercial, open and accessible sites should be used in preference, sites which rip the text from other sites should be avoided, and illegal content is never to be linked to
native_external_host
The name of the website linked to by |native_external_url=, e.g. Project Gutenberg, Internet Archive. Should be wikilinked if possible
wikisource
Title of work if in the public domain and hosted at English Wikisource.
external_url
URL (link) to a website hosting the text in English (whether the original or a translation), when in the public domain but not yet on Wikisource. Non-commercial, open and accessible sites should be used in preference, sites which rip the text from other sites should be avoided, and illegal content is never to be linked to
external_host
The name of the website linked to by |external_url=, e.g. Project Gutenberg, Internet Archive. Should be wikilinked if possible
exclude_cover
This template will place articles with this infobox where no image has been specified into the category Books with missing cover; where this is not desired, e.g because the cover is shown elsewhere in the article, this parameter should be set to |exclude_cover=yes.
website
for the publisher's or author's website about the book.

Example[edit source]

Clinician's Guide to Controversial Illnesses
Cover
The front (first) page of the first edition
Author Renee Taylor, Fred Friedberg, and Leonard A. Jason
Country United States
Language English
Subject Medical books
Publisher

Professional Resource Press

Publication
Publication date
2001
Pages 192 (first edition)
ISBN 978-1568870687
LC Class PR6025.O45 A53
{{Infobox book
| name = Clinician's Guide to Controversial Illnesses
| image = A Clinician's Guide to Controversial Illnesses.png
| caption = The front (first) page of the first edition
| alt = Cover
| author = [[Renee Taylor]], [[Fred Friedberg]], and [[Leonard Jason|Leonard A. Jason]]
| title_orig = 
| working_title = 
| translator = 
| illustrator =
| cover_artist = 
| country = United States
| language = English
| series = 
| subject = [[:Category:Medical books|Medical books]]
| genre =
| publisher = Professional Resource Press
| pub_date = 2001
| pages = 192 ''(first edition)''
| awards = 
| isbn = 978-1568870687
| isbn2 =
| oclc =
| congress = PR6025.O45 A53
| preceded_by = 
| followed_by = 
| wikisource = 
}}

Translated books[edit source]

About how to handle translated books, see the Translated books case study.

COinS[edit source]

This template produces COinS metadata

Tracking[edit source]

Instances without images cause the article to be added to Category:Books with missing cover.

See also[edit source]

Hidden tracking/maintenance categories[edit source]

TemplateData[edit source]

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly error report for this template.

TemplateData for Infobox book

This adds a formatted table for presenting information about books.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Titlename

Book title.

Stringrequired
Author(s)author

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

Linerequired
Publisherpublisher

Name of publisher.

Stringrequired
Publication datepub_date

Year of publication.

Example
2019
Daterequired
ISBNisbn

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

Example
1-234-56789-0
Stringsuggested
Additional ISBNisbn2 isbn-10 isbn13 isbn-13

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

Example
1-234-56789-0
Stringsuggested
Image file of book coverimage

Image file of book cover.

Example
File:A Clinician's Guide to Controversial Illnesses.png
Filesuggested
Caption for book covercaption

A caption to display under the image of the book cover.

Example
Cover art.
Stringsuggested
Countrycountry

Country of (original) publication.

Stringsuggested
Languagelanguage

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

Stringsuggested
Pagespages

Number of pages in the book.

Example
293
Numbersuggested
Subject/topic (non-fiction)subject

What the non-fiction book is about.

Stringsuggested
Genre (fiction)genre

Fiction genre.

Stringsuggested
Websitewebsite

Publisher's website about the book.

URLsuggested
Type of media (print, digital, or print+digital)media_type

Type of media (print, digital, or print+digital)

Example
print
Stringsuggested
Illustratorillustrator

Illustrator of the book.

Stringoptional
Cover artistcover_artist

Illustrator who designed the cover art.

Stringoptional
italic titleitalic title

no description

Unknownoptional
exclude_coverexclude_cover

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

Stringoptional
infoboxwidthinfoboxwidth

no description

Unknownoptional
widthwidth

no description

Unknownoptional
image_captionimage_caption

no description

Unknownoptional
editorseditors

no description

Unknownoptional
editoreditor

no description

Unknownoptional
authorsauthors

no description

Unknownoptional
audio_read_byaudio_read_by

no description

Unknownoptional
title_origtitle_orig

no description

Unknownoptional
title_workingtitle_working

no description

Unknownoptional
translatorstranslators

no description

Unknownoptional
translatortranslator

no description

Unknownoptional
illustratorsillustrators

no description

Unknownoptional
seriesseries

no description

Unknownoptional
release_numberrelease_number

no description

Unknownoptional
subjectssubjects

no description

Unknownoptional
genresgenres

no description

Unknownoptional
set_inset_in

no description

Unknownoptional
publisher2publisher2

no description

Unknownoptional
release_daterelease_date

no description

Unknownoptional
english_pub_dateenglish_pub_date

no description

Unknownoptional
english_release_dateenglish_release_date

no description

Unknownoptional
awardsawards

no description

Unknownoptional
awardaward

no description

Unknownoptional
isbn_noteisbn_note

no description

Unknownoptional
ISBN_noteISBN_note

no description

Unknownoptional
deweydewey

no description

Unknownoptional
congresscongress

no description

Unknownoptional
lastlast

no description

Unknownoptional
firstfirst

no description

Unknownoptional
locationlocation

no description

Unknownoptional
oclcoclc

no description

Unknownoptional
image_sizeimage_size

no description

Unknownoptional
altalt

no description

Unknownoptional
borderborder

no description

Unknownoptional
orig_lang_codeorig_lang_code

no description

Unknownoptional
ISBNISBN

no description

Unknownoptional
preceded_bypreceded_by

no description

Unknownoptional
preceded_by_quotation_markspreceded_by_quotation_marks

no description

Unknownoptional
followed_byfollowed_by

no description

Unknownoptional
followed_by_quotation_marksfollowed_by_quotation_marks

no description

Unknownoptional
native_wikisourcenative_wikisource

no description

Unknownoptional
native_external_urlnative_external_url

no description

Unknownoptional
native_external_hostnative_external_host

no description

Unknownoptional
wikisourcewikisource

no description

Unknownoptional
external_urlexternal_url

no description

Unknownoptional
external_hostexternal_host

no description

Unknownoptional
homepagehomepage

no description

Unknownoptional
URLURL

no description

Unknownoptional
Published (deprecated)published

No longer in use

Example
2020 (Elsevier)
Stringdeprecated
notesnotes

no description

Unknownoptional
notenote

no description

Unknownoptional