> 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](/files/-LOJCSGcL-PRz5oUGA4s)

### 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](/files/-LOJBqOfwX8AaN1sWZ9V)

### 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).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://sitecoreuml.gitbook.io/sitecoredxg/about-the-generated-documentation/models/inheritance.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
