Template:Infobox book/doc: Difference between revisions

From Vigyanwiki
< Template:Infobox book
Template>Bellhalla
m (→‎Usage: added oclc parameter)
Template>Bellhalla
m (expanded documentation based on Template talk:Infobox Book)
Line 6: Line 6:
  -->{{template doc page viewed directly}}</noinclude>
  -->{{template doc page viewed directly}}</noinclude>
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
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. __NOTOC__
==Usage==
==Usage==
 
{| class="wikitable"
<pre style="width:35em">
|- width="50%" valign="top" style="vertical-align:top;"
! Parameters !! Brief instructions
|- width="50%" valign="top" style="vertical-align:top;"
| style="vertical-align:top;padding:1ex;" |<pre>
{{Infobox Book  
{{Infobox Book  
| name          =  
| name          =  
| title_orig    = (use if not originally in English)
| title_orig    =  
| translator    =  
| translator    =  
| image        =  
| image        =  
Line 25: Line 30:
| publisher    =  
| publisher    =  
| release_date  =  
| release_date  =  
| english_release_date =
| english_release_date =  
| media_type    =  
| media_type    =  
| pages        =  
| pages        =  
| isbn          =  
| isbn          =  
| oclc          =
| oclc          =  
| preceded_by  =  
| preceded_by  =  
| followed_by  =  
| followed_by  =  
}}</pre>
| style="vertical-align:top;padding:1ex;" |<pre>
Book name
Original title, if not in English
Translator(or translators), if original not in English
Image (prefer 1st edition - where permitted)
Image caption (should describe the edition used)
Author (or authors)
Illustrator used consistently throughout (where illustrations are a major feature)
Cover artist
Country of original publication
Language of original book (see note below)
Series (if any)
Subject (only use for non-fiction) (or subjects)
Genre (only use for fiction) (or genres)
Publisher of main publication (prefer 1st edition)
Date published (1st edition)
Release date (1st English language edition)
Media type (paperback, hardback)
Pages (prefer 1st edition)
ISBN (prefer 1st edition)
OCLC
Title of prior book in series
Title of subsequent book in series
</pre>
|}
* Any of the items above 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.
* Include the HTML comments before and following the template; they help inexperienced editors.
* ''Please spend some time at the [[Wikipedia:WikiProject Books|Books WikiProject]] article and its [[Wikipedia talk:WikiProject Books|talk page]] for standards on presenting names and other data.''
* In the "language" field, '''please be sure that you link to an article that is actually about the language; for example, use '''<nowiki>[[</nowiki>[[English language]]<nowiki>|English]]</nowiki>''', not''' <nowiki>[[</nowiki>[[English]]<nowiki>]]</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]] if possible when the book has no [[ISBN]] number.
== Example ==
{| {{easytable}}
! Code
! Result
|- style="vertical-align:top;"
| <pre>{{Infobox Book
| name          = Anne of Green Gables
| title_orig    =
| translator    =
| image          = [[Image:Montgomery Anne of Green Gables cover.jpg|200px]]
| image          = Anne of Green Gables first edition cover.
| 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.]]
| release_date  = April 1908
| media_type    = Print ([[Hardcover]])
| pages          = 429 pp ''(first edition)''
| isbn          = NA
| oclc          = 367111
| preceded_by    =
| followed_by    = [[Anne of Avonlea]]
}}
}}
</pre>
</pre>
||{{Infobox Book
| name          = Anne of Green Gables
| title_orig    =
| translator    =
| image          = [[Image:Montgomery Anne of Green Gables cover.jpg|200px]]
| image_caption  = Anne of Green Gables first edition cover.
| 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.]]
| release_date  = April 1908
| media_type    = Print ([[Hardcover]])
| pages          = 429 pp ''(first edition)''
| isbn          = NA
| oclc          = 367111
| preceded_by    =
| followed_by    = [[Anne of Avonlea]]
}}
|}
<!-- customize if needed to illustrate parameter use -->


See the talk page for more thorough documentation.
<!-- Nonsense... it's nearly trivial {{esoteric}} --->
Please do not make major changes to the infobox without proposing and discussing it on the talk page first.
<includeonly>
<includeonly>
<!-- ADD CATEGORIES BELOW THIS LINE -->
<!-- ADD CATEGORIES BELOW THIS LINE -->

Revision as of 18:57, 11 June 2007

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        = 
| illustrator   = 
| cover_artist  = 
| country       = 
| language      = 
| series        = 
| subject       = 
| genre         = 
| publisher     = 
| release_date  = 
| english_release_date = 
| media_type    = 
| pages         = 
| isbn          = 
| oclc          = 
| preceded_by   = 
| followed_by   = 
}}
 
Book name
Original title, if not in English
Translator(or translators), if original not in English
Image (prefer 1st edition - where permitted)
Image caption (should describe the edition used)
Author (or authors)
Illustrator used consistently throughout (where illustrations are a major feature)
Cover artist
Country of original publication
Language of original book (see note below)
Series (if any)
Subject (only use for non-fiction) (or subjects)
Genre (only use for fiction) (or genres)
Publisher of main publication (prefer 1st edition)
Date published (1st edition)
Release date (1st English language edition)
Media type (paperback, hardback)
Pages (prefer 1st edition)
ISBN (prefer 1st edition)
OCLC
Title of prior book in series
Title of subsequent book in series
 
  • Any of the items above 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.
  • Include the HTML comments before and following the template; they help inexperienced editors.
  • Please spend some time at the Books WikiProject article and its talk page for standards on presenting names and other data.
  • In the "language" field, please be sure that you link to an 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 if possible when the book has no ISBN number.


Example

Code Result
{{Infobox Book 
| name           = Anne of Green Gables 
| title_orig     = 
| translator     = 
| image          = [[Image:Montgomery Anne of Green Gables cover.jpg|200px]] 
| image          = Anne of Green Gables first edition cover. 
| 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.]] 
| release_date   = April 1908 
| media_type     = Print ([[Hardcover]]) 
| pages          = 429 pp ''(first edition)'' 
| isbn           = NA 
| oclc           = 367111
| preceded_by    = 
| followed_by    = [[Anne of Avonlea]]
}}

Template:Infobox Book