Module:BookInfo/doc: Difference between revisions

From Little Tail Wiki
Jump to navigationJump to search
Created page with "{{BookInfo | headerstyle = (defaults to background-color:grey) | image = 200px | caption = Book cover (IMAGE REQUIRED) | ("Info.") | ja_kanji = Optional | ja_romaji = Optional | authors = Optional | illustrators = Optional | designers = Optional | genre = Optional | date = Optional | chapters = Optional | pages = Optional | isbn = Optional | publisher = Optional | medium = Optional | website = Optional }} The BookInfo infobox lists basic..."
 
No edit summary
Line 1: Line 1:
{{BookInfo
{{BookInfo
| title = Book title
| headerstyle = (defaults to background-color:grey)
| headerstyle = (defaults to background-color:grey)
| image      = [[File:Unknown.png|200px]]
| image      = [[File:Unknown.png|200px]]

Revision as of 17:45, 2 March 2025

Book title

Book cover (IMAGE REQUIRED)
Info.
Japanese name Optional
Romanized name Optional
Author(s) Optional
Illustrator(s) Optional
Designer(s) Optional
Genre(s) Optional
Release date Optional
Chapters Optional
Pages Optional
ISBN Optional
Publisher Optional
Medium Optional
Website Optional


The BookInfo infobox lists basic facts about the article's featured book.

Infoboxes are put together via Capiunto, which calls upon a Lua-based module. This keeps infoboxes clean and easy to form.

In source editor, excluding any optional row will make that row not render. Leaving out any required fields will throw an error over the page. HTML tags can be used within the infobox if necessary.

Specific rows

  • Japanese name: The book's original title in Japanese
  • Romanized name: The book's Japanese title romanized
  • Author(s): The author(s) of the book
  • Illustrator(s): The illustrator(s) of the book
  • Designer(s): The designer(s) of the book's cover
  • Genre(s): The book's genre(s)
  • Release date: The date the book released
  • Chapters: The number of chapters in the book
  • Pages: The number of pages in the book
  • ISBN: The book's ISBN. Separate ISBNs by line and indicate the country of origin if necessary.
  • Publisher: The book's publisher
  • Medium: The type of book, such as artbook or light novel
  • Website: Website of the book

Usage

{{BookInfo
| headerstyle = (defaults to background-color:grey)
| image       = [[File:Unknown.png|200px]]
| caption     =  Book cover (IMAGE REQUIRED)
| ("Info.")
| ja_kanji = Optional
| ja_romaji = Optional
| authors = Optional
| illustrators = Optional
| designers = Optional
| genre = Optional
| date = Optional
| chapters = Optional
| pages = Optional
| isbn = Optional
| publisher = Optional
| medium = Optional
| website = Optional
}}