Template:Course search/doc
Appearance
This is a documentation subpage for Template:Course search. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
[edit source]{{Course 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 course")
- searchbuttonlabel (default: "Search this course)
- break (default:yes)
- prefix (default: BASEPAGENAME)
- 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 source]Wikitext | Display |
---|---|
{{Course search|style=simple}} |
|
{{Course search|style=image}} |
See also
[edit source]- {{Search box}}