ထႅမ်းပလဵတ်ႉ:Book Search/doc
ဢၼ်ၼႆႉပဵၼ် ၼႃႈလိၵ်ႈၽႄ ၽိုၼ်ၵႅမ်မိုဝ်း တွၼ်ႈတႃႇ ထႅမ်းပလဵတ်ႉ:Book Search. မၼ်းၶဝ်ႈပႃး လွၼ်ႉၶၢဝ်ႇ လွင်ႈၸႂ်ႉတိုဝ်း၊ ပိူင်ထၢၼ်ႈ လႄႈ လမ်းၼႂ်းတၢင်ႇၸိူဝ်း ဢၼ်ဢမ်ႇၸႂ်ႈပွတ်းတွၼ်ႈ ၶွင်ငဝ်ႈတိုၼ်း ထႅမ်းပလဵတ်ႉ ၼႃႈလိၵ်ႈ။ |
လွင်ႈၸႂ်ႉတိုဝ်း
မႄးထတ်းလၵ်းၸဵင် ပႃႇရႃႇမီႇတႃႇ
မႄးထတ်း{{Book search|float= |style= }}
ပႃႇရႃႇမီႇတႃႇ တင်းသဵင်ႈ
မႄးထတ်း{{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 "")
- type:
တူဝ်ယၢင်ႇ
မႄးထတ်းWikitext | Display |
---|---|
{{Book search|float=right|style=simple}} |
|
{{Book search|float=center|style=image}} |
ၶေႃႈမုၼ်းထႅမ်းပလဵတ်ႉ
မႄးထတ်းTemplateData for Book Search
Display input box for searching book contents
Parameter | ၶေႃႈသပ်းလႅင်း | Type | Status | |
---|---|---|---|---|
Page placement | float | Set search field page alignment
| Line | suggested |
CSS classes | class | Define additional CSS classes for bounding box | Line | optional |
Appearance | style | Select one of two available visual styles for search field
| Line | required |
Bounding box width | px | Define total width of template output
| Line | optional |
Search image | image | Image displayed alongside input field to signify purpose (see 'Magnifying glass on book icons' category at Wikimedia Commons for suitable options)
| File | optional |
Widget background color | background | A solid color to serve as the background for the entire search widget, given in hexadecimal notation as #rrggbb
| Line | optional |
Search modes offered | type | Selection between a widget offering full text search only, or both full text and exact match searches
| Line | optional |
Exact match button | buttonlabel | Overrides the default label for the 'Exact match' button ("Search this book") with the value supplied
| Line | optional |
Full text button | searchbuttonlabel | Overrides the default label for the 'Full text search' button ("Search this book") with the value supplied
| Line | optional |
Button placement | break | Selects between placing search button(s) to the right of input field or centered beneath
| Boolean | optional |
Search scope | prefix | Defines the point in the Wikibooks index from which to search recursively
| Page name | optional |
Input field width | width | Width of search input field in pixels
| Number | optional |
Placeholder text | placeholder | Text shown faded in input field when empty
| Line | optional |
တူၺ်းပႃး
မႄးထတ်း- {{Search box}}