skinsert now correctly inserts templates in a way which is compatible with parser caching.