Template:Search: Difference between revisions
Appearance
Created Template:Search |
(No difference)
|
Latest revision as of 19:49, 12 November 2025
See also: Template:Filter
Source: Template:Search
Template that creates a generic search input box.
Usage[edit source]
{{Search|dataKey=|placeholder=}}
dataKey— The data-* attribute that the filter-element will be searched/filtered on. Default:nameplaceholder— Placeholder text in the searchwidth— Adjust width of the search input boxmargin-topandmargin-bottom— Adjust the margins of the search input box. Default:0.5rem
Examples[edit source]
{{Search}}
{{Search|dataKey=sample|placeholder=Example placeholder}}