Useful Contents
These links have relevant stuff:
https://joomla.stackexchange.com/questions/31529/share-code-between-component-templates
https://docs.joomla.org/J3.x:Sharing_layouts_across_views_or_extensions_with_JLayout
https://phproberto.com/en/13-jlayout-improvements-for-joomla-3-2