add template with quickref