Template:Infobox book/doc: Difference between revisions
From Vigyanwiki
Template>Yodin (putting commented alternate parameters on the same line) |
Template>Yodin (updating to current revision) |
||
Line 26: | Line 26: | ||
| subject = ''subject'' | | subject = ''subject'' | ||
| genre = ''genre'' | | genre = ''genre'' | ||
| | | published = ''published'' | ||
| media_type = ''media_type'' | | media_type = ''media_type'' | ||
| pages = ''pages'' | | pages = ''pages'' | ||
Line 47: | Line 44: | ||
| name = | | name = | ||
| image = | | image = | ||
| caption = | | caption = | ||
| alt = | | alt = | ||
Line 63: | Line 58: | ||
| subject = | | subject = | ||
| genre = | | genre = | ||
| | | published = | ||
| media_type = | | media_type = | ||
| pages = | | pages = | ||
Line 92: | Line 84: | ||
; caption: Image caption (should describe the edition used) | ; caption: Image caption (should describe the edition used) | ||
; alt: Image alternate text | ; alt: Image alternate text | ||
; author: Author(s) | ; editor/editors: Editor(s) '''only when they are the primary contributor''', e.g. dictionaries, encylopedias, anthologies | ||
; author/authors: Author(s) | |||
; title_orig: Original title, if not in English | ; title_orig: Original title, if not in English | ||
; orig_lang_code: [[Template:ISO 639 name|ISO code]] of original language, required if using {{para|title_orig}}, {{para|native_wikisource}} or {{para|native_external_url}} | ; orig_lang_code: [[Template:ISO 639 name|ISO code]] of original language, required if using {{para|title_orig}}, {{para|native_wikisource}} or {{para|native_external_url}} | ||
Line 102: | Line 95: | ||
; language: Language of original book | ; language: Language of original book | ||
; series: Series (if any) | ; series: Series (if any) | ||
; subject: (for non-fiction) ''See [[index term]] and [[library classification]]'' | ; subject/subjects: (for non-fiction) ''See [[index term]] and [[library classification]]'' | ||
; genre: (for fiction) ''See [[literary genre]]'' | ; genre/genres: (for fiction) ''See [[literary genre]]'' | ||
; | ; published: Using the following format: year (publisher) (language, when originally written in a foreign language); use {{tl|plainlist}} when there is more than one notable edition | ||
; publisher/publisher2/pub_date/english_pub_date: [[:Category:Infobox book using deprecated parameters|Deprecated]] (use published instead) | |||
; english_pub_date: | |||
; media_type: Print / On-line (then binding types etc., if relevant) | ; media_type: Print / On-line (then binding types etc., if relevant) | ||
; pages: Pages (prefer 1st edition) | ; pages: Pages (prefer 1st edition) | ||
; awards: Awards(s) the book has won | ; award/awards: Awards(s) the book has won | ||
; isbn: Format: "ISBN 1-234-56789-0" (prefer 1st edition) | ; isbn: Format: "ISBN 1-234-56789-0" (prefer 1st edition) | ||
; oclc: [[OCLC]] number (prefer 1st edition), use when book has no ISBN | ; oclc: [[OCLC]] number (prefer 1st edition), use when book has no ISBN |
Revision as of 09:16, 25 August 2013
This is a documentation subpage for Template:Infobox book. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used to present a consistently-formatted table for use in articles about books.
Usage
Author | author |
---|---|
Original title | title_orig |
Working title | title_working |
Translator | translator |
Illustrator | illustrator |
Cover artist | cover_artist |
Country | country |
Language | language |
Series | series |
Subject | subject |
Genre | genre |
Published | published |
Media type | media_type |
Pages | pages |
Awards | awards |
ISBN | isbn Parameter error in {{ISBN}}: invalid character |
[[OCLC (identifier)|OCLC]] | oclc |
dewey | |
[[LCC (identifier)|LC Class]] | congress |
Preceded by | preceded_by |
Followed by | followed_by |
Original text | title_orig at Interlingua Wikisource |
Translation | name at Wikisource |
{{Infobox book <!-- |italic title = (see above) --> | name = | image = | caption = | alt = | author = | title_orig = | orig_lang_code = | title_working = | translator = | illustrator = | cover_artist = | country = | language = | series = | subject = | genre = | published = | media_type = | pages = | awards = | isbn = | oclc = | dewey = | congress = | preceded_by = <!-- | preceded_by_quotation_marks = (if preceded by a short work) --> | followed_by = <!-- | followed_by_quotation_marks = (if followed by a short work) --> | native_wikisource = <!-- | native_external_url = | native_external_host = (if no native_wikisource) --> | wikisource = <!-- | external_url = | external_host = (if no wikisource) --> }}
Parameters
Please see WikiProject Books and/or WikiProject Novels for standards on presenting names and other data.
- 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.
- Wikilinks can be used in any of the infobox fields.
- name
- Book name. If parameter is left blank, name will be inherited from page title.
- image
- Image (prefer 1st edition – where permitted), use bare filename:
Example.jpg
- image_size
- Default size is 200px. Use a number to change image size
- border
- Inserting
yes
here will result in a 1px grey border around the image, useful for instances where the image and the background will blend together (such as a book cover with a white background). If no border is necessary, this parameter should not be used. Note: does not apply if|image=
uses the full image syntax (e.g.[[Image:Example.jpg]]
); in this case add the border in|image=
(e.g.[[Image:Example.jpg|border=yes]]
) - caption
- Image caption (should describe the edition used)
- alt
- Image alternate text
- editor/editors
- Editor(s) only when they are the primary contributor, e.g. dictionaries, encylopedias, anthologies
- author/authors
- Author(s)
- title_orig
- Original title, if not in English
- orig_lang_code
- ISO code of original language, required if using
|title_orig=
,|native_wikisource=
or|native_external_url=
- working_title
- Working title, when different from published title
- 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
- series
- Series (if any)
- subject/subjects
- (for non-fiction) See index term and library classification
- genre/genres
- (for fiction) See literary genre
- published
- Using the following format: year (publisher) (language, when originally written in a foreign language); use {{plainlist}} when there is more than one notable edition
- publisher/publisher2/pub_date/english_pub_date
- Deprecated (use published instead)
- media_type
- Print / On-line (then binding types etc., if relevant)
- pages
- Pages (prefer 1st edition)
- award/awards
- Awards(s) the book has won
- isbn
- Format: "ISBN 1-234-56789-0" (prefer 1st edition)
- oclc
- OCLC number (prefer 1st edition), use when book has no ISBN
- 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; will be italicised by template code (do not use to connect separate books chronologically)
- preceded_by_quotation_marks
- Title of prior work in series if a minor work; will be surrounded with quotation marks by template code (do not use to connect separate books chronologically)
- followed_by
- Title of subsequent book in series or sequel; will be italicised by template code (do not use to connect separate books chronologically)
- followed_by_quotation_marks
- Title of subsequent work in series or sequel if a minor work; will be surrounded with quotation marks by template code (do not use to connect separate books chronologically)
- native_wikisource
- Page name of original text at a foreign language Wikisource (if applicable); use
|orig_lang_code=
to specify which Wikisource. Tracked in Category:Articles that link to foreign language Wikisource - native_external_url
- URL to a site hosting the original text when in a foreign language, and in the public domain but not yet on Wikisource. Non-commercial, open and accessible sites should be used in preference, sites which rip the text from other sites should be avoided, and illegal content is never to be linked to
- native_external_host
- The name of the website linked to by
|native_external_url=
, e.g. Project Gutenberg, Internet Archive. Should be wikilinked if possible - wikisource
- Title of work if in the public domain and hosted at English Wikisource:. Tracked in Category:Articles that link to Wikisource
- external_url
- URL to a site hosting the text in English (whether the original or a translation), when in the public domain but not yet on Wikisource. Non-commercial, open and accesible sites should be used in preference, sites which rip the text from other sites should be avoided, and illegal content is never to be linked to
- external_host
- The name of the website linked to by
|external_url=
, e.g. Project Gutenberg, Internet Archive. Should be wikilinked if possible
Example
Author | Lucy Maud Montgomery |
---|---|
Illustrator | M. A. and W. A. J. Claus |
Country | United States |
Language | English |
Genre | Children's novel |
Publisher | L. C. Page & Co. |
Publication date | April 1908 |
Media type | Print (hardcover) |
Pages | 429 pp (first edition) |
ISBN | N/A Parameter error in {{ISBN}}: invalid character |
[[OCLC (identifier)|OCLC]] | 367111 |
[[LCC (identifier)|LC Class]] | PR6025.O45 A53 |
Followed by | Anne of Avonlea |
Text | Anne of Green Gables at Wikisource |
{{Infobox book | name = Anne of Green Gables | image = FirstPageGreenGables.gif | caption = First page of ''Anne of Green Gables''. | alt = Cover | author = [[Lucy Maud Montgomery]] | title_orig = | working_title = | translator = | illustrator = M. A. and W. A. J. Claus | cover_artist = | country = United States | language = English | series = | subject = | genre = [[Children's literature|Children's novel]] | publisher = [[L. C. Page & Co.]] | pub_date = {{Start date|1908|04}} | media_type = Print ([[hardcover]]) | pages = 429 pp ''(first edition)'' | awards = | isbn = N/A | oclc = 367111 | congress = PR6025.O45 A53 | preceded_by = | followed_by = [[Anne of Avonlea]] | wikisource = Anne of Green Gables }}
Translated books
About how to handle translated books, see the Translated books case study.
COinS
This template produces COinS metadata; see COinS in Wikipedia for background information.
Tracking
Instances without images cause the article to be added to Category:Books with missing cover.
See also