Template:Infobox book/doc: Difference between revisions

From Vigyanwiki
< Template:Infobox book
Template>Bobamnertiopsis
(image to file again)
Template>Funandtrvl
m (follow order of template, ce)
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
{{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. Please do not make major changes to this infobox without proposing and discussing it on the talk page first.
 
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 10:
<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 39:


=== Parameters ===
=== Parameters ===
* 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.
* Wiki links [[]] are fine 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.''
* ''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>
* 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>
Line 48: Line 47:


; name: Book name. If whole parameter is omitted, inherited from page title.  
; name: Book name. If whole parameter is omitted, 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
Line 73: Line 72:


=== Example ===
=== Example ===
 
{{Infobox book
{{infobox book
| name          = Anne of Green Gables
| name          = Anne of Green Gables
| title_orig    =
| translator    =
| image          = [[File:FirstPageGreenGables.gif|200px|Cover]]
| image          = [[File:FirstPageGreenGables.gif|200px|Cover]]
| image_caption  = First page of ''Anne of Green Gables''.
| image_caption  = First page of ''Anne of Green Gables''.
| author        = [[Lucy Maud Montgomery]]
| author        = [[Lucy Maud Montgomery]]
| title_orig    =
| translator    =
| 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 88:
| 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 98:


<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       = [[File: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 ===
=== Translated books ===
 
About how to handle translated books, see the discussion at [[Template talk:Infobox book/Archive 4#Translated books case study]].
About how to handle translated books, see the discussion at [[Template_talk:Infobox_Book/Archive_4#Translated books case study]].


=== COinS ===
=== COinS ===
{{UF-COinS}}
{{UF-COinS}}


=== See also ===
=== See also ===
* {{tl|Infobox book series}}
* {{tl|Infobox book series}}


<includeonly>
<includeonly>
<!-- ADD CATEGORIES BELOW THIS LINE -->
<!-- ADD CATEGORIES BELOW THIS LINE -->
[[Category:Book infobox templates|Infobox Book]]
[[Category:Book infobox templates]]
[[Category:WikiProject Books|*{{PAGENAME}}]]
[[Category:WikiProject Books|*{{PAGENAME}}]]
[[Category:WikiProject Novels|*{{PAGENAME}}]]
[[Category:WikiProject Novels|*{{PAGENAME}}]]

Revision as of 23:21, 15 May 2011

Template:Auto italic title

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

{{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

  • 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.
  • Please spend some time at WikiProject Books and/or 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 [[English language|English]], not [[English]]
  • 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.
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 (see note above)
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)
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
followed_by
Title of subsequent book in series

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|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]]
}}

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