Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 19:49, 12 November 2025 by Stevium (talk | contribs) (Created Template:Search)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Source: Template:Search

Template that creates a generic search input box.

Usage edit

{{Search|dataKey=|placeholder=}}
  • dataKey — The data-* attribute that the filter-element will be searched/filtered on. Default: name
  • placeholder — Placeholder text in the search
  • width — Adjust width of the search input box
  • margin-top and margin-bottom — Adjust the margins of the search input box. Default: 0.5rem

Examples edit

{{Search}}
{{Search|dataKey=sample|placeholder=Example placeholder}}