More actions
m (use Template:DropdownFilter) |
m (format the dropdown inside a table) |
||
Line 1: | Line 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
-->{ | --> | ||
{| class="wikitable" width="100%;" | |||
! {{{title|Title}}} | |||
|- | |||
| id="selectRow" | {{DropdownFilter | |||
| dropdownWrapperID = gameSelectDiv | | dropdownWrapperID = gameSelectDiv | ||
| dropdownName = gameSelect | | dropdownName = gameSelect | ||
Line 7: | Line 10: | ||
| nameOfElementToFilter = filter-element | | nameOfElementToFilter = filter-element | ||
| options = {{DropdownFilter/Option|Game}},{{{options|}}} | | options = {{DropdownFilter/Option|Game}},{{{options|}}} | ||
}} | |||
|- | |||
|<div style="text-align: center">{{{data|}}}</div> | |||
|}<!-- | |||
--></includeonly><noinclude> | --></includeonly><noinclude> | ||
::<i>See also [[Template:DropdownFilter]]</i> | ::<i>See also [[Template:DropdownFilter]]</i> | ||
Line 26: | Line 31: | ||
{{FilterByGame | {{FilterByGame | ||
| title = | | title = Sprites (Filter by Game from the Dropdown) | ||
| options = {{DropdownFilter/Option|BBCT}},{{DropdownFilter/Option|BBCS}},{{DropdownFilter/Option|BBCSEX}},{{DropdownFilter/Option|BBCP}},{{DropdownFilter/Option|BBCPEX}},{{DropdownFilter/Option|BBCF}} | | options = {{DropdownFilter/Option|BBCT}},{{DropdownFilter/Option|BBCS}},{{DropdownFilter/Option|BBCSEX}},{{DropdownFilter/Option|BBCP}},{{DropdownFilter/Option|BBCPEX}},{{DropdownFilter/Option|BBCF}} | ||
| data = | | data = |
Latest revision as of 23:55, 17 October 2018
- See also Template:DropdownFilter
Usage
Use with Template:FilterByGame/1.
{{FilterByGame | title = Title | options = {{DropdownFilter/Option|BBCT}},{{DropdownFilter/Option|BBCS}},{{DropdownFilter/Option|BBCSEX}},{{DropdownFilter/Option|BBCP}},{{DropdownFilter/Option|BBCPEX}},{{DropdownFilter/Option|BBCF}} | data = {{FilterByGame/1|games=BBCT BBCF BBCP BBCPEX|image=[[File:X.png|300px]]|caption=caption here}} }}
Example
Sprites (Filter by Game from the Dropdown) |
---|