Introduction to SPS templates