How to add custom template parts to default templates
Below is a basic example of how to create your own template parts and add them to default or custom templates.
The screen recording below demonstrates how to create a custom Footer template part which is displayed only on the Page template: