---
title: "Example - list label macro"
canonical: "https://support.appfire.com/space/CLSL/655891543/Example%20-%20list%20label%20macro"
format: markdown
---
> Macro (aura-html)

### Example 4  Creating a label check heading and allowing plain text notes for a list column

In this example we are

- using the heading **Mammal?** for the label check, different from the actual label name `mammal`
- showing the comments column values set in a previous example (Example 3) from another list
- adding a column to input plain text

The comments-heading values are stored as metadata.

> ✅ These comments can be accessed using the [list metadata](https://appfire.atlassian.net/wiki/spaces/CLSL/pages/656677291) macro.

The example uses the [list](https://appfire.atlassian.net/wiki/spaces/CLSL/pages/655889865) macro and filters the list using the label `pet`. Columns are added to the list by adding other list macros to the body of the [list](https://appfire.atlassian.net/wiki/spaces/CLSL/pages/655889865) macro.

![image](media://15765008-880b-49c5-b1a5-32a952f567f8)

This displays the following list on the published page:

![image](media://796dce3e-9b5a-477d-a856-61528d7a414c)

- the [list label](https://appfire.atlassian.net/wiki/spaces/CLSL/pages/656578375) macro is used to display a list column for the `mammal` label

> ℹ️ A different heading is added using the **Edit macro** dialogue box.

- the [list metadata](https://appfire.atlassian.net/wiki/spaces/CLSL/pages/656677291) macro is used to display the metadata values from an existing list. These values are from the list with the comment heading `Notes`

> 📝 The display values are not editable from this list. They can only be edited in the source list where the column was added using the [list input](https://appfire.atlassian.net/wiki/spaces/CLSL/pages/656676649)` `macro.

- the [list input](https://appfire.atlassian.net/wiki/spaces/CLSL/pages/656676649) macro displays the list column **Common Pet Names**

> ℹ️ This is a text input column.

##### **Markup**

```
{list:label=pets|name=Animals as household pets|useboards=false}
{list-label:heading=Mammal?|label=mammal} {list-metadata:heading=Notes} {list-input:cols=20|heading=Common Pet Names}
{list}
```

| [Back to Comala Lists User Guide](https://appfire.atlassian.net/wiki/pages/createpage.action?spaceKey=clsl&title=User%20Guide&linkCreation=true&fromPageId=655891543) |
| --- |
| #### [list](https://appfire.atlassian.net/wiki/spaces/CLSL/pages/655889865) macro |
| #### [list-label](https://appfire.atlassian.net/wiki/spaces/CLSL/pages/656578375) macro |
| #### [list-metadata](https://appfire.atlassian.net/wiki/spaces/CLSL/pages/656677291) macro |
| #### [list-input](https://appfire.atlassian.net/wiki/spaces/CLSL/pages/656676649) macro |