Functional description

This part is about the variables on participants in a template.

Variable Description Example
{S_PARTICIPANTS} Logical variable true / false
{participants.NAME} Technical name
Adult
{participants.DESCRIPTION} Description of the type Adult
{participants.PART_ID} ID 2
{participants.PRESENT} Present Ja
{participants.TEL_MOB} Cell phone
{participants.EMAIL} E-mail
{participants.INITIALS} Initials
{participants.FIRSTNAME} Firstname
{participants.PREFIX} Prefix
{participants.LASTNAME} Lastname
{participants.SEX} Sex
{participants.BIRTHDATE} Birthdata
{participants.MEMBERNUMBER} Member number
{participants.ID_NUMBER} ID number
{participants.ID_TYPE} ID type
{participants.CUSTOMxx} Custom field
{participants.ETICKET} The QR code
{participants.ETICKET_CODE} The underlying code for the QR image

An example table:

<table align="center" border="1" cellpadding="0" cellspacing="1" style="width:100%">
   <tbody>
      <tr>
         <td>Technische naam</td>
         <td>Omschrijving</td>
         <td>ID</td>
         <td>Present</td>
         <td>Initialen</td>
         <td>Tussenvoegsel</td>
         <td>Achternaam</td>
      </tr>
      <!-- BEGIN participants --> 
      <tr>
         <td>{participants.NAME}</td>
         <td>{participants.DESCRIPTION}</td>
         <td>{participants.PART_ID}</td>
         <td>{participants.PRESENT}</td>
         <td>{participants.INITIALS}</td>
         <td>{participants.PREFIX}</td>
         <td>{participants.LASTNAME}</td>
      </tr>
      <!-- END participants --> 
   </tbody>
</table>

It is possible to present the totals in a seperate table.

An example:

<table class="part_summary">
	<tbody>
		<tr>
			<th>ID</th>
			<th>Omschrijving</th>
			<th>Aantal</th>
		</tr>
		<!-- BEGIN parttotals -->
		<tr>
			<td>{parttotals.PRT_ID}</td>
			<td>{parttotals.PRT_NAME}</td>
			<td>{parttotals.PRT_NUMBER}</td>
		</tr>
		<!-- END parttotals -->
	</tbody>
</table>

For using the loops, check this page.