Template:Book/doc

Template page
Revision as of 20:09, 20 November 2022 by x>FANDOM
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

To use this template, add the {{{{#if:|{{{prefix}}}:}}Book{{#if:||<{{{2}}}>}}{{#if:||<{{{3}}}>}}{{#if:||<{{{4}}}>}}{{#if:||<{{{5}}}>}}{{#if:||<{{{6}}}>}}{{#if:||<{{{7}}}>}}{{#if:||<{{{8}}}>}}{{#if:||<{{{9}}}>}}{{#if:||<{{{10}}}>}}{{#if:||<{{{11}}}>}}{{#if:||<{{{12}}}>}}{{#if:||<{{{13}}}>}}{{#if:||<{{{14}}}>}}{{#if:||<{{{15}}}>}}{{#if:||<{{{16}}}>}}{{#if:||<{{{17}}}>}}{{#if:||<{{{18}}}>}}{{#if:||<{{{19}}}>}}{{#if:||<{{{20}}}>}}{{#if:||<{{{21}}}>}}}} template and fill in the appropriate fields. Fields left blank will not appear in articles. This infobox template uses Fandom's infobox syntax.

Syntax

{{Book
 | title         = 
 | image         = [e.g. "Example.jpg"]
 | author        = 
 | illustrator   = 
 | datePublished = 
 | publisher     = 
 | previous      = 
 | next          = 
}}

Sample output

<infobox type="Book"> <title source="title"/>

<image source="image"></image> <label>Author</label> <label>Illustrator</label> <label>Published on</label> <label>Publisher</label> <group layout="horizontal"> <header>Publication order</header> <label>Previous</label> <label>Next</label> </group> </infobox>{{#ifeq: 10 | 0 |}}

{{Book
 | title         = The Adventures of Flower
 | image         = Example.jpg
 | author        = Alice
 | illustrator   = Bob
 | datePublished = April 1928
 | publisher     = Arthur's
 | previous      = Book One
 | next          = Book Three
}}