Template:Filter/Header

Template documentation
Note: parts of or the entire template might not be visible without values provided.

Template that creates instructions and the div container for {{Filter}}. To be used in conjunction with {{Filter/Footer}}.

Syntax

{{Filter/Header|table=}}
<Filterable table>
{{Filter/Footer}}
  • table — Table ID of filterable table.
  • type — Name of the filterable element.
  • no_search — Set to 1 to hide the search box message.
  • message — Customize the message.

Example

Default

{{Filter/Header|table=example-1}}
{{Filter/Footer|no_results=1|no_search=1|no_reset=1}}
Click on the buttons or type in the provided search box below to apply a filter to the list.

With Filterable Element

{{Filter/Header|table=example-2|no_search=1|type=neighbors}}
{{Filter/Footer|no_results=1|no_search=1|no_reset=1}}
Click on the buttons below to apply a filter to the list of neighbors.

Custom Message

{{Filter/Header|table=example-3|message=Click on the buttons or type in the provided search box below to apply a filter to the list of neighbors. For example, typing in {{F|Wildgrass}} (case insensitive) in the search box will show all the neighbors that have either an interest or disinterest in {{Item|Wildgrass}}.}}
{{Filter/Footer|no_results=1|no_search=1|no_reset=1}}
Click on the buttons or type in the provided search box below to apply a filter to the list of neighbors. For example, typing in Wildgrass (case insensitive) in the search box will show all the neighbors that have either an interest or disinterest in Wildgrass Wildgrass.