Split out a base template