Difference between revisions of "Template:Infobox book/doc"

From Lemopedia
Jump to navigation Jump to search
m (1 revision)
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 +
<includeonly>{{high-use|20,000+}}</includeonly>
 +
{{Auto italic title}}
 
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
 
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
  
{{Auto italic title}}
+
This template is used to present a consistently-formatted table for use in articles about [[book]]s.
 
 
This template is used to present a consistently-formatted table for use in articles about books. Please do not make major changes to this infobox without proposing and discussing it on the talk page first.
 
  
 
=== Usage ===
 
=== Usage ===
Line 11: Line 11:
 
<pre id="autoload">
 
<pre id="autoload">
 
{{Infobox book
 
{{Infobox book
 +
<!-- |italic title = (see above) -->
 
| name            =  
 
| name            =  
 +
| image            = <!-- include the file, px and alt: [[File:Example.jpg|200px|Cover]] -->
 +
| image_caption    =
 +
| author          =
 
| title_orig      =  
 
| title_orig      =  
 
| translator      =  
 
| translator      =  
| image            = <!-- include the [[file:]] and the image size -->
 
| image_caption    =
 
| author          =
 
 
| illustrator      =  
 
| illustrator      =  
 
| cover_artist    =  
 
| cover_artist    =  
Line 39: Line 40:
  
 
=== Parameters ===
 
=== Parameters ===
 
+
''Please spend some time at [[Wikipedia:WikiProject Books|WikiProject Books]] and/or [[Wikipedia:WikiProject Novels|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.
 
* 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.
* Wiki links [[]] are fine in any of the Infobox fields.
+
* [[Wikipedia:Wikilinks|Wikilinks]] can be used in any of the infobox fields.
* ''Please spend some time at [[Wikipedia:WikiProject Books|WikiProject Books]] and/or [[Wikipedia:WikiProject Novels|WikiProject Novels]] for standards on presenting names and other data.''
 
* In the "language" field, '''link to the article that is actually about the language; for example, use''' <nowiki>[[</nowiki>[[English language]]<nowiki>|English]]</nowiki>, '''not''' <nowiki>[[English]]</nowiki>
 
* The preceded_by and followed_by fields both apply to books in a series and to sequels.  They should not connect separate books chronologically.
 
* Use [[OCLC]] when the book has no [[ISBN]].
 
  
; name: Book name. If whole parameter is omitted, 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: <nowiki>[[File:Example.jpg|200px|Cover]]</nowiki>
 +
; image_caption: Image caption (should describe the edition used)
 +
; author: Author(s)
 
; title_orig: Original title, if not in English
 
; title_orig: Original title, if not in English
 
; translator: Translator(s), if original not in English
 
; translator: Translator(s), if original not in English
; image: Image (prefer 1st edition - where permitted)
 
; image_caption: Image caption (should describe the edition used)
 
; author: Author(s)
 
 
; illustrator: Illustrator (where used throughout and a major feature)
 
; illustrator: Illustrator (where used throughout and a major feature)
 
; cover_artist: Cover artist
 
; cover_artist: Cover artist
 
; country: Country of original publication
 
; country: Country of original publication
; language: Language of original book (see note above)
+
; language: Language of original book
 
; series: Series (if any)
 
; series: Series (if any)
 
; subject: (for non-fiction) ''See [[index term]] and [[library classification]]''
 
; subject: (for non-fiction) ''See [[index term]] and [[library classification]]''
Line 63: Line 60:
 
; pub_date: Date published (1st edition)
 
; pub_date: Date published (1st edition)
 
; english_pub_date: Date published in English (1st English edition), if originally published in another language
 
; 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)
+
; media_type: Print / On-line (then binding types etc., if relevant)
 
; pages: Pages (prefer 1st edition)
 
; pages: Pages (prefer 1st edition)
 
; isbn: Format: "ISBN 1234567890" (prefer 1st edition)
 
; isbn: Format: "ISBN 1234567890" (prefer 1st edition)
; oclc: OCLC Number (prefer 1st edition)
+
; 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]])
; preceded_by: Title of prior book in series
+
; preceded_by: Title of prior book in series (do not use to connect separate books chronologically}
; followed_by: Title of subsequent book in series
+
; followed_by: Title of subsequent book in series or sequel (do not use to connect separate books chronologically)
  
 
=== Example ===
 
=== Example ===
 
+
{{Infobox book
{{infobox book
 
 
| name          = Anne of Green Gables
 
| name          = Anne of Green Gables
 +
| image          = [[File:FirstPageGreenGables.gif|200px|Cover]]
 +
| image_caption  = First page of ''Anne of Green Gables''.
 +
| author        = [[Lucy Maud Montgomery]]
 
| title_orig    =  
 
| title_orig    =  
 
| translator    =  
 
| translator    =  
| image          = [[Image:FirstPageGreenGables.gif|200px|Cover]]
 
| image_caption  = First page of ''Anne of Green Gables''.
 
| author        = [[Lucy Maud Montgomery]]
 
 
| illustrator    = M. A. and W. A. J. Claus
 
| illustrator    = M. A. and W. A. J. Claus
 
| cover_artist  =  
 
| cover_artist  =  
| country        = USA
+
| country        = [[United States]]
| language      = English
+
| language      = [[English language|English]]
 
| series        =  
 
| series        =  
 
| subject        =  
 
| subject        =  
Line 90: Line 86:
 
| publisher      = [[L. C. Page & Co.]]
 
| publisher      = [[L. C. Page & Co.]]
 
| pub_date      = April 1908
 
| pub_date      = April 1908
| media_type    = Print (hardcover)
+
| media_type    = Print ([[Hardcover]])
 
| pages          = 429 pp ''(first edition)''
 
| pages          = 429 pp ''(first edition)''
 
| isbn          = N/A
 
| isbn          = N/A
Line 100: Line 96:
  
 
<pre style="overflow:auto; margin:3em 0 0; padding-right:0">
 
<pre style="overflow:auto; margin:3em 0 0; padding-right:0">
{{infobox book
+
{{Infobox book
| name         = Anne of Green Gables
+
| name           = Anne of Green Gables
| title_orig  =
+
| image         = [[File:FirstPageGreenGables.gif|200px|Cover]]
| translator  =
+
| image_caption = First page of ''Anne of Green Gables''.
| image       = [[Image:FirstPageGreenGables.gif|200px|Cover]]
+
| author         = [[Lucy Maud Montgomery]]
| image_caption= First page of ''Anne of Green Gables''.
+
| title_orig    =
| author       = [[Lucy Maud Montgomery]]
+
| translator    =
| illustrator = M. A. and W. A. J. Claus
+
| illustrator   = M. A. and W. A. J. Claus
| cover_artist =  
+
| cover_artist   =  
| country     = Canada
+
| country       = [[United States]]
| language     = English
+
| language       = [[English language|English]]
| series       =  
+
| series         =  
| subject     =  
+
| subject       =  
| genre       = [[Children's literature|Children's novel]]
+
| genre         = [[Children's literature|Children's novel]]
| publisher   = [[L. C. Page & Co.]]
+
| publisher     = [[L. C. Page & Co.]]
| pub_date     = April 1908
+
| pub_date       = April 1908
| media_type   = Print (hardcover)
+
| media_type     = Print ([[Hardcover]])
| pages       = 429 pp ''(first edition)''
+
| pages         = 429 pp ''(first edition)''
| isbn         = N/A
+
| isbn           = N/A
| oclc         = 367111
+
| oclc           = 367111
| congress     = PR6025.O45 A53
+
| congress       = PR6025.O45 A53
| preceded_by =  
+
| preceded_by   =  
| followed_by = [[Anne of Avonlea]]
+
| followed_by   = [[Anne of Avonlea]]
 
}}
 
}}
 
</pre>
 
</pre>
 
 
<!-- customize if needed to illustrate parameter use -->
 
<!-- customize if needed to illustrate parameter use -->
 
=== Translated books ===
 
 
About how to handle translated books, see the discussion at [[Template_talk:Infobox_Book/Archive_4#Translated books case study]].
 
 
=== COinS ===
 
 
{{UF-COinS}}
 
 
=== See also ===
 
 
* {{tl|Infobox book series}}
 
 
<includeonly>
 
<!-- ADD CATEGORIES BELOW THIS LINE -->
 
[[Category:Book infobox templates|Infobox Book]]
 
[[Category:WikiProject Books|*{{PAGENAME}}]]
 
[[Category:WikiProject Novels|*{{PAGENAME}}]]
 
 
<!-- ADD INTERWIKIS BELOW THIS LINE  -->
 
[[ar:قالب:معلومات كتاب]]
 
[[bs:Šablon:Infokutija knjiga]]
 
[[bg:Шаблон:Книга инфо]]
 
[[cy:Nodyn:Gwybodlen llyfr]]
 
[[da:Skabelon:Infoboks bog]]
 
[[es:Plantilla:Ficha de libro]]
 
[[fa:الگو:جعبه کتاب 1]]
 
[[fr:Modèle:Infobox Livre]]
 
[[he:תבנית:ספר]]
 
[[hr:Predložak:Infobox knjiga]]
 
[[id:Templat:Infobox book]]
 
[[ja:Template:基礎情報 書籍]]
 
[[ko:틀:책 정보]]
 
[[lv:Veidne:Info Grāmata]]
 
[[mk:Шаблон:Инфокутија за книга]]
 
[[nl:Sjabloon:Infobox boek]]
 
[[no:mal:Infoboks bok]]
 
[[pl:Szablon:Książka infobox]]
 
[[pt:Predefinição:Info livro]]
 
[[ro:Format:Carte]]
 
[[ru:Шаблон:Издание]]
 
[[sq:Stampa:Infobox libër]]
 
[[ta:வார்ப்புரு:தகவல்பெட்டி_புத்தகம்]]
 
[[th:แม่แบบ:กล่องข้อมูล หนังสือ]]
 
[[uk:Шаблон:Видання]]
 
[[ur:سانچہ:Infobox book]]
 
[[zh:Template:Infobox Book]]
 
[[sv:Mall:Bokfakta]]
 
</includeonly>
 

Latest revision as of 14:50, 27 August 2011

Template:Mbox

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|Cover]] -->
| image_caption    = 
| author           = 
| title_orig       = 
| translator       = 
| illustrator      = 
| cover_artist     = 
| country          = 
| language         = 
| series           = 
| subject          = 
| genre            = 
| publisher        = 
| pub_date         = 
| english_pub_date = 
| media_type       = 
| pages            = 
| 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|Cover]]
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)
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.
Author(s) Lucy Maud Montgomery
Illustrator M. A. and W. A. J. Claus
Country United States
Language English
Genre(s) Children's novel
Publisher L. C. Page & Co.
Publication date April 1908
Media type Print (Hardcover)
Pages 429 pp (first edition)
ISBN N/A
OCLC Number 367111
LC Classification PR6025.O45 A53
Followed by Anne of Avonlea
{{Infobox book
| name           = Anne of Green Gables
| image          = [[File:FirstPageGreenGables.gif|200px|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)''
| isbn           = N/A
| oclc           = 367111
| congress       = PR6025.O45 A53
| preceded_by    = 
| followed_by    = [[Anne of Avonlea]]
}}