Jump to content

Template:Prefix search

From Wikitech
Template documentation

Example

{{Prefix search|prefix="Help:Toolforge"|placeholder=Search Toolforge Documentation|button=Go}}

Usage

Inline search form for a prefix searches

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
prefixprefix

Prefix to add to search

Example
"Help:Toolforge"
Stringrequired
placeholderplaceholder

Search input placeholder text

Default
Search {{{prefix}}}
Example
Search Toolforge documentation
Stringsuggested
buttonbutton

Search button label

Default
Search
Example
Go
Stringoptional