Template:Infobox book/doc: Difference between revisions

From Vigyanwiki
< Template:Infobox book
Template>Jarry1250
(Correct documentation for isbn; shortened some lines)
Template>Jarry1250
(→‎Usage: HTML comments don't exist; change columns)
Line 11: Line 11:
| <pre>
| <pre>
{{Infobox Book
{{Infobox Book
| name          = if omitted, inherited from page title
| name          =  
| title_orig    =  
| title_orig    =  
| translator    =  
| translator    =  
Line 36: Line 36:
| <pre>
| <pre>


Book name
Book name. If omitted, inherited from page title.
Original title, if not in English
Original title, if not in English
Translator(s), if original not in English
Translator(s), if original not in English
Line 58: Line 58:
Title of prior book in series
Title of prior book in series
Title of subsequent book in series
Title of subsequent book in series
</pre>
</pre>
|}
|}
Line 63: Line 64:
* Parameters not marked "required" 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 not marked "required" 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.
* Include the HTML comments before and following the template; they help inexperienced editors.
* ''Please spend some time at the [[Wikipedia:WikiProject Books|WikiProject Books]] and its [[Wikipedia talk:WikiProject Books|talk page]] to find about  standards on presenting names and other data.''
* ''Please spend some time at the [[Wikipedia:WikiProject Books|WikiProject Books]] and its [[Wikipedia talk:WikiProject Books|talk page]] to find about  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>

Revision as of 19:00, 18 February 2009

Template:Template doc page viewed directly 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

Parameters Brief instructions
{{Infobox Book
| name          = 
| title_orig    = 
| translator    = 
| image         = 
| image_caption = 
| author        = required
| illustrator   = 
| cover_artist  = 
| country       = 
| language      = 
| series        = 
| subject       = 
| genre         = 
| publisher     = required
| pub_date      = required
| english_pub_date = 
| media_type    = 
| pages         = 
| isbn          = 
| oclc          = 
| preceded_by   = 
| followed_by   = 
}}

Book name. If omitted, inherited from page title.
Original title, if not in English
Translator(s), if original not in English
Image (prefer 1st edition - where permitted)
Image caption (should describe the edition used)
Author(s)
Illustrator (where used throughout and a major feature)
Cover artist
Country of original publication
Language of original book (see note below)
Series (if any)
Subject or subjects (only use for non-fiction)
Genre or genres (only use for fiction)
Publisher of main publication (prefer 1st edition)
Date published (1st edition)
Published in English (1st English edition)
Media type (paperback, hardcover)
Pages (prefer 1st edition)
Format: 1234567890 (prefer 1st edition)
OCLC (prefer 1st edition)
Title of prior book in series
Title of subsequent book in series

  • Parameters not marked "required" 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 the WikiProject Books and its talk page to find about 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.

Example

Template:Infobox Book

{{Infobox Book
| name         = Anne of Green Gables
| title_orig   = 
| 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
| cover_artist = 
| country      = [[Canada]]
| 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
| preceded_by  = 
| followed_by  = [[Anne of Avonlea]]
}}


Translated books

About how to handle translated books, see the discusion at Template talk:Infobox Book#Translated books case study.

COinS

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