Template:Infobox book series: Difference between revisions
temp>Technical 13 (It has been more than the couple days I said I would wait. No objection, so pushing this through per the edit request on talk page.) |
m (66 revisions imported from alpha:Template:Infobox_book_series) |
||
(18 intermediate revisions by 11 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 | ||
| title = {{{name<includeonly> | | titlestyle = font-style:italic; | ||
| image = {{{image | | title = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}} | ||
| caption = {{{image_caption | | image = {{#if:{{{image|}}} | ||
|{{#invoke:InfoboxImage|InfoboxImage |image={{{image|}}} |size={{{image_size|}}} |sizedefault=frameless |upright=1 |alt={{{alt|}}} |border={{{border|}}} |suppressplaceholder=yes}} | |||
}} | |||
| caption = {{{caption|{{{image_caption|}}}}}} | |||
| data1 = {{#if:{{{ | | 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}}}} | ||
| class2 = {{#if:{{{editors|}}}|{{#if:{{{author|}}}|center}}}} | | class2 = {{#if:{{{editors|}}}|{{#if:{{{author|}}}|center}}}} | ||
| data2 = {{#if:{{{editors|}}}|{{#if:{{{author|}}}|Please use<br />'''{{Para|author}}'''<br />or<br />'''{{Para|editors}}'''<br />but not both.|{{{editors | | 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|}}} | ||
| label5 = Illustrator | | label5 = Illustrator | ||
| data5 = {{{illustrator | | data5 = {{{illustrator|}}} | ||
| label6 = Cover artist | | label6 = Cover artist | ||
| data6 = {{{cover_artist | | data6 = {{{cover_artist|}}} | ||
| label7 = Country | | label7 = Country | ||
| data7 = {{{country | | data7 = {{{country|}}} | ||
| label8 = Language | | label8 = Language | ||
| data8 = {{{language | | data8 = {{{language|}}} | ||
| label9 = {{#if:{{{discipline|}}}|{{#if:{{{genre|}}}|Conflict!|Discipline}}|Genre}} | | label9 = {{#if:{{{discipline|}}}|{{#if:{{{genre|}}}|Conflict!|Discipline}}|Genre}} | ||
| rowclass9 = {{#if:{{{discipline|}}}|{{#if:{{{genre|}}}|error}}}} | | rowclass9 = {{#if:{{{discipline|}}}|{{#if:{{{genre|}}}|error}}}} | ||
| class9 = {{#if:{{{discipline|}}}|{{#if:{{{genre|}}}|center}}}} | | class9 = {{#if:{{{discipline|}}}|{{#if:{{{genre|}}}|center}}}} | ||
| data9 = {{#if:{{{discipline|}}}|{{#if:{{{genre|}}}|Please use<br />'''{{Para|discipline}}'''<br />or<br />'''{{Para|genre}}'''<br />but not both.|{{{discipline | | data9 = {{#if:{{{discipline|}}}|{{#if:{{{genre|}}}|Please use<br />'''{{Para|discipline}}'''<br />or<br />'''{{Para|genre}}'''<br />but not both.|{{{discipline|}}}}}|{{{genre|}}}}} | ||
| label10 = | | label10 = Publisher | ||
| data10 = {{{publisher | | data10 = {{{publisher|}}} | ||
| label11 = Published | | label11 = Published | ||
| data11 = {{{pub_date | | data11 = {{{pub_date|}}} | ||
| label12 = Published in English | | label12 = Published in English | ||
| data12 = {{{english_pub_date | | data12 = {{{english_pub_date|}}} | ||
| label13 = Media type | | label13 = Media type | ||
| data13 = {{{media_type | | data13 = {{{media_type|}}} | ||
| label14 = No. of books | | label14 = No. of books | ||
| data14 = {{{number_of_books | | data14 = {{{number_of_books|}}} {{#if:{{{list_books|}}}|([[{{{list_books}}}|List of books]])}} | ||
| label15 = Preceded by | | label15 = [[OCLC (identifier)|{{abbr|OCLC|Online Computer Library Center number}}]] | ||
| | | data15 = {{#if:{{{oclc|}}}|[https://www.worldcat.org/oclc/{{urlencode:{{{oclc}}}}} {{{oclc}}}]}} | ||
| | | label16 = Preceded by | ||
| | | data16 = {{#if:{{{preceded_by|{{{preceded by|}}}}}}|''{{{preceded_by|{{{preceded by}}} }}}''}} | ||
| | | label17 = Followed by | ||
| | | data17 = {{#if:{{{followed_by|{{{followed by|}}}}}}|''{{{followed_by|{{{followed by}}} }}}''}} | ||
}}<noinclude> | | label18 = 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 | 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}} | |||
</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)