Last modified: 2014-03-01 00:11:43 UTC
It has been mentioned in some places[1][2] that the JSON syntax might be a problem for typical (non-technical) users, so I suggest creating a plugin for editing the content of the <templatedata> tags. [1] https://commons.wikimedia.org/wiki/Template_talk:Information#Adding_TemplateData_information [2] https://pt.wikipedia.org/wiki/WP:Café_dos_programadores#Mais_uma_novidade:_TemplateData
See also bug 50370 comment 1.
A user on fr.wikipedia seems to have developed a user script to easily add TemplateData to a template: https://fr.wikipedia.org/wiki/Utilisateur:Ltrlg/scripts/TemplateDataEditor.js This might be of interest while developing a similar VE module.
Created attachment 12786 [details] Screenshot of the form provided by the user script from frwiki (In reply to comment #2) > A user on fr.wikipedia seems to have developed a user script to easily add > TemplateData to a template: > https://fr.wikipedia.org/wiki/Utilisateur:Ltrlg/scripts/TemplateDataEditor.js > > This might be of interest while developing a similar VE module. For convenience, I've attached a screenshot of the form generated by that script.
I've translated the script to enwiki : http://en.wikipedia.org/wiki/User:NicoV/TemplateDataEditor and made a screenshot in Commons : http://commons.wikimedia.org/wiki/File:TemplateDataEditor.png