# Automatic Labels

## Templates

`db.label`

- Generate the label for an element

`db.label.number`

- Generate the number portion of a label

## Modes

`db.label.mode`

`db.label.number.mode`

db.label

Generate the label for an element

### Parameters

`node`

- The element for which to generate a label

`role`

- The role of the label, as passed to the format templates

db.label.number

Generate the number portion of a label

### Parameters

`node`

- The element for which to generate a number

db.label.mode

### Description

This mode has no description

db.label.number.mode

### Description

This mode has no description