-
Notifications
You must be signed in to change notification settings - Fork 22
Custom Code Templates
mirsch edited this page Sep 15, 2025
·
2 revisions
using custom code templates you are able to generate your own format for the code.
You can add any text and use placeholders to insert data into this text.
For example:
LC%code%-%stage_10% will translate to LCxxxx-01 where LC is a fixed prefix, xxxx is the generated code followed by the - char and 01 is the numerical stage number left padded with zero.
LC%code%%stage_31% will translate to LCxxxx1 (best for old Garmin GPS)
Available placeholders:
| Placeholder | Description |
|---|---|
| %CODE% | The unique code generated by lab2gpx |
| %STAGE_10% | Stage number decimal, left padded with zero e.g. 01 |
| %STAGE_31% | Stage number base31 encoded, single char |
| %UUID% | The UUID/GUID/ID of the Adventure Lab |