Difference between revisions of "Template:Infobox book/doc"
Jump to navigation
Jump to search
imported>Bobamnertiopsis (image to file again) |
imported>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 --> | ||
| − | + | 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 | ||
=== 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 = | ||
| − | |||
| − | |||
| − | |||
| 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 | + | * 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 | ||
| − | |||
| − | |||
| − | |||
; 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 | |
| − | {{ | ||
| name = Anne of Green Gables | | name = Anne of Green Gables | ||
| − | |||
| − | |||
| 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 = | + | | 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 ( | + | | 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 |
| − | | name | + | | name = Anne of Green Gables |
| − | + | | image = [[File:FirstPageGreenGables.gif|200px|Cover]] | |
| − | + | | image_caption = First page of ''Anne of Green Gables''. | |
| − | | image | + | | author = [[Lucy Maud Montgomery]] |
| − | | image_caption= First page of ''Anne of Green Gables''. | + | | title_orig = |
| − | | author | + | | translator = |
| − | | illustrator | + | | illustrator = M. A. and W. A. J. Claus |
| − | | cover_artist = | + | | cover_artist = |
| − | | country | + | | country = [[United States]] |
| − | | language | + | | language = [[English language|English]] |
| − | | series | + | | series = |
| − | | subject | + | | subject = |
| − | | genre | + | | genre = [[Children's literature|Children's novel]] |
| − | | publisher | + | | publisher = [[L. C. Page & Co.]] |
| − | | pub_date | + | | pub_date = April 1908 |
| − | | media_type | + | | media_type = Print ([[Hardcover]]) |
| − | | pages | + | | pages = 429 pp ''(first edition)'' |
| − | | isbn | + | | isbn = N/A |
| − | | oclc | + | | oclc = 367111 |
| − | | congress | + | | congress = PR6025.O45 A53 |
| − | | preceded_by | + | | preceded_by = |
| − | | followed_by | + | | 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 [[ | ||
=== 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 | + | [[Category:Book infobox templates]] |
[[Category:WikiProject Books|*{{PAGENAME}}]] | [[Category:WikiProject Books|*{{PAGENAME}}]] | ||
[[Category:WikiProject Novels|*{{PAGENAME}}]] | [[Category:WikiProject Novels|*{{PAGENAME}}]] | ||
Revision as of 17:51, 15 May 2011
| This is a documentation subpage for Template:Infobox book. It contains usage information, categories and other content that is not part of the original template page. |
This infobox should italicize the article title automatically. If this is not required, add |italic title=no to the list of parameters. If this is required but the title is not being italicized, try |italic title=force. |
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
![]() First page of Anne of Green Gables. | |
| Author | Lucy Maud Montgomery |
|---|---|
| Illustrator | M. A. and W. A. J. Claus |
| Country | United States |
| Language | English |
| Genre | Script error: No such module "Wikidata". |
| Publisher | L. C. Page & Co. |
Publication date | Script error: No such module "Wikidata". |
| Media type | Print (Hardcover) |
| Pages | Script error: No such module "Wikidata". |
| ISBN | N/A Parameter error in {{ISBN}}: Invalid ISBN. |
| OCLC | 367111 |
| Script error: No such module "Wikidata". | |
| LC Class | Script error: No such module "Wikidata". |
| 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]]
}}
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
