Visual Editor currently parses certain nested references within nested templates incorrectly. The problem is apparent at
which cannot be edited in VE at all. The smallest instance of the bug I was able to create is here:
https://en.wikipedia.org/w/index.php?title=User:AxelBoldt/sandbox1&oldid=700520433&veaction=edit