Template:Infobox book/doc: Difference between revisions

From Vigyanwiki
< Template:Infobox book
Template>Pigsonthewing
m (update)
Template>Michael Bednarek
(document recently added parameter "awards=".)
Line 31: Line 31:
| media_type      =  
| media_type      =  
| pages            =  
| pages            =  
| awards          =
| isbn            =  
| isbn            =  
| oclc            =  
| oclc            =  
Line 46: Line 47:
* [[Wikipedia:Wikilinks|Wikilinks]] can be used in any of the infobox fields.
* [[Wikipedia:Wikilinks|Wikilinks]] can be used in any of the infobox fields.


; name: Book name. If parameter is left blank, ''name'' will be inherited from page title.  
; name: Book name. If parameter is left blank, ''name'' will be inherited from page title.
; image: Image (prefer 1st edition - where permitted), include the file, px and alt: <code><nowiki>[[File:Example.jpg|200px|alt=Cover]]</nowiki></code> - don't use <code><nowiki>|thumb|</nowiki></code> because this adds unnecessary extra frames
; image: Image (prefer 1st edition where permitted), include the file, px and alt: <code><nowiki>[[File:Example.jpg|200px|alt=Cover]]</nowiki></code> don't use <code><nowiki>|thumb|</nowiki></code> because this adds unnecessary extra frames
; image_caption: Image caption (should describe the edition used)
; image_caption: Image caption (should describe the edition used)
; author: Author(s)
; author: Author(s)
Line 64: Line 65:
; media_type: Print / On-line (then binding types etc., if relevant)
; media_type: Print / On-line (then binding types etc., if relevant)
; pages: Pages (prefer 1st edition)
; pages: Pages (prefer 1st edition)
; awards: Awards(s) the book has won
; isbn: Format: "ISBN 1234567890" (prefer 1st edition)
; isbn: Format: "ISBN 1234567890" (prefer 1st edition)
; oclc: [[OCLC]] number (prefer 1st edition), use when book has no ISBN  
; oclc: [[OCLC]] number (prefer 1st edition), use when book has no ISBN
; dewey: [[Dewey Decimal System]] classification
; dewey: [[Dewey Decimal System]] classification
; congress: [[Library of Congress Classification]] ('''not''' to be confused with [[Library of Congress Control Number]])
; congress: [[Library of Congress Classification]] ('''not''' to be confused with [[Library of Congress Control Number]])
Line 73: Line 75:
=== Example ===
=== Example ===


{{Infobox book
{{Infobox book|italic title=no <!-- lest the title of this template gets italicised -->
| name          = Anne of Green Gables
| name          = Anne of Green Gables
| image          = [[File:FirstPageGreenGables.gif|200px|alt=Cover]]
| image          = [[File:FirstPageGreenGables.gif|200px|alt=Cover]]
Line 91: Line 93:
| media_type    = Print ([[hardcover]])
| media_type    = Print ([[hardcover]])
| pages          = 429 pp ''(first edition)''
| pages          = 429 pp ''(first edition)''
| awards        =
| isbn          = N/A
| isbn          = N/A
| oclc          = 367111
| oclc          = 367111
Line 117: Line 120:
| media_type    = Print ([[hardcover]])
| media_type    = Print ([[hardcover]])
| pages          = 429 pp ''(first edition)''
| pages          = 429 pp ''(first edition)''
| awards        =
| isbn          = N/A
| isbn          = N/A
| oclc          = 367111
| oclc          = 367111

Revision as of 12:12, 20 September 2012

Template:Auto italic title

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

Usage

{{Infobox book
<!-- |italic title = (see above) -->
| name             = 
| image            = <!-- include the file, px and alt: [[File:Example.jpg|200px|alt=Cover]] -->
| image_caption    = 
| author           = 
| title_orig       = 
| translator       = 
| illustrator      = 
| cover_artist     = 
| country          = 
| language         = 
| series           = 
| subject          = 
| genre            = 
| publisher        = 
| pub_date         = 
| english_pub_date = 
| media_type       = 
| pages            = 
| awards           = 
| isbn             = 
| oclc             = 
| dewey            = 
| congress         = 
| preceded_by      = 
| followed_by      = 
}}

Parameters

Please spend some time at 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. If parameter is left blank, name will be inherited from page title.
image
Image (prefer 1st edition – where permitted), include the file, px and alt: [[File:Example.jpg|200px|alt=Cover]] – don't use |thumb| because this adds unnecessary extra frames
image_caption
Image caption (should describe the edition used)
author
Author(s)
title_orig
Original title, if not in English
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
(for non-fiction) See index term and library classification
genre
(for fiction) See literary genre
publisher
Publisher of main publication (prefer 1st edition)
pub_date
Date published (1st edition)
english_pub_date
Date published in English (1st English edition), if originally published in another language
media_type
Print / On-line (then binding types etc., if relevant)
pages
Pages (prefer 1st edition)
awards
Awards(s) the book has won
isbn
Format: "ISBN 1234567890" (prefer 1st edition)
oclc
OCLC number (prefer 1st edition), use when book has no ISBN
dewey
Dewey Decimal System classification
congress
Library of Congress Classification (not to be confused with Library of Congress Control Number)
preceded_by
Title of prior book in series (do not use to connect separate books chronologically}
followed_by
Title of subsequent book in series or sequel (do not use to connect separate books chronologically)

Example

Anne of Green Gables
Cover
First page of Anne of Green Gables.
AuthorLucy Maud Montgomery
IllustratorM. A. and W. A. J. Claus
CountryUnited States
LanguageEnglish
GenreChildren's novel
PublisherL. C. Page & Co.
Publication date
April 1908
Media typePrint (hardcover)
Pages429 pp (first edition)
ISBNN/A Parameter error in {{ISBN}}: invalid character
[[OCLC (identifier)|OCLC]]367111
[[LCC (identifier)|LC Class]]PR6025.O45 A53
Followed byAnne of Avonlea 
{{Infobox book
| name           = Anne of Green Gables
| image          = [[File:FirstPageGreenGables.gif|200px|alt=Cover]]
| image_caption  = First page of ''Anne of Green Gables''.
| author         = [[Lucy Maud Montgomery]]
| title_orig     = 
| translator     = 
| illustrator    = M. A. and W. A. J. Claus
| cover_artist   = 
| country        = [[United States]]
| language       = [[English language|English]]
| series         = 
| subject        = 
| genre          = [[Children's literature|Children's novel]]
| publisher      = [[L. C. Page & Co.]]
| pub_date       = April 1908
| media_type     = Print ([[hardcover]])
| pages          = 429 pp ''(first edition)''
| awards         = 
| isbn           = N/A
| oclc           = 367111
| congress       = PR6025.O45 A53
| preceded_by    = 
| followed_by    = [[Anne of Avonlea]]
}}

Translated books

About how to handle translated books, see the discussion at Template talk:Infobox book/Archive 4#Translated books case study.

COinS

This template produces COinS metadata; see COinS in Wikipedia for background information.

See also