Adding an optional page title with background image to custom page templates (or all pages for that matter)?

I will explain what I’m trying to accomplish as I am having a difficult time figuring out the best way to ask this question. I have a custom theme that I am working on. I have several custom page templates for different page layouts etc.

I have one page template that places the page title centered below the header on top of a full width background image (featured image)…..a common template the user could use for interior pages if they want.

I realized that maybe they would want this feature at the top of some of the other layout templates. How can I add this to the top of every page template, but allow the feature to be checked on or off in the page editor? I feel like this should be somewhat standard, but I’m stuck.

Any help greatly appreciated!