Topic on VisualEditor/Feedback

Templatedata in Templates?

3
Stratoprutser (talkcontribs)

Hi, I saw its possible to add standard templatedata through templates, but when I tried to add a template to the templatedata description, the template wasn't substituted. We have very many very similar templates, and their documentation mostly comes through templates, so it would be super handy to be able to add TD through templates, too. Just, as the template-page is more informative then the template interface in the VE, it would be nice to have the option of adding more customized info to the TD description without having to edit all the templates manually.

Also, why is templatedata inside the template text, why didn't you add it to a separate DB field? Seem more intuitive? Now its mixing json with Wikitext...

And: Would it be possible to display some TD description in the template selection in the VE? You really have to be familiar with the template name to add it, and I guess it would be not too complicated to show the template description, either abridged, or in the hover-text? Thanks!

Bonus question: What's the exact difference between parameter type "string" and type "line" in TD? Couldnt find it in the specs.
Whatamidoing (WMF) (talkcontribs)
Сунприат (talkcontribs)
Reply to "Templatedata in Templates?"