How to create a layout template?

I am looking at your Spirit theme and I’d like to create a layout template such as single-page-gallery.php or single-page-about.php, and I cannot work out how to do it, apart from sitting down and writing few thousand lines of code.

Is there a way to export a page to turn it into a template? How is your team creating these templates?

Thank you,