How to create editable templates based on another editable template?



I need to create a base editable template which contains the header and footer for the site, then I need to create more editable templates for the different types of pages for the site as illustrated in the following structure:


It's needs to be done in a way such that when the template author edits the base editable template, the header and footer content needs to be reflected throughout all the derived editable templates. Is there a way to derive editable templates from other editable templates?