Templates
Master templates
master templates are very useful for maintaining the code for a template's header and footer in one place often, master templates are used to display a logo above a report or email or at the bottom of an email to display the festival details of the upcoming edition and links to social media in addition, master templates provide consistency in the design of reports by including css that is then used for all templates a report's print date can also be included in a footer in a master template, the placeholder {{ contents }} is mandatory this placeholder is replaced by the code of the report or email that uses this master template you can additionally use the following placeholders {{ documentcreatedby }} and {{ documentcreatedon }} creating and editing master templates in the settings menu, choose the option master templates click an existing master template to open its map, or click the plus button to create a new master template when creating a new master template, you can choose whether it is intended for emails or reports from the header in the template map, you can click on the pencil to edit the template's code this will open the template editor you can preview your code using the 'refresh preview' button in the header this will replace the placeholders with fake data using master templates open the editor of a template at the top of the header it is possible to choose a master template that you want to apply for this template code examples master template for email 	 {{ contents }} with kind regards, the festival {{ documentcreatedby }} master template for report 	 {{ contents }} this document was printed on {{format value documentcreatedon 'd mmmm yyyy hh\ mm' }} { font family arial; font size 12px; }