Difference between revisions of "Setting/roomsunitnames"

From Beds24 Wiki
Jump to navigation Jump to search
Line 3: Line 3:
 
Enter a name for each individual unit of this room type one per line.
 
Enter a name for each individual unit of this room type one per line.
  
Additional information about each unit can be added and accessed via template variables.
+
Additional information about each unit can be added on the same line after the name and accessed via template variables.
  
Add the a pipe symbol "|" after the name and then the additional information.
+
Add a pipe symbol "|" after the name and then the additional information.
  
 
A second set of addition information can be added after another pipe symbol.
 
A second set of addition information can be added after another pipe symbol.
  
i.e. Unit name | description for showing in template variable | second piece of information
+
i.e.  
  
 +
The following line will display in template variables as follows:
  
The following template variables will display as follows:
+
Unit name | description for showing in template variable | second piece of information
  
 
[UNITNAME] = Unit name
 
[UNITNAME] = Unit name

Revision as of 18:31, 17 December 2015

If there are more than one of this room type, each can be given a name for internal use.

Enter a name for each individual unit of this room type one per line.

Additional information about each unit can be added on the same line after the name and accessed via template variables.

Add a pipe symbol "|" after the name and then the additional information.

A second set of addition information can be added after another pipe symbol.

i.e.

The following line will display in template variables as follows:

Unit name | description for showing in template variable | second piece of information

[UNITNAME] = Unit name

[UNITNAME:1] = description for showing in template variable

[UNITNAME:2] = second piece of information