> For the complete documentation index, see [llms.txt](https://sitecoreuml.gitbook.io/sitecoredxg/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sitecoreuml.gitbook.io/sitecoredxg/about-the-generated-documentation/models/inheritance.md).

# Inheritance Relationship Model

Inheritance is represented in the documentation generated by SitecoreDXG in several different ways. First and foremost, in SitecoreUML, inheritance is represented as a UML Generalization.&#x20;

{% hint style="info" %}
In UML, a Generalization is a type of relationship that indicates that the source entity generalizes (or inherits) the target interface entity.&#x20;

In SitecoreUML, UML Interfaces are used to represent Sitecore templates. As such, it stands to reason that template inheritance would be represented by&#x20;
{% endhint %}

### Checking Inheritance on the Template Model

You can quickly see what templates are inherited by a particular template by navigating to the template and looking at it's "Generalized Elements". For example, in the below image of the "\_TeasersParameters" template model, you can see in the "Generalized Elements" section that the "\_TeasersParameters" template inherits the "ParametersTemplate\_HasBackground" and the "ParametersTemplate\_FixedHeight" templates.&#x20;

![The template model representing the \_TeasersParameters template of Habitat](https://3773347095-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LMm7Br9HnvoPUnrSjNk%2F-LOJ4yxrPd4aeeRYAZRu%2F-LOJCSGcL-PRz5oUGA4s%2FInheritance%20-%20Template.png?alt=media\&token=677ba73f-d304-4baa-ba82-e0d795ec72b7)

### Inheritance Relationship Models

You can also find the UML Generalization models that represent the inheritance relationships under the source template's model (i.e. under the model for the template that inherits the dependency template).&#x20;

![The documentation page that represents the inheritance relationship between the \_TeasersParameters template and the ParametersTemplate\_HasBackground of Habitat](https://3773347095-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LMm7Br9HnvoPUnrSjNk%2F-LOJ4yxrPd4aeeRYAZRu%2F-LOJBqOfwX8AaN1sWZ9V%2FInheritance%20-%20Model.png?alt=media\&token=09f8f30f-1cec-4c46-acb8-2e0a864c3102)

### Other Ways to View Inheritance

In Sitecore template architecture, dependencies are defined by inheritance, in that a source template only depends on a target template if the source template inherits the target template. As such, whenever you look at a dependency you are looking at one or more (grouped; e.g. a dependency of one module on another) inheritance relationships.&#x20;

For more information about viewing inheritance through dependencies, see [*Dependency Relationship Model*](/sitecoredxg/about-the-generated-documentation/models/dependencies.md).
