Template:Engine/doc

This template creates a search box to be used to search within a single work (i.e. all subpages of a main namespace page). For works in the main namespace, it would typically be placed in the field.

Caveat: Searches using this template don't show excerpts of content transcluded from the page namespace if the search string is found in the title. It does work for transcluded content though.

Usage
Parameters:
 * — The text to append to the search button label, prefixed with "Search in". Defaults to "this work".
 * — The page (and subpages) to be searched. Default is the current page and its subpages.
 * — The text to show in the search box itself, until the user starts typing. Blank by default.
 * set search field and button on same line using break=no

Examples

 * With no parameters:


 * With just the first, unnamed parameter:


 * With all parameters:


 * With break parameter: