Editing Template:Filter/Header
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
| Latest revision | Your text | ||
| Line 1: | Line 1: | ||
<includeonly | <includeonly>{{{message|Click on the buttons or type in the provided search box below to apply a filter to the list{{#if:{{{1|}}}| of {{{1}}}.|.}}}}} | ||
<div | |||
<div style="display:grid; text-align:center;"></includeonly><noinclude> | |||
Template that creates instructions and the div container for {{T|Filter}}. To be used in conjunction with {{T|Filter/Footer}}. | Template that creates instructions and the div container for {{T|Filter}}. To be used in conjunction with {{T|Filter/Footer}}. | ||
==Syntax== | ==Syntax== | ||
< | <pre> | ||
{{Filter/Header | {{Filter/Header}} | ||
<Filterable table> | <Filterable table> | ||
{{Filter/Footer}} | {{Filter/Footer}} | ||
</ | </pre> | ||
This template has 1 unnamed paramter: | |||
* | * <code>1</code> — Name of the filterable element | ||
* | * <code>message</code> — Customize the message | ||
== | ==Examples== | ||
===Default=== | =====Default===== | ||
<pre>{{Filter/Header}} | |||
{{Filter/Header | {{Filter/Footer}}</pre> | ||
{{Filter/Footer | {{Filter/Header}} | ||
</ | {{Filter/Footer}} | ||
===With | =====With filterable element===== | ||
{{ | <pre>{{Filter/Header|neighbors}} | ||
{{Filter/Header| | {{Filter/Footer}}</pre> | ||
{{Filter/Footer | {{Filter/Header|neighbors}} | ||
</ | {{Filter/Footer}} | ||
=====Custom message===== | |||
<pre>{{Filter/Header|message=This is a custom message.}} | |||
{{Filter/Footer}}</pre> | |||
{{Filter/Header|message=This is a custom message.}} | |||
{{Filter/Footer}} | |||
[[Category:Filter Templates]]</noinclude> | |||
</ | |||