Difference between revisions of "Template:Infobox book series/doc"
imported>Ergo Sum (→TemplateData: add oclc) |
imported>Vanisaac m (→See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
||
| (4 intermediate revisions by 2 users not shown) | |||
| Line 74: | Line 74: | ||
"type": "string", | "type": "string", | ||
"suggested": true, | "suggested": true, | ||
| − | "description": "Book name or title" | + | "description": "Book name or title" |
}, | }, | ||
"image": { | "image": { | ||
"label": "Image", | "label": "Image", | ||
| − | "type": " | + | "type": "wiki-file-name", |
"required": false, | "required": false, | ||
"description": "Prefer first edition where permitted" | "description": "Prefer first edition where permitted" | ||
| Line 87: | Line 87: | ||
"required": false, | "required": false, | ||
"description": "Should describe the edition used" | "description": "Should describe the edition used" | ||
| + | }, | ||
| + | "alt": { | ||
| + | "label": "Alt text", | ||
| + | "type": "string", | ||
| + | "required": false, | ||
| + | "description": "Alternative text for image" | ||
}, | }, | ||
"books": { | "books": { | ||
| Line 174: | Line 180: | ||
"number_of_books": { | "number_of_books": { | ||
"label": "Number of books", | "label": "Number of books", | ||
| − | "type": " | + | "type": "number", |
"suggested": true, | "suggested": true, | ||
"description": "Number of works in the series" | "description": "Number of works in the series" | ||
| Line 180: | Line 186: | ||
"list_books": { | "list_books": { | ||
"label": "List of books", | "label": "List of books", | ||
| − | "type": " | + | "type": "wiki-page-name", |
"required": false, | "required": false, | ||
"description": "If a Wikipedia 'List of' article exists for the books, put its name here. Do not use a link (i.e. do not include [[ ]])." | "description": "If a Wikipedia 'List of' article exists for the books, put its name here. Do not use a link (i.e. do not include [[ ]])." | ||
| Line 204: | Line 210: | ||
"oclc": { | "oclc": { | ||
"label": "OCLC", | "label": "OCLC", | ||
| − | "type": " | + | "type": "number", |
"required": false, | "required": false, | ||
"description": "Identifying number assigned by the Online Computer Library Center" | "description": "Identifying number assigned by the Online Computer Library Center" | ||
| Line 214: | Line 220: | ||
"image", | "image", | ||
"image_caption", | "image_caption", | ||
| + | "alt", | ||
"books", | "books", | ||
"author", | "author", | ||
| Line 247: | Line 254: | ||
* {{tl|Book list}}—for creating formatted table of books in a series within the series article (or related list) | * {{tl|Book list}}—for creating formatted table of books in a series within the series article (or related list) | ||
| − | <includeonly> | + | <includeonly>{{Sandbox other|| |
<!-- CATEGORIES GO HERE AND INTERWIKIS GO TO WIKIDATA, THANKS --> | <!-- CATEGORIES GO HERE AND INTERWIKIS GO TO WIKIDATA, THANKS --> | ||
[[Category:Book infobox templates|Book series]] | [[Category:Book infobox templates|Book series]] | ||
[[Category:Templates that add a tracking category]] | [[Category:Templates that add a tracking category]] | ||
| − | </includeonly> | + | }}</includeonly> |
Latest revision as of 18:12, 25 April 2020
| This is a documentation subpage for Template:Infobox book series. It contains usage information, categories and other content that is not part of the original template page. |
| This template's documentation is missing, inadequate, or does not accurately describe its functionality and/or the parameters in its code. Please help to expand and improve it. |
| This template uses Lua: |
This template is for use on a book series main page.
Usage
Template:Parameter names example
{{Infobox book series
| name =
| image = <!-- Example.jpg -->
| image_caption =
| books =
| author =
| editors =
| title_orig =
| translator =
| illustrator =
| cover_artist =
| country =
| language =
| discipline = <!-- or |genre= -->
| publisher =
| pub_date =
| english_pub_date =
| media_type =
| number_of_books =
| list_books =
| oclc =
| preceded by =
| followed by =
| website =
}}
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 or title. If parameter is left blank, name will be inherited from the Wikipedia page where this infobox is invoked.
- image
- Image (prefer 1st edition – where permitted)
- image_caption
- Image caption (should describe the edition used)
- books
- List of works included in the series, using {{plainlist}}.
- author
- Author(s)
- editors
- Editor(s) only when they are the primary contributor, e.g. dictionaries, encyclopedias, anthologies
- 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
- discipline or genre
- See literary genre
- publisher
- Name of publisher; use {{plainlist}} when there is more than one notable edition
- pub_date
- Date of publication; use {{plainlist}} when there is more than one notable edition
- media_type
- Print / Digital (then binding types etc., if relevant)
- number_of_books
- Number of works in the series
- list_books
- If a Wikipedia "List of" article exists for the books, put its name here. Do not use a link (i.e. do not include [[ ]]).
- preceded_by
- Title of prior series.
- followed_by
- Title of subsequent series.
- website
- for the publisher's or author's website about the book.
TemplateData
TemplateData documentation used by VisualEditor and other tools
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
See the monthly parameter usage report for this template.
TemplateData for Infobox book series A template for displaying information related to a book series.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Tracking category
See also
- {{Infobox book}}
- {{Book list}}—for creating formatted table of books in a series within the series article (or related list)