You are browsing a read-only backup copy of Wikitech. The live site can be found at wikitech.wikimedia.org

Template:Prefix search/doc

From Wikitech-static
Jump to navigation Jump to search

Example

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

<inputbox> type=fulltext prefix="Help:Toolforge" searchbuttonlabel=Go placeholder=Search Toolforge Documentation width=35 break=no </inputbox>

Usage

<templatedata> { "params": { "prefix": { "description": "Prefix to add to search", "example": "\"Help:Toolforge\"", "type": "string", "required": true }, "button": { "description": "Search button label", "example": "Go", "type": "string", "default": "Search" }, "placeholder": { "description": "Search input placeholder text", "example": "Search Toolforge documentation", "type": "string", "default": "Search {{{prefix}}}", "suggested": true } }, "description": "Inline search form for a prefix searches", "paramOrder": [ "prefix", "placeholder", "button" ], "format": "block" } </templatedata>