After implementing template styles in Шаблон:Singlechart and Шаблон:Albumchart, this appeared in the visual editor in every use of these templates:
The screenshot is from this article.
Smaller test case: https://ru.wikipedia.org/wiki/%D0%A3%D1%87%D0%B0%D1%81%D1%82%D0%BD%D0%B8%D0%BA:ESanders_(WMF)/%D0%A7%D0%B5%D1%80%D0%BD%D0%BE%D0%B2%D0%B8%D0%BA