VE-1558 Template search UI

https://wikia-inc.atlassian.net/browse/VE-1558
i is an integer index here. It's the index of the data.templates array.