padtemplate: Create pad templates with floating refs