modify 'inline' to allow a number of template parents to load