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

Template:DropdownFilter/Option

Template page
< Template:DropdownFilter
Revision as of 23:45, 23 March 2021 by Chao (talk | contribs) (stripped illegal characters (colons and spaces) from option names)

Creates the JSON for a specified option for Template:DropdownFilter.

Usage

{{DropdownFilter/Option
  | selection-option
  | disabled (optional, put any value to disable the option))
}}
Code Produces
{{DropdownFilter/Option|BBCS}} ["BBCS", ""]
{{DropdownFilter/Option|BBCS|anything}} ["BBCS", "disabled"]