Template:Infobox book series: Difference between revisions
temp>Zyxw (Use {{PAGENAMEBASE}} to remove any disambiguation if article name is used as infobox title.) |
m (66 revisions imported from alpha:Template:Infobox_book_series) |
||
(11 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
{{ infobox | {{ infobox | ||
| italic title = {{{italic title|<noinclude>no</noinclude>}}} | |||
| bodystyle = {{#if:{{{infoboxwidth|}}}|width: {{{infoboxwidth}}} }} | | bodystyle = {{#if:{{{infoboxwidth|}}}|width: {{{infoboxwidth}}} }} | ||
| labelstyle = white-space: nowrap | | labelstyle = white-space: nowrap | ||
| titlestyle = font-style:italic; | |||
| title = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}} | | title = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}} | ||
| image = {{#if:{{{image|}}} | | image = {{#if:{{{image|}}} | ||
Line 8: | Line 11: | ||
| caption = {{{caption|{{{image_caption|}}}}}} | | caption = {{{caption|{{{image_caption|}}}}}} | ||
| data1 = {{#if:{{{books|}}}|<div style= | | data1 = {{#if:{{{image|}}}|<hr />|}}{{#if:{{{books|}}}|<div style="font-style:italic;">{{{books}}}</div><hr />}} | ||
| label2 = {{#if:{{{editors|}}}|{{#if:{{{author|}}}|Conflict!|Edited by}}|Author}} | | label2 = {{#if:{{{editors|}}}|{{#if:{{{author|}}}|Conflict!|Edited by}}|Author}} | ||
| rowclass2 = {{#if:{{{editors|}}}|{{#if:{{{author|}}}|error}}}} | | rowclass2 = {{#if:{{{editors|}}}|{{#if:{{{author|}}}|error}}}} | ||
Line 14: | Line 17: | ||
| data2 = {{#if:{{{editors|}}}|{{#if:{{{author|}}}|Please use<br />'''{{Para|author}}'''<br />or<br />'''{{Para|editors}}'''<br />but not both.|{{{editors|}}}}}|{{{author|}}}}} | | data2 = {{#if:{{{editors|}}}|{{#if:{{{author|}}}|Please use<br />'''{{Para|author}}'''<br />or<br />'''{{Para|editors}}'''<br />but not both.|{{{editors|}}}}}|{{{author|}}}}} | ||
| label3 = Original title | | label3 = Original title | ||
| data3 = {{{title_orig|}}} | | data3 = {{#if:{{{title_orig|}}}|<div style="font-style:italic;">{{{title_orig|}}}</div>}} | ||
| label4 = Translator | | label4 = Translator | ||
| data4 = {{{translator|}}} | | data4 = {{{translator|}}} | ||
Line 39: | Line 42: | ||
| label14 = No. of books | | label14 = No. of books | ||
| data14 = {{{number_of_books|}}} {{#if:{{{list_books|}}}|([[{{{list_books}}}|List of books]])}} | | data14 = {{{number_of_books|}}} {{#if:{{{list_books|}}}|([[{{{list_books}}}|List of books]])}} | ||
| label15 = [[OCLC | | label15 = [[OCLC (identifier)|{{abbr|OCLC|Online Computer Library Center number}}]] | ||
| data15 = {{#if:{{{oclc|}}}|[//www.worldcat.org/oclc/{{urlencode:{{{oclc}}}}} {{{oclc}}}]}} | | data15 = {{#if:{{{oclc|}}}|[https://www.worldcat.org/oclc/{{urlencode:{{{oclc}}}}} {{{oclc}}}]}} | ||
| label16 = Preceded by | | label16 = Preceded by | ||
| data16 = {{#if:{{{preceded_by|{{{preceded by|}}}}}}|''{{{preceded_by|{{{preceded by}}} }}}''}} | | data16 = {{#if:{{{preceded_by|{{{preceded by|}}}}}}|''{{{preceded_by|{{{preceded by}}} }}}''}} | ||
Line 47: | Line 50: | ||
| label18 = Website | | label18 = Website | ||
| data18 = {{{website|}}} | | data18 = {{{website|}}} | ||
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox book series with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox book series]] with unknown parameter "_VALUE_"|ignoreblank=y| alt | author | books | border | caption | country | cover_artist | discipline | editors | english_pub_date | followed by | followed_by | genre | illustrator | image | image_caption | image_size | infoboxwidth | language | list_books | media_type | name | number_of_books | oclc | preceded by | preceded_by | pub_date | publisher | title_orig | translator | website }}<noinclude> | }}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox book series with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox book series]] with unknown parameter "_VALUE_"|ignoreblank=y| alt | author | books | border | caption | country | cover_artist | discipline | editors | english_pub_date | followed by | followed_by | genre | illustrator | image | image_caption | image_size | infoboxwidth | italic title | language | list_books | media_type | name | number_of_books | oclc | preceded by | preceded_by | pub_date | publisher | title_orig | translator | website }}<noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 09:46, 15 December 2022
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
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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)