# Adding multiple metadata items per section to a template

!!!info
Your indexed data may be formatted in different ways. In some cases, to display a linked group of fields for your record, you’ll need to add **multiple metadata items** to a section.
!!!

<div>
  <script async src="https://js.storylane.io/js/v2/storylane.js"></script>
  <div class="sl-embed" style="position:relative;padding-bottom:calc(46.19% + 25px);width:100%;height:0;transform:scale(1)">
    <iframe loading="lazy" class="sl-demo" src="https://app.storylane.io/demo/vbs8rjjbomo2?embed=inline" name="sl-embed" allow="fullscreen" allowfullscreen style="position:absolute;top:0;left:0;width:100%!important;height:100%!important;border:1px solid rgba(63,95,172,0.35);box-shadow: 0px 0px 18px rgba(26, 19, 72, 0.15);border-radius:10px;box-sizing:border-box;"></iframe>
  </div>
</div>

---

Some of your data may be in a **group of key/value pairs** like this. 

```
description:
    0:
        type: "content description"
        value: "A description of the item in the record"
    1:
        type: "content description"
        value: "A different description of the item in the record"
```

In this case, a single metadata item in your section as described above will display all the keys and values in the data.

Some of your data may be structured like this:

```
@admin:
    data_source:
        code: "Q999999"
        group: "Z111111"
        name: "Gallery / Elasticsearch"
        organisation: "The Museum Gallery"
```

In which case you will need to add multiple metadata items to a section

In the above example, the **path** in the content in your section would be 
```
@admin.data_source
```
You would then create four individual metadata items for the section each time using the **add metadata** button.

The **first metadata item** would contain the following data:

- **Labelled** Code
- **Primary Heading** would have a static value of Code
- **Content would** have a Relative Path of code

The **second metadata item** would contain the following data

- **Labelled** Group
- **Primary Heading** would have a static value of Group
- **Content** would have a Relative Path of group

The **third metadata item** would contain the following data

- **Labelled** Name
- **Primary Heading** would have a static value of Name
- **Content** would have a Relative Path of name 

The **fourth metadata item** would contain the following data

- **Labelled** Organisation
- **Primary Heading** would have a static value of Organisation
- **Content** would have a Relative Path of organisation
