# Attributes
The `dj-angles` approach is shown first and then the equivalent Django Template Language is second.
## [`if`](https://docs.djangoproject.com/en/stable/ref/templates/builtins/#if)
```html
...
```
```html
{% if True %}...
{% endif %}
```
## [`elif`](https://docs.djangoproject.com/en/stable/ref/templates/builtins/#if)
```html
if
elif
```
```html
{% if some_list.0 %}
if
{% elif some_list.1 %}
elif
{% endif %}
```
## [`else`](https://docs.djangoproject.com/en/stable/ref/templates/builtins/#if)
```html
if
elif
else
```
```html
{% if some_variable == 1 %}
if
{% elif some_variable == 2 %}
elif
{% else %}
else
{% endif %}
```