📝 Added new templating note (#419)

* docs: document padding behavior

* Improve numeric fields note formatting in templating.md

Updated note formatting for numeric fields in templating documentation.

---------

Co-authored-by: xoconoch <xoconoch@cordovault.com>
Co-authored-by: Oskar Dudziński <56404247+oskvr37@users.noreply.github.com>
This commit is contained in:
xoconoch
2026-06-26 21:04:30 +02:00
committed by GitHub
co-authored by xoconoch Oskar Dudziński
parent 05d63d153e
commit 80a34962e0
+4
View File
@@ -47,6 +47,10 @@ Each object type exposes fields you can use inside templates.
| `item.explicit` | Explicit content | `E` | str | | `item.explicit` | Explicit content | `E` | str |
| `item.dolby:(Dolby Atmos)` | Dolby Atmos (track only, `UserFormat`) | `(Dolby Atmos)` | str | | `item.dolby:(Dolby Atmos)` | Dolby Atmos (track only, `UserFormat`) | `(Dolby Atmos)` | str |
> [!NOTE]
> Numeric fields `item.number` and `item.volume` can be padded with leading zeros
> using `:0<width>d` (e.g. `item.number:02d` → `03`, `item.volume:03d` → `001`).
--- ---
### `album` ### `album`