# Taxonomies

## Usage

This fieldtype is used to view and select from a list of Taxonomies.

```yaml
fields:
  my_taxonomies_field:
    type: taxonomies
```

## Data Structure

The Taxonomies fieldtype is a [Relationship fieldtype](/relationships.md#fieldtypes), and will save the taxonomies as their handles.

```yaml
taxonomies:
  - genre
  - cool_factor
```

## Templating

You're more than likely using this field as a way to dynamically display Terms from one or more Taxonomies.

The following example assumes `max_items` has been set to `1`:

::tabs

::tab antlers
```antlers
<ul>
  {{ taxonomy :from="my_taxonomy_field" }}
    <li>{{ title }}</li>
  {{ /taxonomy }}
</ul>
```
::tab blade
```blade
<ul>
	<statamic:taxonomy
		:from="$my_taxonomy_field"
	>
		<li>{{ $title }}</li>
	</statamic:taxonomy>
</ul>
```
::

```html
<ul>
  <li>Comedy</li>
  <li>Drama</li>
  <li>Dramedy</li>
</ul>
```
