# Adding multiple metadata items per section to a template


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