Template:Book search

From Wikibooks, open books for an open world
Jump to: navigation, search
Template documentation[edit] [history] [purge]

Usage[edit]

{{Book search
| float=
| class=
| style=
| px=
| image=
| type=
}}
  • float: left|center|right (default right
  • class: Additional css classes
  • style: Search box style. The default is simple, but unrecognized styles get rendered as image
    • simple Show only the search box
    • image Add a search icon and grey bounding div
  • px: width (default: 250px)
  • image: search image (default:File:Loupe light.svg)
  • Parameters passed to <inputbox>:
    • type (default: fulltext)
    • buttonlabel (default: "Search this book")
    • searchbuttonlabel (default: "Search this book)
    • break (default:yes)
    • prefix (default: ROOTBOOKNAME)
    • width: width of text box in pixels (automatically converted to number of characters) (default:250)
    • placeholder: Define placeholder text that will display in the input box when it is empty (default "")

Examples[edit]

Wikitext Display
{{Book search|style=simple}}
{{Book search|style=image}}

Loupe light.svg


See also[edit]