More languages
More actions
(Ported Infobox book from wikipedia for use in Encyclopedia pages.) |
(Removed redundant parameters and mechanics.) |
||
Line 1: | Line 1: | ||
<onlyinclude>{{Infobox | <onlyinclude>{{Infobox | ||
| bodyclass = vcard | | bodyclass = vcard | ||
| bodystyle = {{#if:{{{infoboxwidth|{{{width|}}}}}} |width:{{{infoboxwidth|{{{width}}}}}} }} | | bodystyle = {{#if:{{{infoboxwidth|{{{width|}}}}}} |width:{{{infoboxwidth|{{{width}}}}}} }} | ||
Line 6: | Line 5: | ||
<!---------------Title-----------------> | <!---------------Title-----------------> | ||
| titlestyle = font-size:125%; font-style:italic; padding-bottom:0.2em<!--(so title doesn't touch border)-->; | | titlestyle = font-size:125%; font-style:italic; padding-bottom:0.2em<!--(so title doesn't touch border)-->; | ||
| title = <includeonly>{{#if:{{{name|}}}{{{caption|{{{image_caption|}}}}}}{{{editors|{{{editor|}}}}}}{{{authors|{{{author|}}}}}}{{{audio_read_by|}}}{{{title_orig|}}}{{{title_working|}}}{{{translators|{{{translator|}}}}}}{{{illustrators|{{{illustrator|}}}}}}{{{cover_artist | | title = <includeonly>{{#if:{{{name|}}}{{{caption|{{{image_caption|}}}}}}{{{editors|{{{editor|}}}}}}{{{authors|{{{author|}}}}}}{{{audio_read_by|}}}{{{title_orig|}}}{{{title_working|}}}{{{translators|{{{translator|}}}}}}{{{illustrators|{{{illustrator|}}}}}}{{{cover_artist|}}}{{{language|}}}{{{series|}}}{{{release_number|}}}{{{subjects|{{{subject|}}}}}}{{{genres|{{{genre|}}}}}}{{{set_in|}}}{{{publication|}}}{{{media_type|}}}{{{pages|}}}{{{awards|{{{award|}}}}}}{{{dewey|}}}{{{congress|}}}| }}<!-- hack for ref ordering | ||
-->{{{name|{{PAGENAMEBASE}}}}} <!-- | -->{{{name|{{PAGENAMEBASE}}}}} <!-- | ||
--><span class="Z3988" | --><span class="Z3988" | ||
Line 13: | Line 12: | ||
-->{{#if:{{{last|}}} |&rft.aulast={{urlencode:{{{last}}}}}}}<!-- | -->{{#if:{{{last|}}} |&rft.aulast={{urlencode:{{{last}}}}}}}<!-- | ||
-->{{#if:{{{first|}}} |&rft.aufirst={{urlencode:{{{first}}}}}}}<!-- | -->{{#if:{{{first|}}} |&rft.aufirst={{urlencode:{{{first}}}}}}}<!-- | ||
-->{{#if:{{{ | -->{{#if:{{{publication|}}} |&rft.pub={{urlencode:{{{publication}}}}}}}<!-- | ||
-->{{#if:{{{pages|}}} |&rft.pages={{urlencode:{{{pages}}}}}}}<!-- | -->{{#if:{{{pages|}}} |&rft.pages={{urlencode:{{{pages}}}}}}}<!-- | ||
-->{{#if:{{{series|}}} |&rft.series={{urlencode:{{{series}}}}}}}<!-- | -->{{#if:{{{series|}}} |&rft.series={{urlencode:{{{series}}}}}}}<!-- | ||
Line 54: | Line 51: | ||
| label8 = Cover artist | | label8 = Cover artist | ||
| data8 = {{{cover_artist|}}} | | data8 = {{{cover_artist|}}} | ||
| label11 = Language | | label11 = Language | ||
Line 76: | Line 70: | ||
| data16 = {{{set_in|}}} | | data16 = {{{set_in|}}} | ||
| label17 = | | label17 = Publication | ||
| data17 = {{{ | | data17 = {{{publication|}}} | ||
| label21 = Media type | | label21 = Media type | ||
Line 103: | Line 88: | ||
| data31 = {{#if:{{{oclc|}}} |[https://www.worldcat.org/oclc/{{urlencode:{{{oclc}}}}} {{{oclc}}}]}} | | data31 = {{#if:{{{oclc|}}} |[https://www.worldcat.org/oclc/{{urlencode:{{{oclc}}}}} {{{oclc}}}]}} | ||
| label32 = | | label32 = [[Dewey Decimal Classification|Dewey Decimal]] | ||
| data32 = {{{dewey|}}} | | data32 = {{{dewey|}}} | ||
Line 119: | Line 104: | ||
}} | }} | ||
| label36 = Website | | label36 = Website(s) | ||
| data36 = {{{ | | data36 = {{{websites|}}} | ||
| data60 = {{{module|}}} | | data60 = {{{module|}}} | ||
Line 129: | Line 111: | ||
| belowstyle = border-top:#aaa 1px solid;font-size:90%; | | belowstyle = border-top:#aaa 1px solid;font-size:90%; | ||
| below = {{{notes|{{{note|}}}}}} | | below = {{{notes|{{{note|}}}}}} | ||
}}</onlyinclude>{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox book with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox book]] with unknown parameter "_VALUE_"|ignoreblank=y| alt | audio_read_by | author | authors | award | awards | border | caption | congress | cover_artist | dewey | editor | editors | exclude_cover | first | followed_by | followed_by_quotation_marks | genre | genres | illustrator | illustrators | image | image_caption | image_size | infoboxwidth | isbn | language | last | media_type | module | name | nocat_wdimage | note | notes | oclc | orig_lang_code | pages | preceded_by | preceded_by_quotation_marks | publication | release_number | series | set_in | subject | subjects | title_orig | title_working | translator | translators | website | width | |||
}}</onlyinclude>{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox book with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox book]] with unknown parameter "_VALUE_"|ignoreblank=y| alt | audio_read_by | author | authors | award | awards | border | caption | congress | |||
}} | }} | ||
Line 138: | Line 119: | ||
<pre style="overflow:auto;"> | <pre style="overflow:auto;"> | ||
{{Infobox book | {{Infobox book | ||
| name = | | name = | ||
| image = | | image = | ||
Line 153: | Line 133: | ||
| illustrator = | | illustrator = | ||
| cover_artist = | | cover_artist = | ||
| language = | | language = | ||
| series = | | series = | ||
Line 160: | Line 139: | ||
| genre = | | genre = | ||
| set_in = | | set_in = | ||
| | | publication = | ||
| media_type = | | media_type = | ||
| pages = | | pages = | ||
| awards = | | awards = | ||
| isbn = | | isbn = | ||
| oclc = | | oclc = | ||
| dewey = | | dewey = | ||
Line 175: | Line 149: | ||
| preceded_by = <!-- for books in a series --> | | preceded_by = <!-- for books in a series --> | ||
| followed_by = <!-- for books in a series --> | | followed_by = <!-- for books in a series --> | ||
| wikisource = | | wikisource = | ||
| notes = | | notes = | ||
Line 183: | Line 156: | ||
== Parameters == | == Parameters == | ||
; image: Image (prefer 1st edition where permitted), use bare filename: <code><nowiki>Example.jpg</nowiki></code><br>For a title page from a [[:Commons:|Commons]] PDF, specify the page and width in [[WP:EIS|the syntax]]: <code><nowiki>[[File:Lissagaray - Histoire de la Commune de 1871, MS.djvu|page=9|220px]]</nowiki></code> | ; image: Image (prefer 1st edition where permitted), use bare filename: <code><nowiki>Example.jpg</nowiki></code><br>For a title page from a [[:Commons:|Commons]] PDF, specify the page and width in [[WP:EIS|the syntax]]: <code><nowiki>[[File:Lissagaray - Histoire de la Commune de 1871, MS.djvu|page=9|220px]]</nowiki></code> | ||
; image_size: Uses image size set by user (default 220px). Use a number to override image size. However, this is discouraged per [[WP:THUMBSIZE]]. | ; image_size: Uses image size set by user (default 220px). Use a number to override image size. However, this is discouraged per [[WP:THUMBSIZE]]. | ||
; border: Inserting <code>yes</code> 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 {{para|image}} uses the full image syntax (e.g. <code><nowiki>[[File:Example.jpg]]</nowiki></code>); in this case add the border in {{para|image}} (e.g. <code><nowiki>[[File:Example.jpg|border=yes]]</nowiki></code>) | ; border: Inserting <code>yes</code> 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 {{para|image}} uses the full image syntax (e.g. <code><nowiki>[[File:Example.jpg]]</nowiki></code>); in this case add the border in {{para|image}} (e.g. <code><nowiki>[[File:Example.jpg|border=yes]]</nowiki></code>) | ||
; author/authors: Author(s) | ; author/authors: Author(s) | ||
; audio_read_by: For [[audiobook]]s. | ; audio_read_by: For [[audiobook]]s. | ||
; title_orig: Original title, if not in English | ; title_orig: Original title, if not in English. | ||
; orig_lang_code: [[ISO 639|ISO 639 code]] of original language | ; orig_lang_code: [[ISO 639|ISO 639 code]] of original language. | ||
; working_title: [[Working title]], when different from published title | ; working_title: [[Working title]], when different from published title | ||
; translator: Translator(s), if original not in English | ; translator: Translator(s), if original not in English | ||
; illustrator: Illustrator (where used throughout and a major feature) | ; illustrator: Illustrator (where used throughout and a major feature) | ||
; cover_artist: Cover artist, if any | ; cover_artist: Cover artist, if any | ||
; series: Series (if any) | ; series: Series (if any) | ||
; release_number: The "release number" of a book within the "series" (also would be called a "volume") - n.b. only relevant for an article where "series" is populated | ; release_number: The "release number" of a book within the "series" (also would be called a "volume") - n.b. only relevant for an article where "series" is populated | ||
Line 205: | Line 172: | ||
; genre/genres: (for fiction) ''See [[literary genre]]''. Use {{tl|hlist}} for sorting multiple entries. | ; genre/genres: (for fiction) ''See [[literary genre]]''. Use {{tl|hlist}} for sorting multiple entries. | ||
; set_in: can be both time and place as [[Setting (narrative)|setting]]. No need to create long lists. Use approximate dates/places if it is not clearly specified in the text. | ; set_in: can be both time and place as [[Setting (narrative)|setting]]. No need to create long lists. Use approximate dates/places if it is not clearly specified in the text. | ||
; media_type: Print / Digital (then binding types etc., if relevant) | ; media_type: Print / Digital (then binding types etc., if relevant) | ||
; award/awards: Awards(s) the book has won | ; 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 a [[International Standard Book Number|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{{spnd}}the last character{{spnd}}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: (prefer ISBN of 1st edition). Format: "1-234-56789-0" (10-digit) or "978-1-234-56789-0" (13-digit). If the book has a [[International Standard Book Number|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{{spnd}}the last character{{spnd}}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. | ||
; oclc: OCLC number (prefer 1st edition), use when book has no ISBN | |||
; oclc: | |||
; preceded_by_quotation_marks: Title of prior work {{em|in series}} if a [[Wikipedia:Manual of Style/Text formatting#When not to use italics|minor work]]; will be surrounded with quotation marks by template code (do not use to connect separate books chronologically) | ; preceded_by_quotation_marks: Title of prior work {{em|in series}} if a [[Wikipedia:Manual of Style/Text formatting#When not to use italics|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 {{em|in a series or a sequel}}; will be italicised by template code (do not use to connect separate books chronologically) | ; followed_by: Title of subsequent book {{em|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 {{em|in a series or a sequel}} if a [[Wikipedia:Manual of Style/Text formatting#When not to use italics|minor work]]; will be surrounded with quotation marks by template code (do not use to connect separate books chronologically) | ; followed_by_quotation_marks: Title of subsequent work {{em|in a series or a sequel}} if a [[Wikipedia:Manual of Style/Text formatting#When not to use italics|minor work]]; will be surrounded with quotation marks by template code (do not use to connect separate books chronologically) | ||
; exclude_cover: This template will place articles with this infobox where no image has been specified into the category [[:Category:Books with missing cover|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 {{para|exclude_cover|yes}}. | ; exclude_cover: This template will place articles with this infobox where no image has been specified into the category [[:Category:Books with missing cover|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 {{para|exclude_cover|yes}}. | ||
== Example == | == Example == | ||
{{Infobox book{{\sandbox}} | {{Infobox book{{\sandbox}} | ||
| name = Anne of Green Gables | | name = Anne of Green Gables | ||
| image = FirstPageGreenGables.gif | | image = FirstPageGreenGables.gif | ||
Line 245: | Line 194: | ||
| illustrator = M. A. and W. A. J. Claus | | illustrator = M. A. and W. A. J. Claus | ||
| cover_artist = | | cover_artist = | ||
| language = English | | language = English | ||
| series = | | series = | ||
Line 251: | Line 199: | ||
| subject = | | subject = | ||
| genre = [[Children's literature|Children's novel]] | | genre = [[Children's literature|Children's novel]] | ||
| | | publication = 1908 in the [[United States]] by [[L. C. Page & Co.]] (originally in English) | ||
| pages = 429 ''(first edition)'' | | pages = 429 ''(first edition)'' | ||
| awards = | | awards = | ||
Line 274: | Line 221: | ||
| illustrator = M. A. and W. A. J. Claus | | illustrator = M. A. and W. A. J. Claus | ||
| cover_artist = | | cover_artist = | ||
| language = English | | language = English | ||
| series = | | series = | ||
Line 280: | Line 226: | ||
| subject = | | subject = | ||
| genre = [[Children's literature|Children's novel]] | | genre = [[Children's literature|Children's novel]] | ||
| | | publication = 1908 in the [[United States]] by [[L. C. Page & Co.]] (originally in English) | ||
| pages = 429 ''(first edition)'' | | pages = 429 ''(first edition)'' | ||
| awards = | | awards = | ||
Line 292: | Line 237: | ||
}} | }} | ||
</pre> | </pre> | ||
== TemplateData == | == TemplateData == | ||
Line 304: | Line 248: | ||
"type": "string", | "type": "string", | ||
"required": false, | "required": false, | ||
"description": "Book title", | "description": "Book name or title. If parameter is left blank, ''name'' will be inherited from the [[Wikipedia:Article titles|Wikipedia page]] where this infobox is invoked.", | ||
"default": "Pagename" | "default": "Pagename" | ||
}, | }, | ||
Line 313: | Line 257: | ||
"description": "Image (prefer 1st edition where permitted). Use bare filename.", | "description": "Image (prefer 1st edition where permitted). Use bare filename.", | ||
"suggested": true | "suggested": true | ||
}, | |||
"alt": { | |||
"label": "Alternate image text", | |||
"description": "Alternate text to display if the image cannot be rendered.", | |||
"type": "string" | |||
}, | }, | ||
"author": { | "author": { | ||
Line 325: | Line 274: | ||
"type": "string", | "type": "string", | ||
"required": false, | "required": false, | ||
"description": "Language of (original) book | "description": "Language of (original) book.", | ||
"example": "English" | "example": "English" | ||
}, | }, | ||
"genre": { | "genre": { | ||
Line 341: | Line 284: | ||
"example": "Science fiction" | "example": "Science fiction" | ||
}, | }, | ||
" | "publication": { | ||
"label": " | "label": "Publication", | ||
"type": " | "type": "content", | ||
"required": false, | "required": false, | ||
"description": " | "description": "Information about the publishment of the book. The following format: year (publisher) (language, when originally written in a foreign language)", | ||
"example": "1867 by Verlag von Otto Meisner (German)" | |||
" | |||
}, | }, | ||
"isbn": { | "isbn": { | ||
Line 357: | Line 295: | ||
"type": "string", | "type": "string", | ||
"description": "Format: \"ISBN 1-234-56789-0\" (prefer 1st edition)", | "description": "Format: \"ISBN 1-234-56789-0\" (prefer 1st edition)", | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
Line 388: | Line 323: | ||
"example": "[[Newspaper]]", | "example": "[[Newspaper]]", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
"preceded_by": { | "preceded_by": { | ||
Line 408: | Line 336: | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
"infoboxwidth": {}, | "infoboxwidth": {}, | ||
"width": {}, | "width": {}, | ||
"image_caption": {}, | "image_caption": {}, | ||
"editors": {}, | "editors": { | ||
"type": "content", | |||
"label": "Editor(s)", | |||
"description": "Editor(s) '''only when they are the primary contributor''', e.g. dictionaries, encyclopedias, anthologies.", | |||
"example": "* [[Karl Marx]] and [[Fredreich Engels]]\n* [[Joseph Stalin]]" | |||
}, | |||
"editor": {}, | "editor": {}, | ||
"authors": {}, | "authors": {}, | ||
Line 428: | Line 360: | ||
"genres": {}, | "genres": {}, | ||
"set_in": {}, | "set_in": {}, | ||
" | "pages": { | ||
"type": "number", | |||
"label": "Pages", | |||
"description": "Amount of pages in the book.", | |||
"example": "453" | |||
}, | |||
"awards": {}, | "awards": {}, | ||
"award": {}, | "award": {}, | ||
" | "dewey": { | ||
"type": "string", | |||
"label": "[[Dewey Decimal Classification]]" | |||
}, | |||
"congress": { | |||
"type": "string", | |||
"label": "Library of Congress Classification", | |||
"description": "Library of Congress Classification ('''not''' to be confused with Library of Congress Control Number)" | |||
}, | }, | ||
"last": {}, | "last": {}, | ||
"first": {}, | "first": {}, | ||
"oclc": {}, | "oclc": {}, | ||
"border": {}, | "border": {}, | ||
"orig_lang_code": {}, | "orig_lang_code": {}, | ||
"preceded_by_quotation_marks": {}, | "preceded_by_quotation_marks": {}, | ||
"followed_by_quotation_marks": {}, | "followed_by_quotation_marks": {}, | ||
" | "websites": { | ||
"type": "string", | |||
"label": "Website(s)", | |||
"description": "The publisher's or author's websites about the book.", | |||
"example": "[https://cpc.people.com.cn cpc.people.com.cn]" | |||
}, | |||
"notes": {}, | "notes": {}, | ||
"note": {}, | "note": {}, |
Revision as of 22:38, 20 September 2022
This template is used to present a consistently-formatted table for use in articles about books.
Usage
{{Infobox book | name = | image = | image_size = | border = | alt = | caption = | author = | audio_read_by = | title_orig = | orig_lang_code = | title_working = | translator = | illustrator = | cover_artist = | language = | series = | release_number = | subject = | genre = | set_in = | publication = | media_type = | pages = | awards = | isbn = | oclc = | dewey = | congress = | preceded_by = <!-- for books in a series --> | followed_by = <!-- for books in a series --> | wikisource = | notes = | exclude_cover = | website = }}
Parameters
- image
- Image (prefer 1st edition where permitted), use bare filename:
Example.jpg
For a title page from a Commons PDF, specify the page and width in the syntax:[[File:Lissagaray - Histoire de la Commune de 1871, MS.djvu|page=9|220px]]
- image_size
- Uses image size set by user (default 220px). Use a number to override image size. However, this is discouraged per WP:THUMBSIZE.
- 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 Template:Para uses the full image syntax (e.g.[[File:Example.jpg]]
); in this case add the border in Template:Para (e.g.[[File:Example.jpg|border=yes]]
) - author/authors
- Author(s)
- audio_read_by
- For audiobooks.
- title_orig
- Original title, if not in English.
- orig_lang_code
- ISO 639 code of original language.
- 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, if any
- series
- Series (if any)
- release_number
- The "release number" of a book within the "series" (also would be called a "volume") - n.b. only relevant for an article where "series" is populated
- subject/subjects
- (for non-fiction) See index term and library classification
- genre/genres
- (for fiction) See literary genre. Use {{hlist}} for sorting multiple entries.
- set_in
- can be both time and place as setting. No need to create long lists. Use approximate dates/places if it is not clearly specified in the text.
- media_type
- Print / Digital (then binding types etc., if relevant)
- 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 a 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 digitTemplate:Spndthe last characterTemplate:Spndis 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.
- oclc
- OCLC number (prefer 1st edition), use when book has no ISBN
- preceded_by_quotation_marks
- Title of prior work Template:Em 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 Template:Em; will be italicised by template code (do not use to connect separate books chronologically)
- followed_by_quotation_marks
- Title of subsequent work Template:Em if a minor work; will be surrounded with quotation marks by template code (do not use to connect separate books chronologically)
- 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 Template:Para.
Example
{{Infobox bookTemplate:\sandbox | name = Anne of Green Gables | image = FirstPageGreenGables.gif | caption = The front (first) page of the first edition | alt = Cover | author = Lucy Maud Montgomery | title_orig = | working_title = | translator = | illustrator = M. A. and W. A. J. Claus | cover_artist = | language = English | series = | release_number = | subject = | genre = Children's novel | publication = 1908 in the United States by L. C. Page & Co. (originally in English) | pages = 429 (first edition) | awards = | isbn = | oclc = 367111 | congress = PR6025.O45 A53 | preceded_by = | followed_by = Anne of Avonlea | wikisource = Anne of Green Gables }}
{{Infobox book | name = Anne of Green Gables | image = FirstPageGreenGables.gif | caption = The front (first) page of the first edition | alt = Cover | author = [[Lucy Maud Montgomery]] | title_orig = | working_title = | translator = | illustrator = M. A. and W. A. J. Claus | cover_artist = | language = English | series = | release_number = | subject = | genre = [[Children's literature|Children's novel]] | publication = 1908 in the [[United States]] by [[L. C. Page & Co.]] (originally in English) | pages = 429 ''(first edition)'' | awards = | isbn = <!-- N/A --> | oclc = 367111 | congress = PR6025.O45 A53 | preceded_by = | followed_by = [[Anne of Avonlea]] | wikisource = Anne of Green Gables }}
TemplateData
Consistently-formatted table for presenting information about books
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name | Book name or title. If parameter is left blank, ''name'' will be inherited from the [[Wikipedia:Article titles|Wikipedia page]] where this infobox is invoked.
| String | optional |
Image | image | Image (prefer 1st edition where permitted). Use bare filename. | File | suggested |
Alternate image text | alt | Alternate text to display if the image cannot be rendered. | String | optional |
Author | author | Author(s) of the book (should be link to their respective article if there is one). | String | suggested |
Language | language | Language of (original) book.
| String | optional |
Genre | genre | The book's genre
| String | optional |
Publication | publication | Information about the publishment of the book. The following format: year (publisher) (language, when originally written in a foreign language)
| Content | optional |
ISBN | isbn | Format: "ISBN 1-234-56789-0" (prefer 1st edition) | String | suggested |
exclude cover? | exclude_cover | "yes" if no image is present and adding this article to "Category:Books with missing cover" is not desired
| String | optional |
Series | series | Series the book is part of
| String | optional |
Image size | image_size | no description
| String | optional |
Image caption | caption | a caption for the image used | Content | optional |
Type of media | media_type | no description
| String | optional |
Preceded by | preceded_by | The previous installment in the series/from the author
| String | optional |
Followed by | followed_by | The next installment in the series/from the author
| String | optional |
infoboxwidth | infoboxwidth | no description | Unknown | optional |
width | width | no description | Unknown | optional |
image_caption | image_caption | no description | Unknown | optional |
Editor(s) | editors | Editor(s) '''only when they are the primary contributor''', e.g. dictionaries, encyclopedias, anthologies.
| Content | optional |
editor | editor | no description | Unknown | optional |
authors | authors | no description | Unknown | optional |
audio_read_by | audio_read_by | no description | Unknown | optional |
title_orig | title_orig | no description | Unknown | optional |
title_working | title_working | no description | Unknown | optional |
translators | translators | no description | Unknown | optional |
translator | translator | no description | Unknown | optional |
illustrators | illustrators | no description | Unknown | optional |
illustrator | illustrator | no description | Unknown | optional |
cover_artist | cover_artist | no description | Unknown | optional |
release_number | release_number | no description | Unknown | optional |
subjects | subjects | no description | Unknown | optional |
subject | subject | no description | Unknown | optional |
genres | genres | no description | Unknown | optional |
set_in | set_in | no description | Unknown | optional |
Pages | pages | Amount of pages in the book.
| Number | optional |
awards | awards | no description | Unknown | optional |
award | award | no description | Unknown | optional |
[[Dewey Decimal Classification]] | dewey | no description | String | optional |
Library of Congress Classification | congress | Library of Congress Classification ('''not''' to be confused with Library of Congress Control Number) | String | optional |
last | last | no description | Unknown | optional |
first | first | no description | Unknown | optional |
oclc | oclc | no description | Unknown | optional |
border | border | no description | Unknown | optional |
orig_lang_code | orig_lang_code | no description | Unknown | optional |
preceded_by_quotation_marks | preceded_by_quotation_marks | no description | Unknown | optional |
followed_by_quotation_marks | followed_by_quotation_marks | no description | Unknown | optional |
Website(s) | websites | The publisher's or author's websites about the book.
| String | optional |
notes | notes | no description | Unknown | optional |
note | note | no description | Unknown | optional |
nocat_wdimage | nocat_wdimage | no description | Unknown | optional |