**Background**
This is the umbrella ticket for all tasks related to adding a new feature to TemplateData itself, to the TemplateData editor, and then to the VisualEditor template dialog.
We are adding the ability for users to specify a list of suggested values to a parameter in TemplateData. These will then be displayed to users who add or edit the template in the VisualEditor in the form of a dropdown. They will then have the option to select one of the suggested values or type in a custom value. If a custom value is chosen, it will display a notice.
We implemented on the test instance prototype to very positive feedback in usability testing.
**Related phabricator tickets**
{T53375}
{T52760}
Prototype implementation on test instance: {T260157}
**Open questions**
- Which parameter types should have this option? Current list: Content, Line, String, Unknown. Should Number or Date be included? Unbalanced wikitext?
- Is there a maximum number of items that should be allowed?
- Can we accept multiple comma symbols as separators (RTL languages have a different comma) or should they be separated by pipes? |
- Review questions listed by Thiemo here: https://phabricator.wikimedia.org/T260157#6402243