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 00:22, 24 March 2021 by Chao (talk | contribs) (reverted changes; changed filter to split on semicolons instead of spaces)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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"]