Template:Search prefixes/doc

Purpose
Creates a search box, targeting multiple subpages at once. If one page is enough, you can use search box or search archives.

Template:Search deletion discussions uses this template, specializing in search deletion discussions.

Syntax


The search scope will be target pages and their subpages. If you want to search only subpages, excluding the target pages themselves, append a slash.

Setting the "small" parameter to "yes" creates a smaller box to the right. It only have effect when the template is on an article, talk page or an "other" page. For documentation on the small parameters see ambox, tmbox and ombox. Using the small parameters when they are not valid has no effect, but also does no harm.

"description" and the list of target pages are hidden by default, and user can see them by clicking. Setting header2 to  completely hides the list of target pages.

limits

 * a limit of 30 prefixes/areas can be specified.
 * the prefixes must be in title form, not URL form - spaces, not "_" between words (this is the only form recognized by the prefix search parameter)

example with header1 specified, but no description


produces:

example with header1 and a description, but header2=no which suppresses the archive list


produces:

example with header1 and a description, as well as header2


produces:

example with small=yes


produces: