Template:Book search/doc

All parameters

 * float:  (default: right)
 * class: Additional CSS classes
 * style:  (default: simple, undefined values rendered as image)
 * simple: Show only the search box
 * image: Add a search icon and grey bounding box
 * px: Overall template width (default: 250px)
 * image: Search image (default: [[File:Loupe light.svg]])
 * background: Background color of search widget, in hexadecimal notation #rrggbb (default: #f9f9f9)
 * Parameters passed to  (default: fulltext</tt>)
 * <tt>search</tt>: Show additional button for exact match search
 * <tt>fulltext</tt>: Show Full text search button only
 * buttonlabel: Title of 'Exact match' button (default: "Search this book")
 * searchbuttonlabel: Title of 'Full text' button (default: "Search this book")
 * break:  (default: <tt>yes</tt>)
 * <tt>no</tt>: Search button(s) appear to right of input field
 * <tt>yes</tt>: Search button(s) appear centered below input field
 * prefix: Search scope (default: <tt>BOOKNAME</tt>)
 * width: Width of input field in pixels (automatically converted to number of characters) (default: <tt>250</tt>)
 * placeholder: Define placeholder text displayed in the input field when empty (default <tt>""</tt>)

TemplateData
{	"description": "Display input box for searching book contents", "format": "inline", "params": { "float": { "label": "Page placement", "description": "Set search field page alignment", "example": "left", "type": "line", "suggestedvalues": [ "left", "center", "right" ],			"default": "right", "suggested": true },		"class": { "label": "CSS classes", "description": "Define additional CSS classes for bounding box", "type": "line" },		"width": { "label": "Input field width", "description": "Width of search input field in pixels", "example": "350", "type": "number", "default": "250" },		"style": { "label": "Appearance", "description": "Select one of two available visual styles for search field", "example": "image", "suggestedvalues": [ "simple", "image" ],			"default": "simple", "required": true, "type": "line" },		"background": { "label": "Widget background color", "description": "A solid color to serve as the background for the entire search widget, given in hexadecimal notation as #rrggbb", "example": "#d73f09", "type": "line", "default": "#f9f9f9" },		"image": { "label": "Search image", "description": "Image displayed alongside input field to signify purpose (see 'Magnifying glass on book icons' category at Wikimedia Commons for suitable options)", "type": "wiki-file-name", "example": "BookReader-favicon.svg", "default": "Loupe light.svg" },		"type": { "label": "Search modes offered", "description": "Selection between a widget offering full text search only, or both full text and exact match searches", "example": "search", "type": "line", "suggestedvalues": [ "fulltext", "search" ],			"default": "fulltext" },		"buttonlabel": { "label": "Exact match button", "description": "Overrides the default label for the 'Exact match' button (\"Search this book\") with the value supplied", "example": "I'm feeling lucky", "type": "line", "suggestedvalues": [ "Exact match", "I'm feeling lucky" ],			"default": "Search this book" },		"searchbuttonlabel": { "label": "Full text button", "description": "Overrides the default label for the 'Full text search' button (\"Search this book\") with the value supplied", "example": "Deep search", "type": "line", "suggestedvalues": [ "Full text search", "Recursive search", "Thorough search" ],			"default": "Search this book" },		"break": { "label": "Button placement", "description": "Selects between placing search button(s) to the right of input field or centered beneath", "example": "no", "type": "boolean", "default": "yes", "autovalue": "no" },		"prefix": { "label": "Search scope", "description": "Defines the point in the Wikibooks index from which to search recursively", "type": "wiki-page-name", "default": "", "autovalue": "" },		"placeholder": { "label": "Placeholder text", "description": "Text shown faded in input field when empty", "example": "Search terms here", "type": "line" },		"px": { "label": "Bounding box width", "description": "Define total width of template output", "example": "350px", "type": "line", "default": "250px" }	},	"paramOrder": [ "float", "class", "style", "px", "image", "background", "type", "buttonlabel", "searchbuttonlabel", "break", "prefix", "width", "placeholder" ] }