Standard parameters

संपादन
{{Book search|float= |style= }}

All parameters

संपादन
{{Book search
 | float             =
 | class             =
 | style             =
 | px                =
 | image             =
 | background        =
 | type              =
 | buttonlabel       =
 | searchbuttonlabel =
 | break             =
 | prefix            =
 | width             =
 | placeholder       =
}}
  • float: left|center|right (default: right)
  • class: Additional CSS classes
  • style: simple|image (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: )
  • background: Background color of search widget, in hexadecimal notation #rrggbb (default: #f9f9f9)
  • Parameters passed to <inputbox>:
    • type: search|fulltext (default: fulltext)
      • search: Show additional button for exact match search
      • fulltext: 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: no|yes (default: yes)
      • no: Search button(s) appear to right of input field
      • yes: Search button(s) appear centered below input field
    • prefix: Search scope (default: BOOKNAME)
    • width: Width of input field in pixels (automatically converted to number of characters) (default: 250)
    • placeholder: Define placeholder text displayed in the input field when empty (default "")
Wikitext Display
{{Book search|float=right|style=simple}}
{{Book search|float=center|style=image}}

This is the TemplateData documentation for this template used by VisualEditor and other tools.

TemplateData for Book search

Display input box for searching book contents

साच्याचे प्राचल (पॅरामिटर्स)

ह्या टेंप्लेटचे प्रारुपण आपण आपल्या इच्छेप्रमाणे करु शकता.

प्राचलवर्णनप्रकारस्थिती
Page placementfloat

Set search field page alignment

Suggested values
left center right
अविचल
right
उदाहरण
left
ओळसुचविलेले
CSS classesclass

Define additional CSS classes for bounding box

ओळऐच्छिक
Appearancestyle

Select one of two available visual styles for search field

Suggested values
simple image
अविचल
simple
उदाहरण
image
ओळहवे
Bounding box widthpx

Define total width of template output

अविचल
250px
उदाहरण
350px
ओळऐच्छिक
Search imageimage

Image displayed alongside input field to signify purpose (see 'Magnifying glass on book icons' category at Wikimedia Commons for suitable options)

अविचल
Loupe light.svg
उदाहरण
BookReader-favicon.svg
संचिकाऐच्छिक
Widget background colorbackground

A solid color to serve as the background for the entire search widget, given in hexadecimal notation as #rrggbb

अविचल
#f9f9f9
उदाहरण
#d73f09
ओळऐच्छिक
Search modes offeredtype

Selection between a widget offering full text search only, or both full text and exact match searches

Suggested values
fulltext search
अविचल
fulltext
उदाहरण
search
ओळऐच्छिक
Exact match buttonbuttonlabel

Overrides the default label for the 'Exact match' button ("Search this book") with the value supplied

Suggested values
Exact match I'm feeling lucky
अविचल
Search this book
उदाहरण
I'm feeling lucky
ओळऐच्छिक
Full text buttonsearchbuttonlabel

Overrides the default label for the 'Full text search' button ("Search this book") with the value supplied

Suggested values
Full text search Recursive search Thorough search
अविचल
Search this book
उदाहरण
Deep search
ओळऐच्छिक
Button placementbreak

Selects between placing search button(s) to the right of input field or centered beneath

अविचल
yes
उदाहरण
no
स्वतःच मुल्ये घेते
no
बुलियन (Boolean)ऐच्छिक
Search scopeprefix

Defines the point in the Wikibooks index from which to search recursively

अविचल
{{BOOKNAME}}
स्वतःच मुल्ये घेते
पानऐच्छिक
Input field widthwidth

Width of search input field in pixels

अविचल
250
उदाहरण
350
आकडाऐच्छिक
Placeholder textplaceholder

Text shown faded in input field when empty

उदाहरण
Search terms here
ओळऐच्छिक