Community Wishlist Survey 2022/Editing/More easily view template parameters in VE

More easily view template parameters in VE

  • Problem: Many articles have Infobox with many blank parameters (i.e. data not supplied)
  • Proposed solution: The mastercopy of the infobox, i.e. list with all the parameters available should be available in both "Visual Edit" and "Source Edit" mode, so that an editor can automatically choose the parameters needed. A future editor can also add parameter(s) easily.
  • Who would benefit: Editors
  • More comments: This will clear up the unnecessary spaces in the Infobox.
  • Phabricator tickets: T74083
  • Proposer: Anupamdutta73 (talk) 07:47, 13 January 2022 (UTC)


  • @Anupamdutta73: Have you used the TemplateWizard tool (in the wikitext editing toolbar)? This is one way to get a list of all available parameters for a given infobox or other template. I'm not sure if you're suggesting that all unused parameters be removed from template invocations (that's a matter for local wiki style guides), but one potential solution to your problem could be to extend the TemplateWizard to make it possible to open a template invocation for editing — that'd mean you could click on a given template title in the wikitext and open it in TemplateWizard where all it's filled and unfilled parameters would be visible (with nice labels and descriptions etc.). There's more description of that in task T206494; do you think this would be a reasonable solution? — SWilson (WMF) (talk) 02:46, 18 January 2022 (UTC)
  • @SWilson (WMF): Frankly, I am missing something.... Whenever I use the template (even a few minutes back) for new or editing, no suggestions popup for the paramaters.... For example for infobox Person the first parameter is name, which is not shown... Hence my suggestion on the left pane the full list (uneditable but scrollable) which gives both the new and the seasoned editors a clear idea the list of available parameters.... Anupamdutta73 (talk) 03:13, 18 January 2022 (UTC)
    Dialog that opens
    @Anupamdutta73: You should see a list of available parameters at the left pane of the TemplateWizard dialog; do you not see something like in the screenshot at right? At the moment, it's not possible to edit a template in this way. SWilson (WMF) (talk) 05:10, 18 January 2022 (UTC)
  • @SWilson (WMF): I am really sorry to say i have never encountered the correct layout in my 20 months as a wikimedian... Please let me know how to get the correct template and not the one I am getting... Anupamdutta73 (talk) 05:41, 18 January 2022 (UTC)
  • @Anupamdutta73: Ah, right! Sorry, I was incorrectly thinking you were talking about the WikiEditor rather than Visual Editor. You're right, for VE there is a different way of viewing template parameters in the template-insertion dialog. If you switch to 'source editing' you can try out the TemplateWizard, with the left pane that lists all parameters. Perhaps this proposal could be changed to make this sort of list available in VE? — SWilson (WMF) (talk) 03:22, 19 January 2022 (UTC)
Seems like this is related: phab:T280078 TemplateData support for specifying parameters that are allowed to be empty. We have a workaround [[[:pl:MediaWiki:Gadget-veKeepParameters.js|patch that make VE keeps empty parameters]] on This way VE keeps parameters marked as suggested and so people editing code do not have to look up basic parameters. Works fine since November, so quite a long time. Obviously would be great if a more permanent solution would be added. --Nux (talk) 18:36, 2 February 2022 (UTC)


  •   Support JDspeeder1 (talk) 01:07, 29 January 2022 (UTC)
  •   Support--Mahl (talk) 11:00, 29 January 2022 (UTC)
  •   Support Thingofme (talk) 14:53, 30 January 2022 (UTC)
  •   Weak support I dont use VE, but I see the help, the number of times I've opened a template doc page to check what the names of parameters are is more than I care to admit. IAmChaos (talk) 18:08, 31 January 2022 (UTC)
  •   Support MONUMENTA (talk) 01:10, 1 February 2022 (UTC)
  •   Support Browk2512 (talk) 00:49, 2 February 2022 (UTC)
  •   Support Nux (talk) 18:37, 2 February 2022 (UTC)
  •   Support Os of now, the Visual Editor is of less use for editing Infoboxes. This feature can make it far better. PeterBehnam (talk) 17:03, 3 February 2022 (UTC)
  •   Support - Darwin Ahoy! 15:14, 5 February 2022 (UTC)
  •   Support Nkon21 (talk) 03:28, 6 February 2022 (UTC)
  •   Support Ayumu Ozaki (talk) 05:52, 6 February 2022 (UTC)
  •   Support Carlos Pozo (talk) 06:58, 6 February 2022 (UTC)
  •   Support --Ciao • Bestoernesto 18:28, 6 February 2022 (UTC)
  •   Support Annablazeprobable (talk) 00:43, 7 February 2022 (UTC)
  •   Support GeographyMasterDE (talk) 14:35, 7 February 2022 (UTC)
  •   Support Definetly can be improved —TheDJ (talkcontribs) 21:53, 7 February 2022 (UTC)