TempalteData and portable infoboxes work together but they are separate features. If you want to just create a simply infobox, try using Special:InfoboxBuilder to get started. If you are trying to use some of the more advanced features of portable infoboxes and are getting confused, please tell us what your are trying to do that you find confusing.