Template:Infobox book series/doc: Difference between revisions
From Vigyanwiki
temp>Ergo Sum (header) |
temp>Ergo Sum (→TemplateData: add template dat) |
||
Line 63: | Line 63: | ||
== TemplateData == | == TemplateData == | ||
{{collapse top|[[Wikipedia:TemplateData|TemplateData]] documentation used by [[Wikipedia:VisualEditor|VisualEditor]] and other tools}} | |||
{{TemplateData header|noheader=1}} | |||
<div style="width:auto; overflow:scroll"> | |||
<templatedata> | |||
{ | |||
"description": "A template for displaying information related to the ordination history of a member of the clergy.", | |||
"params": { | |||
"name": { | |||
"label": "Name", | |||
"type": "string", | |||
"suggested": true, | |||
"description": "Book name or title", | |||
}, | |||
"image": { | |||
"label": "Image", | |||
"type": "string", | |||
"required": false, | |||
"description": "Prefer first edition where permitted" | |||
}, | |||
"image_caption": { | |||
"label": "Image caption", | |||
"type": "string", | |||
"required": false, | |||
"description": "Should describe the edition used" | |||
}, | |||
"books": { | |||
"label": "Books", | |||
"type": "string", | |||
"required": false, | |||
"description": "List of works included in the series, using {{plainlist}}" | |||
}, | |||
"author": { | |||
"label": "Author", | |||
"type": "string", | |||
"suggested": true, | |||
"description": "Author(s)" | |||
}, | |||
"editors": { | |||
"label": "Editors", | |||
"type": "string", | |||
"required": false, | |||
"description": "Editor(s) only when they are the primary contributor, e.g. dictionaries, encyclopedias, anthologies" | |||
}, | |||
"title_orig": { | |||
"label": "Original title", | |||
"type": "string", | |||
"required": false, | |||
"description": "Original title, if not in English" | |||
}, | |||
"translator": { | |||
"label": "Translator", | |||
"type": "string", | |||
"required": false, | |||
"description": "Translator(s), if original not in English" | |||
}, | |||
"illustrator": { | |||
"label": "Illustrator", | |||
"type": "string", | |||
"required": false, | |||
"description": "Illustrator (where used throughout and a major feature)" | |||
}, | |||
"cover_artist": { | |||
"label": "Cover artist", | |||
"type": "string", | |||
"required": false, | |||
"description": "Creator of the cover art" | |||
}, | |||
"country": { | |||
"label": "Country", | |||
"type": "string", | |||
"required": false, | |||
"description": "Country of original publication" | |||
}, | |||
"language": { | |||
"label": "Language", | |||
"type": "string", | |||
"suggested": true, | |||
"description": "Language of original book" | |||
}, | |||
"discipline": { | |||
"label": "Discipline", | |||
"type": "string", | |||
"required": false, | |||
"description": "Literary discipline. Mutually exclusive with 'genre'" | |||
}, | |||
"genre": { | |||
"label": "Genre", | |||
"type": "string", | |||
"required": false, | |||
"description": "Literary genre. Mutually exclusive with 'discipline'" | |||
}, | |||
"publisher": { | |||
"label": "Publisher", | |||
"type": "string", | |||
"suggested": true, | |||
"description": "Name of publisher; use {{plainlist}} when there is more than one notable edition" | |||
}, | |||
"pub_date": { | |||
"label": "Publication date", | |||
"type": "string", | |||
"suggested": true, | |||
"description": "Date of publication; use {{plainlist}} when there is more than one notable edition" | |||
}, | |||
"media_type": { | |||
"label": "Media type", | |||
"type": "string", | |||
"required": false, | |||
"description": "Print / Digital (then binding types etc., if relevant)" | |||
}, | |||
"number_of_books": { | |||
"label": "Number of books", | |||
"type": "string", | |||
"suggested": true, | |||
"description": "Number of works in the series" | |||
}, | |||
"list_books": { | |||
"label": "List of books", | |||
"type": "string", | |||
"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 [[ ]])." | |||
}, | |||
"preceded_by": { | |||
"label": "Preceded by", | |||
"type": "string", | |||
"required": false, | |||
"description": "Title of prior series" | |||
}, | |||
"followed_by": { | |||
"label": "Followed by", | |||
"type": "string", | |||
"required": false, | |||
"description": "Title of subsequent series" | |||
}, | |||
"website": { | |||
"label": "Website", | |||
"type": "string", | |||
"required": false, | |||
"description": "For the publisher's or author's website about the book" | |||
} | |||
}, | |||
"format": "block", | |||
"paramOrder": [ | |||
"name", | |||
"image", | |||
"image_caption", | |||
"books", | |||
"author", | |||
"editors", | |||
"title_orig", | |||
"translator", | |||
"illustrator", | |||
"cover_artist", | |||
"country", | |||
"language", | |||
"discipline", | |||
"genre", | |||
"publisher", | |||
"pub_date", | |||
"media_type", | |||
"number_of_books", | |||
"list_books", | |||
"preceded_by", | |||
"followed_by", | |||
"website" | |||
] | |||
} | |||
</templatedata> | |||
</div> | |||
{{collapse bottom}} | |||
== Tracking category == | == Tracking category == |
Revision as of 10:52, 3 February 2019
This is a documentation subpage for Template:Infobox book series. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
This template is for use on a book series main page.
Usage
[[File:{{{image}}}|frameless|upright=1]] | |
{{{books}}} | |
Edited by | {{{editors}}} |
---|---|
Original title | {{{title_orig}}} |
Translator | {{{translator}}} |
Illustrator | {{{illustrator}}} |
Cover artist | {{{cover_artist}}} |
Country | {{{country}}} |
Language | {{{language}}} |
Discipline | {{{discipline}}} |
Publisher | {{{publisher}}} |
Published | {{{pub_date}}} |
Published in English | {{{english_pub_date}}} |
Media type | {{{media_type}}} |
No. of books | {{{number_of_books}}} ([[{{{list_books}}}|List of books]]) |
[[OCLC (identifier)|OCLC]] | {{{oclc}}} |
Preceded by | {{{preceded_by}}} |
Followed by | {{{followed_by}}} |
Website | {{{website}}} |
{{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
style="background: #CCFFCC; font-size:87%; padding:0.2em 0.3em; text-align:center; " | TemplateData documentation used by VisualEditor and other tools
|
---|
|
Tracking category
See also
- {{Infobox book}}
- {{Book list}}—for creating formatted table of books in a series within the series article (or related list)