Word templates
Word templates
In Moliri, loan agreements, object lists and condition reports are made from Word templates. A template
is an ordinary Word file with commands such as {#$o[`RegNr`]#} in its text. On export, Moliri puts
the values of the selected objects in those places.
This area is written for everyone who creates or adapts templates. If you only need a report from a finished template, you will find that in the user handbook under Create a Word report .
Ways to a template
| Way | When |
|---|---|
| Template editor in the browser | The usual way. Insert fields with formatting, check, look at the preview, set the output |
| Word with the add-in | If you prefer to work in Microsoft Word. Field building blocks and patterns in a sidebar |
| Word without help | Any Word file with commands is a template. Uploading it is enough |
Whichever way you take, the document ends up with the same commands. So you can carry on editing a template another way at any time.
Getting started
The tutorial The first Word template takes you from an empty file to an object sheet with an image in half an hour.
Guides
- Create a Word template : create it, insert fields, check it, file it
- Recipes : loan agreement, object list, condition report and more patterns to copy
- Word add-in : write templates directly in Microsoft Word
Reference
- Template syntax : commands, loops, output modes
- Template variables : the data a command sees
- Template functions : the ten helpers
- Output formatters in templates : formatted field values