Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:FilterByGame: Difference between revisions

Template page
m (use Template:DropdownFilter)
m (format the dropdown inside a table)
 
Line 1: Line 1:
<includeonly><!--
<includeonly><!--
-->{{DropdownFilter
-->
| title = {{{title|}}}
{| 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|}}}
| data = {{{data|}}}
}}
}}<!--
|-
|<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
  | 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)
BlazBlue Central Fiction Kagura Mutsuki Sprite Reference 01.png

BBCT
BlazBlue Central Fiction Kagura Mutsuki Sprite Reference 02.png

BBCS
BlazBlue Central Fiction Kagura Mutsuki Sprite Reference 03.png

BBCSEX
BlazBlue Central Fiction Kagura Mutsuki Sprite Reference 04.png

BBCP
BlazBlue Central Fiction Kagura Mutsuki Sprite Reference 05.png

BBCPEX
BlazBlue Central Fiction Kagura Mutsuki Sprite Reference 06.png

BBCF
BlazBlue Central Fiction Kagura Mutsuki Sprite Reference 07.png

BBTAG
BlazBlue Central Fiction Kagura Mutsuki Sprite Reference 08.png

BBCS BBCP