---
title: DeprecatedTag
description: Checks whether a theme uses deprecated tags.
source_url:
  html: >-
    https://shopify.dev/docs/storefronts/themes/tools/theme-check/checks/deprecated-tag
  md: >-
    https://shopify.dev/docs/storefronts/themes/tools/theme-check/checks/deprecated-tag.md
api_name: liquid
---

# Deprecated​Tag

Discourages using [deprecated tags](https://shopify.dev/docs/api/liquid/tags/theme-tags) in themes. Deprecated tags have their own unique implementation within this check. For example the `include` tag is deprecated but is still used in themes. This check looks for the `include` tag and provides a message that it's deprecated.

***

## Examples

The following examples contain code snippets that either fail or pass this check:

### ✗ Fail

```liquid
<Partial filePath="snippet" />
```

### ✓ Pass

```liquid
{% render 'snippet' %}
```

***

## Options

The following example contains the default configuration for this check:

```yaml
DeprecatedTag:
  enabled: true
  severity: warning
```

| Parameter | Description |
| - | - |
| `enabled` | Whether the check is enabled. |
| `severity` | The [severity](https://shopify.dev/themes/tools/theme-check/configuration#check-severity) of the check. |

***

## Disabling this check

Disabling this check isn't recommended.

***

## Aliases

For backward compatibility with configuration files made for Theme Check `v1.X.X`, this check is also recognized in configuration files with the following name:

* `DeprecatedTags`

***
