Merge letters templates: Difference between revisions
Created page with "= Introduction = Denne side er til dig, der gerne vil vide mere om, hvordan du bruger UMS modulet Flettebreve. Klikker du på et af de fem links nedenfor, kan du se eksempler på de forskellige former for flettebreve og hente skabeloner med kode, du kan tilpasse til dit behov. Husk at erstatte evt. statisk tekst i de nedenstående eksempler med skolens aktuelle tekst. Dette omfatter blandet andet domænenavn i velkomstbrev, links til logo'er og lignende. == Eksempler p..." |
No edit summary |
||
| Line 1: | Line 1: | ||
= Introduction = | = Introduction = | ||
This page provides information on how to use the '''UMS Merge Documents''' module. The links below contain examples and templates you can download and customize for various types of merge documents. | |||
Remember to replace any static text in the examples with your school's current information. This includes things like the domain name in welcome letters, logo links, and other similar details. | |||
== | == Examples of Merge Documents == | ||
The links below provide examples and templates for various types of merge documents: | |||
* Lists | * Lists | ||
| Line 12: | Line 13: | ||
* CSV | * CSV | ||
---- | |||
=== Using Variables === | |||
A number of "variables" can be used when creating merge documents. Some of these are special and have specific uses, as described below. | |||
' | ==== Images ==== | ||
When creating lists with images, remember that the variable inserts the file path to the image. You can manually adjust the size of the image by adding a <code>height</code> or <code>width</code> attribute to the HTML tag, like this: <code><nowiki><img src="{{photo}}" height="100"></nowiki></code>. It's recommended to set only one dimension (either height or width) to ensure the image keeps its correct aspect ratio. | |||
==== Labels and List Rows ==== | |||
You can control how many items appear on each page using a few specific variables: | |||
* '''LabelsRows:''' For labels, this variable specifies the number of "cards" per page. For example, <code><nowiki>{{LabelsRows:3}}</nowiki></code>. | |||
* '''ListRows:''' For lists, this variable specifies the number of users per page. For example, <code><nowiki>{{ListRows:12}}</nowiki></code>. | |||
==== RowCounter ==== | |||
The '''RowCounter''' variable allows you to create numbered lists by adding a sequential number to each row. | |||
'''RowCounter''' | |||
Revision as of 09:36, 28 August 2025
Introduction
This page provides information on how to use the UMS Merge Documents module. The links below contain examples and templates you can download and customize for various types of merge documents.
Remember to replace any static text in the examples with your school's current information. This includes things like the domain name in welcome letters, logo links, and other similar details.
Examples of Merge Documents
The links below provide examples and templates for various types of merge documents:
- Lists
- Welcome letters
- IT-Rules
- Labels
- CSV
Using Variables
A number of "variables" can be used when creating merge documents. Some of these are special and have specific uses, as described below.
Images
When creating lists with images, remember that the variable inserts the file path to the image. You can manually adjust the size of the image by adding a height or width attribute to the HTML tag, like this: <img src="{{photo}}" height="100">. It's recommended to set only one dimension (either height or width) to ensure the image keeps its correct aspect ratio.
Labels and List Rows
You can control how many items appear on each page using a few specific variables:
- LabelsRows: For labels, this variable specifies the number of "cards" per page. For example,
{{LabelsRows:3}}. - ListRows: For lists, this variable specifies the number of users per page. For example,
{{ListRows:12}}.
RowCounter
The RowCounter variable allows you to create numbered lists by adding a sequential number to each row.