Linking of print templates
Examples of linking individual print templates
Selected Restaurant: Restaurant Krone Lenzburg Change
Print templates for Restaurant Krone Lenzburg
The content and formatting of the print templates can be modified with several parameters
Basic parameters:
- Name [Format]
- Description
- g [Integer]
- ID of the restaurant (must always be specified)
- t [Integer]
- ID of the print template (always recommended, mandatory for restaurants with multiple templates)
- day [Decimal number]
-
A time difference in days (optional). Fractions of days can also be specified. Example: With a value of
day/0.4
, the menus from the following day are displayed from 14:24 onwards. - date [JJJJ-MM-DD]
- A specific date (optional)
- m [Integer]
- Number of cards to be printed side by side on the same sheet, e.g. for A5 size cards to be printed on A4 paper. .
- n [Integer]
- Number of cards to be printed on the same sheet under each other
- lang [String]
- Language selection, if the print template was designed for multi-language support.
Valid values are
de|fr|it|en
Examples for template «Krone Lenzburg - Mittagsmenu 01/24»
Variant | URL | Preview |
---|---|---|
with daily specials of the actual day |
https://api2.lunchgate.ch/menu/template/g/911/t/3213
|
Show |
with daily specials of the following day |
https://api2.lunchgate.ch/menu/template/g/911/t/3213/day/1
|
Show |
with daily specials of a certain date |
https://api2.lunchgate.ch/menu/template/g/911/t/3213/date/2024-12-20
|
Show |
2 cards side by side on one page |
https://api2.lunchgate.ch/menu/template/g/911/t/3213/m/2
|
Show |
2x2 cards on one side |
https://api2.lunchgate.ch/menu/template/g/911/t/3213/m/2/n/2
|
Show |
Examples for template «Krone Lenzburg - Mittagsmenu 04/24»
Variant | URL | Preview |
---|---|---|
with daily specials of the actual day |
https://api2.lunchgate.ch/menu/template/g/911/t/3268
|
Show |
with daily specials of the following day |
https://api2.lunchgate.ch/menu/template/g/911/t/3268/day/1
|
Show |
with daily specials of a certain date |
https://api2.lunchgate.ch/menu/template/g/911/t/3268/date/2024-12-20
|
Show |
2 cards side by side on one page |
https://api2.lunchgate.ch/menu/template/g/911/t/3268/m/2
|
Show |
2x2 cards on one side |
https://api2.lunchgate.ch/menu/template/g/911/t/3268/m/2/n/2
|
Show |