Hi,
If you want to display multiple lines just put the template in a loop.
If you want to display one line or header data just create separated fields like what VenkatRamesh V described then read table using indexing then pass the value from the table to the fields .