Template:Search: Difference between revisions
Template page
More actions
Created Template:Search |
mNo edit summary |
||
| Line 5: | Line 5: | ||
Template that creates a generic search input box. | Template that creates a generic search input box. | ||
== | ==Syntax== | ||
<pre>{{Search|dataKey=|placeholder=}}</pre> | <pre>{{Search|dataKey=|placeholder=}}</pre> | ||
* <code>dataKey</code> — The data-* attribute that the filter-element will be searched/filtered on. Default: <code>name</code> | * <code>dataKey</code> — The data-* attribute that the filter-element will be searched/filtered on. Default: <code>name</code> | ||