Form:Event: Difference between revisions

From MoHA Wiki
No edit summary
No edit summary
Line 22: Line 22:
! Date End
! Date End
| {{{field|Date End|input type=datetimepicker}}}
| {{{field|Date End|input type=datetimepicker}}}
|-
! Open hours
| {{{field|Open hours|holds template}}}
|-
|-
! Doors:
! Doors:
Line 81: Line 84:
|}
|}
{{{end template}}}
{{{end template}}}
{{{for template|Resource|multiple|embed in field=Event[Resources]|add button text=Add link}}}
{{{for template|Resource|multiple|embed in field=Event[Resources]|add button text=Add link}}}
{| class="formtable"
{| class="formtable"
Line 93: Line 95:
! Comment:
! Comment:
| {{{field|Resource comment|input type=textarea|rows=4}}}
| {{{field|Resource comment|input type=textarea|rows=4}}}
|}
{{{end template}}}
{{{for template|Open hours|multiple|embed in field=Event[Open hours]|add button text=Add open hours}}}
{| class="formtable"
|-
! Slot type
| {{{field|Slot type|input type=dropdown|values=Single day,Range of days,Exact date|default=Single day|mandatory|show on select=Single day=>singleDay;Range of days=>rangeDays;Exact date=>exactDate;}}}
|- id="singleDay"
! Day of the week:
| {{{field|Single day|input type=dropdown|property=Day of week|mandatory}}}
|- id="rangeDays"
! Days of the week:
| {{{field|Single day from|input type=dropdown|property=Day of week|mandatory}}} — {{{field|Single day to|input type=dropdown|property=Day of week|mandatory}}}
|- id="exactDate"
! Date:
| {{{field|Exact date|input type=datepicker}}}
|-
! Open hours:
| {{{field|Hour open from|input type=timepicker}}} — {{{field|Hour open to|input type=timepicker}}}
|-
! Break hours:
| {{{field|Hour break from|input type=timepicker}}} — {{{field|Hour break to|input type=timepicker}}}
|}
|}
{{{end template}}}
{{{end template}}}

Revision as of 13:39, May 18, 2024

This is the "Event" form. To create a page with this form, enter the page name below; if a page with that name already exists, you will be sent to a form to edit that page.