Template:Infobox book/doc: Difference between revisions
From Vigyanwiki
Template>Alex:D (+ro) |
Template>Malyctenar (saving space, update description) |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly>{{template doc page transcluded}}</includeonly><noinclude><!-- | ||
-->{{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. | 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== | ||
{| class="wikitable" | {| class="wikitable" | ||
! Parameters !! Brief instructions | ! Parameters !! Brief instructions | ||
|- | |- valign="top" | ||
| <pre> | |||
{{Infobox Book | {{Infobox Book | ||
| name = | | name = COMPULSORY | ||
| title_orig = | | title_orig = | ||
| translator = | | translator = | ||
| image = | | image = | ||
| image_caption = | | image_caption = | ||
| author = | | author = COMPULSORY | ||
| illustrator = | | illustrator = | ||
| cover_artist = | | cover_artist = | ||
Line 28: | Line 24: | ||
| subject = | | subject = | ||
| genre = | | genre = | ||
| publisher = | | publisher = COMPULSORY | ||
| pub_date = | | pub_date = COMPULSORY | ||
| english_pub_date = | | english_pub_date = | ||
| media_type = | | media_type = | ||
| pages = | | pages = | ||
| isbn = | | isbn = | ||
| oclc = | | oclc = | ||
| preceded_by = | | preceded_by = | ||
| followed_by = | | followed_by = | ||
}}</pre> | }}</pre> | ||
| style=" | | <pre style="border:none; font-family:sans-serif"> | ||
Book name | Book name | ||
Original title, if not in English | Original title, if not in English | ||
Translator( | Translator(s), if original not in English | ||
Image (prefer 1st edition - where permitted) | Image (prefer 1st edition - where permitted) | ||
Image caption (should describe the edition used) | Image caption (should describe the edition used) | ||
Line 51: | Line 47: | ||
Language of original book (see note below) | Language of original book (see note below) | ||
Series (if any) | Series (if any) | ||
Subject (only use for non-fiction | Subject or subjects (only use for non-fiction) | ||
Genre (only use for fiction | Genre or genres (only use for fiction) | ||
Publisher of main publication (prefer 1st edition) | Publisher of main publication (prefer 1st edition) | ||
Date published (1st edition) | Date published (1st edition) | ||
Published in English (1st English | Published in English (1st English edition) | ||
Media type (paperback, hardback) | Media type (paperback, hardback) | ||
Pages (prefer 1st edition) | Pages (prefer 1st edition) | ||
ISBN (prefer 1st edition) | ISBN (prefer 1st edition) | ||
OCLC | OCLC | ||
(link to) prior book in series | |||
subsequent book in series | |||
</pre> | |||
|} | |} | ||
* | * Parameters not marked as compulsory 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. | * Include the HTML comments before and following the template; they help inexperienced editors. | ||
* ''Please spend some time at the [[Wikipedia:WikiProject Books|Books | * ''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, ''' | * In the "language" field, '''link to an 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. | * 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. | * Use [[OCLC]] if possible when the book has no [[ISBN]] number. | ||
== Example == | == Example == | ||
{{Infobox Book | |||
| name = Anne of Green Gables | | name = Anne of Green Gables | ||
| title_orig = | | title_orig = | ||
| translator = | | translator = | ||
| image = [[Image:Montgomery Anne of Green Gables cover.jpg|200px]] | | image = [[Image:Montgomery Anne of Green Gables cover.jpg|200px]] | ||
| image_caption = Anne of Green Gables first edition cover. | | image_caption = Anne of Green Gables first edition cover. | ||
| author = [[Lucy Maud Montgomery]] | | author = [[Lucy Maud Montgomery]] | ||
Line 127: | Line 95: | ||
| followed_by = [[Anne of Avonlea]] | | followed_by = [[Anne of Avonlea]] | ||
}} | }} | ||
|} | |||
<pre style="overflow:auto; margin:3em 0 0; padding-right:0">{{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.]] | |||
| pub_date = April 1908 | |||
| media_type = Print ([[Hardcover]]) | |||
| pages = 429 pp ''(first edition)'' | |||
| isbn = NA | |||
| oclc = 367111 | |||
| preceded_by = | |||
| followed_by = [[Anne of Avonlea]] | |||
}} | |||
</pre> | |||
<!-- customize if needed to illustrate parameter use --> | <!-- customize if needed to illustrate parameter use --> | ||
Line 135: | Line 128: | ||
<includeonly> | <includeonly> | ||
<!-- ADD CATEGORIES BELOW THIS LINE --> | <!-- ADD CATEGORIES BELOW THIS LINE --> | ||
[[Category: | [[Category:Publishing infobox templates|Book]] | ||
[[Category:Book templates|Infobox Book]] | [[Category:Book templates|Infobox Book]] | ||
[[Category:WikiProject Books|!Infobox Book]] | [[Category:WikiProject Books|!Infobox Book]] | ||
Line 141: | Line 134: | ||
[[Category:WikiProject Fictional series|!Infobox Book]] | [[Category:WikiProject Fictional series|!Infobox Book]] | ||
[[Category:Templates using ParserFunctions|Infobox Book]] | [[Category:Templates using ParserFunctions|Infobox Book]] | ||
[[Category:Infobox templates|Book]] | [[Category:Infobox templates|Book]]<!-- | ||
<!-- | |||
ADD INTERWIKIS BELOW THIS LINE --> | |||
--> | |||
[[bs:Šablon:Infokutija knjiga]] | [[bs:Šablon:Infokutija knjiga]] | ||
[[de:Vorlage:Infobox Buch]] | [[de:Vorlage:Infobox Buch]] | ||
Line 158: | Line 150: | ||
[[sq:Stampa:Infobox libër]] | [[sq:Stampa:Infobox libër]] | ||
[[zh:Template:Infobox Book]] | [[zh:Template:Infobox Book]] | ||
</includeonly> | </includeonly> |
Revision as of 23:09, 31 August 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 = COMPULSORY | title_orig = | translator = | image = | image_caption = | author = COMPULSORY | illustrator = | cover_artist = | country = | language = | series = | subject = | genre = | publisher = COMPULSORY | pub_date = COMPULSORY | english_pub_date = | media_type = | pages = | isbn = | oclc = | preceded_by = | followed_by = }} |
Book name 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 (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 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, hardback) Pages (prefer 1st edition) ISBN (prefer 1st edition) OCLC (link to) prior book in series subsequent book in series |
- Parameters not marked as compulsory 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 WikiProject Books and its talk page to find about standards on presenting names and other data.
- In the "language" field, 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
{{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.]] | pub_date = April 1908 | media_type = Print ([[Hardcover]]) | pages = 429 pp ''(first edition)'' | isbn = NA | oclc = 367111 | preceded_by = | followed_by = [[Anne of Avonlea]] }}
COinS
This template produces COinS metadata; see COinS in Wikipedia for background information.