Template:Open hours: Difference between revisions
From MoHA Wiki
No edit summary |
No edit summary |
||
Line 30: | Line 30: | ||
--><li>{{#switch:{{{Record type|}}} | --><li>{{#switch:{{{Record type|}}} | ||
|Opening | |Opening | ||
|Closing=<div>'''{{{Record type|}}}'''</div> | |Closing=<div>'''{{{Label|{{{Record type|}}}}}}'''</div> | ||
|Regular=<div>'''Open hours'''</div> | |Regular=<div>'''{{{Label|Open hours}}}'''</div> | ||
|#default= | |#default='''{{{Label|}}}''' | ||
}} | }} | ||
<div>{{#var:wdays}}</div> | <div>{{#var:wdays}}</div> |
Revision as of 10:39, June 18, 2024
The template tries to explain the event schedule. You can set hours:
- for the exact date (e.g., 05.10.2024, etc)
- for the day of the week (e.g., Monday, etc)
- for the range of days of the week (e.g., Monday-Friday, etc)
Parameter | Description | Type | Status | |
---|---|---|---|---|
Slot type | Slot type | Defines the type of time slot
| String | required |
Single day | Single day | Name of a day of the week
| String | optional |
Range day from | Range day from | Name of the first day of the week in a range
| String | optional |
Range day to | Range day to | Name of the last day of the week in a range
| String | optional |
Exact date | Exact date | Date with a special schedule or meaning | Date | optional |
Schedule type | Schedule type | Defines whether the schedule has a break
| Unknown | optional |
Record type | Record type | Defines a special meaning of the record
| String | optional |
Hour open from | Hour open from | no description | Unknown | optional |
Minutes open from | Minutes open from | no description | Unknown | optional |
Hour open to | Hour open to | no description | Unknown | optional |
Minutes open to | Minutes open to | no description | Unknown | optional |
Hour break from | Hour break from | no description | Unknown | optional |
Minutes break from | Minutes break from | no description | Unknown | optional |
Hour break to | Hour break to | no description | Unknown | optional |
Minutes break to | Minutes break to | no description | Unknown | optional |