Infobox

From Wikibooks, the open-content textbooks collection

Jump to: navigation, search

Book infoboxes display book metadata on subpages (for example Infobox/European History). A list of all books with infoboxes is availalable at Category:Books with infoboxes. Book infoboxes are deprecated and to be replaced by Wikidata when Wikidata becomes available.

[edit] How to create an infobox

  1. Search for a page entitled "Infobox/Book Name" and click the red "create this page" link.
  2. Type {{subst:Infobox/Parameters}} and click "save page."
  3. Click "edit this page" and fill the parameters in. All parameters except book status and title are optional. Leave fields that do not apply to your book blank.
  4. On the book's cover or contents page, type {{bi}} to include the template.

To change the color of the infobox, type .bookInfobox-color { background: Green; } on your CSS page and change Green to any color you like.

[edit] Parameters

Parameters Format
{{Infobox|Title|##%|
|subject        = 
|info links     = 
|editor         = 
|authors        = 
|comment        = 
|notes          = 
|description    = 
|reading level  = 
|prerequisite   = 
|related books  = 
}}
{{Infobox|Book Title|Development status (00%, 25%, 50%, 75%, 100%)|
 = 
 = [book metadata pages, such as author lists or style guides]
 = Username [do not include "User:"]
 = [[User:Author 1|Author 1]], etc.
 = 
 = [info about book, not content]
 = [description of book content]
 = 
 = 
 = [[Book 1 Title]], etc
}}