Linking of print templates
Examples of linking individual print templates
Selected Restaurant: Grill Restaurant El Toro - Hotel Villmergen Change
Print templates for Grill Restaurant El Toro - Hotel Villmergen
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 «El Toro Mittagsmenü»
Variant | URL | Preview |
---|---|---|
with daily specials of the actual day |
https://api2.lunchgate.ch/menu/template/g/12852/t/2872
|
Show |
with daily specials of the following day |
https://api2.lunchgate.ch/menu/template/g/12852/t/2872/day/1
|
Show |
with daily specials of a certain date |
https://api2.lunchgate.ch/menu/template/g/12852/t/2872/date/2024-12-21
|
Show |
2 cards side by side on one page |
https://api2.lunchgate.ch/menu/template/g/12852/t/2872/m/2
|
Show |
2x2 cards on one side |
https://api2.lunchgate.ch/menu/template/g/12852/t/2872/m/2/n/2
|
Show |