Separate alliance list into a template.