Template:Infobox book

From BBW Wiki
Jump to: navigation, search

<infobox> <title source="title"><default>Unknown</default></title> <image source="image"><caption source="imagecaption"/></image> <label>Author</label><default>Unknown</default> <label>Illustrator</label><default>Unknown</default> <label>Published on</label><default>Unknown</default> <label>Publisher</label><default>Unknown</default> <group layout="horizontal"> <header>Publication order</header> <label>Previous</label><default>Unknown</default> <label>Next</label><default>Unknown</default> </group> </infobox>

Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit Template:Infobox_book/doc to edit this documentation. (How does this work?)

Description[edit]

To use this template, copy the following code and fill in the appropriate fields.

Syntax[edit]

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

Sample output[edit]

{{infobox 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
}}

Results in...

<infobox> <title source="title"><default>Unknown</default></title> <image source="image"><caption source="imagecaption"/></image> <label>Author</label><default>Unknown</default> <label>Illustrator</label><default>Unknown</default> <label>Published on</label><default>Unknown</default> <label>Publisher</label><default>Unknown</default> <group layout="horizontal"> <header>Publication order</header> <label>Previous</label><default>Unknown</default> <label>Next</label><default>Unknown</default> </group>

</infobox>