> For the complete documentation index, see [llms.txt](https://xeavin.gitbook.io/the-insurgents-handbook/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://xeavin.gitbook.io/the-insurgents-handbook/text/text-tags/amount.md).

# Amount

### Signature

```
{amount:[id],[padRange],[zeroPadOnNav],[zeroPadAlways]}
```

### Description

Displays the amount of a action, item, and more.

The displayed text differs based on the `argXType` header option of a dialog entry.

```
{dialog 0, arg0type=3}
You obtain {amount:0,0,0,0} gil!
{/dialog}
```

This dialog could translate to `You obtain 500 gil!` where as the displayed gil amount is determined by the function that retrieves this text while the arg type defines that the amount is just a number (as it can also point to a content).

For a full list of arg types, you can view the following page: [St2e8](/the-insurgents-handbook/text/formats/st2e8.md#arg-type).

### Arguments

#### Identifier

The argument type identifier of the amount (0 -> 15).

#### Padding Range

The padding range of the shown number (0 -> 8).

For example, with a padding range of 4, the value `20` would be shown like `20`.

#### Zero Padding On Navigation

If set to 1, the shown number will include zero padding on navigation (0 -> 1).

#### Always Zero Padding

If set to 1, the shown number will always include zero padding (0 -> 1).

For example, with a padding range of 4, the value `20` would be shown like `0020`.

If the padding range is not higher than 0, this argument has no effect.

### Notes

{% hint style="info" %}
This tag is only usable in a text file with the format **st2e8** (e.g. battle messages).
{% endhint %}
