Difference between revisions of "Setting/roomsunitnames"
Markkinchin (talk | contribs) |
Pierrebecher (talk | contribs) |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | If | + | If you have more than one of this room type, please give each unit an individual name for internal use (e.g. Room 1, Room 2, etc.). Please put one unit name per row. |
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. | ||
Line 20: | Line 20: | ||
[UNITNAME:2] = second piece of information | [UNITNAME:2] = second piece of information | ||
+ | |||
+ | Example: | ||
+ | |||
+ | You have 2 units (100 and 101). Check-in for 100 is from 3.00 pm and check-in for 101 is from 4.00 pm | ||
+ | |||
+ | Additionally you want to add a specific key code for each unit. | ||
+ | |||
+ | In "Unitname" enter: | ||
+ | |||
+ | 100|3.00 pm|12<br> | ||
+ | 101|4.00 pm|98 | ||
+ | |||
+ | This would yield the following template variables: | ||
+ | |||
+ | For unit '100': | ||
+ | |||
+ | [UNITNAME] = 100<br> | ||
+ | [UNITNAME:1] = 3.00 pm<br> | ||
+ | [UNITNAME:2] = 12 | ||
+ | |||
+ | For unit '101': | ||
+ | |||
+ | [UNITNAME] = 101<br> | ||
+ | [UNITNAME:1] = 4.00 pm<br> | ||
+ | [UNITNAME:2] = 98 |
Latest revision as of 13:27, 27 May 2020
If you have more than one of this room type, please give each unit an individual name for internal use (e.g. Room 1, Room 2, etc.). Please put one unit name per row.
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
Example:
You have 2 units (100 and 101). Check-in for 100 is from 3.00 pm and check-in for 101 is from 4.00 pm
Additionally you want to add a specific key code for each unit.
In "Unitname" enter:
100|3.00 pm|12
101|4.00 pm|98
This would yield the following template variables:
For unit '100':
[UNITNAME] = 100
[UNITNAME:1] = 3.00 pm
[UNITNAME:2] = 12
For unit '101':
[UNITNAME] = 101
[UNITNAME:1] = 4.00 pm
[UNITNAME:2] = 98