Jump to content

Template:Infobox book

From BarkWiki

{{#ifeq: BarkWiki|Templates Wiki||

Your wiki got a version of Template:Documentation that is only relevant to Templates Wiki! Click here to revert it. For a documentation template you can use on your wiki, see Template:Documentation (copy) on Templates Wiki.

}}

Template information, documentation, and installation instructions.
Expand the below text for usage and other information.

{{#if: ||

Template Documentation:
Note: The template above might be broken without the parameters; while not ideal and often not necessary, this is common.
{{#if:
  | Edit this template for the documentation| {{#ifexist: Template:Infobox book/doc
    | View, edit, or check the history of this documentation.
    |Create documentation for this template.
    }}
   }} (How does this work?)
Editors can experiment with this template's sandbox and testcases.

{{#if:

 | {{{content}}}
| {{#ifexist: Template:Infobox book/doc | {{#if: |{{{{{1}}}}} |

Description[edit source]

This is a infobox template used to quickly summarize book information. This template uses Fandom's portable infobox markup.

To use this template, enter the following and fill in the appropriate fields. Most fields left blank will not show up. Don't forget to include brackets, to make the fields into links.

Syntax[edit source]

{{Infobox book
|name              =
|image             =
|caption           =
|orig_title        =
|author            =
|illustrator       =
|cover_artist      =
|translator        =
|editor            =
|publisher         =
|pub_date          =
|language          =
|other_lang_pub    =
|edition           =
|media_type        =
|country           =
|genre             =
|pages             =
|chapters          =
|story_time        =
|series            =
|series_no         =
|preceded_by       =
|followed_by       =
|isbn              =
|website           =
|media_adaptations =
|related_wikis     =
}}

Sample output[edit source]

{{Infobox book
|name              = Test 2
|image             = Placeholder item.png
|caption           = Placeholder
|orig_title        = Not Test 2
|author            = Test Author
|illustrator       = Test Illustrator
|cover_artist      = Test Cover Artist
|translator        = Test Translator
|editor            = Test Editor
|publisher         = Test Publishing Co.
|pub_date          = 4 December 2017
|language          = English
|other_lang_pub    = Spanish, German
|edition           = 1
|media_type        = Paper, Audio
|country           = United States
|genre             = Test genre
|pages             = 100
|chapters          = 5
|story_time        = Some part
|series            = Test series
|series_no         = 2
|preceded_by       = Test 1
|followed_by       = Test 3
|isbn              = 9 012345 XXXXXX
|website           = [https://example.com example.com]
|media_adaptations = ''{{PAGENAME}}: the video game'', ''{{PAGENAME}}: the video game''
|related_wikis     = [[w:c:templates|Templates Wiki]]
}}
}}
   | Documentation does not exist. Create it at [{{fullurl:
             {{#if:|{{{1}}}|Template:Infobox book/doc}}
             |action=edit&preload=Template:Documentation/preload&summary=Create+documentation+for+%5B%5BTemplate%3AInfobox+book%5D%5D {{#if:|{{{1}}}|Template:Infobox book/doc}}] .
 }}

}} }}


}}

Installation Instructions
{{#ifexist: Template:Infobox book/install
    |: View installation Instructions.}}
{{#ifeq:{{{SPW}}}|is not relevant
   |
   | :Export this template, then import to install it.
Use edit summary: Copied from [[w:c:templates:Template:Infobox book]] to properly attribute this template's editors.}}{{#if:|:This template is compatible with vanilla MediaWiki.}}
{{#switch:
   | starter = This template is created by default after March 11, 2020. It should be in your wiki. 

| is not relevant

| is not relevant to =
File:Warning.svg
This template should not be copied, because it is probably not relevant to wikis other than Templates Wiki. You probably don't want to copy this template to your wiki. {{#if:|For a similar template intended to be copied, see [[Template:{{{SPW-link}}}]].}}{{#ifeq: BarkWiki
       | Templates Wiki
       | 
     }}
  }}

{{#if:

   |[[de:{{{de}}}]]
   |
  }}{{#if:
   |[[es:{{{es}}}]]
   |
  }}{{#if:
   |[[fr:{{{fr}}}]]
   |
  }}{{#if:
   |[[it:{{{it}}}]]
   |
  }}{{#if:
   |[[ja:{{{ja}}}]]
   |
  }}{{#if:
   |[[ko:{{{ko}}}]]
   |
  }}{{#if:
   |[[nl:{{{nl}}}]]
   |
  }}{{#if:
   |[[pt:{{{pt}}}]]
   |
  }}{{#if:
   |[[tr:{{{tr}}}]]
   |
  }}{{#if:
   |[[zh:{{{zh}}}]]
   |
   }}

{{#ifeq: {{{SPW}}}|is not relevant | |{{#if:

 | The above message will be enough for most cases; if there are additional instructions, you can see them below.
Template:Infobox book/install | :There is no additional installation instructions for this template. If there is any, you may create it at Template:Infobox book/install.

}} }}