Multipass template