Update docs: template variables list, README, and LICENSE

This commit is contained in:
MivoDev
2026-01-18 11:43:41 +07:00
parent 4f51cf454f
commit e48286c910
4 changed files with 67 additions and 2 deletions

View File

@@ -6,7 +6,12 @@ MIVO features a powerful template engine to create beautiful, printable vouchers
Templates use HTML and specialized placeholders to display voucher data.
- **Variables**: `{{username}}`, `{{password}}`, `{{price}}`, etc.
- **Variables**:
- **Credentials**: `\{\{username\}\}`, `\{\{password\}\}`
- **Server**: `\{\{server_name\}\}`, `\{\{dns_name\}\}`
- **Plan**: `\{\{profile\}\}`, `\{\{price\}\}`, `\{\{validity\}\}`, `\{\{time_limit\}\}`, `\{\{data_limit\}\}`
- **Network**: `\{\{ip_address\}\}`, `\{\{mac_address\}\}`
- **Extras**: `\{\{comment\}\}`, `\{\{copyright\}\}`, `\{\{qrcode\}\}` (supports options like `size=100 fg=red`)
- **Preview**: Test your template instantly from the editor.
## <Icon name="Printer" color="info" /> Quick Print