Labels
Label placeholders
A placeholder has the format %%PLACEHOLDER%%
and will be filled with the concrete data by Part-DB.
Common
Placeholder |
Description |
Example |
%%USERNAME%% |
The user name of the currently logged in user |
admin |
%%USERNAME_FULL%% |
The full name of the current user |
John Doe (@admin) |
%%DATETIME%% |
The current date and time in the selected locale |
31.12.2017, 18:34:11 |
%%DATE%% |
The current date in the selected locale |
31.12.2017 |
%%TIME%% |
The current time in the selected locale |
18:34:11 |
%%INSTALL_NAME%% |
The name of the current installation (see $config['partdb_title']) |
Part-DB |
Parts
Placeholder |
Description |
Example |
%%ID%% |
The internal ID of the part |
24 |
%%NAME%% |
The name of the part |
ATMega328 |
%%CATEGORY%% |
The name of the category (without path) |
AVRs |
%%CAT_FULL%% |
The full path of the category |
Aktiv->MCUs->AVRs |