How to build a custom template
PermalinkI'm using 5.6

For a page list. there are detailed comments in the core page list view and templates. There are also some alternate templates free in the marketplace, so you can see how they are built and integrated.