Form:Event: Difference between revisions

From MoHA Wiki
No edit summary
No edit summary
Line 97: Line 97:
|}
|}
{{{end template}}}
{{{end template}}}
{{{for template|Open hours|multiple|embed in field=Event[Open hours]|add button text=Add open hours}}}
{{{for template|Open hours|multiple|embed in field=Event[Open hours]|add button text=Add open hours}}}<div>
<div>
   <div>Slot type:</div>
   <div>Slot type:</div>
   <div>{{{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;}}}</div>
   <div>{{{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;}}}</div>
Line 115: Line 114:
</div>
</div>
<div>
<div>
   <div>Day off</div>
   <div>Schedule type</div>
   <div>{{{field|Day off|input type=dropdown|values=Working,Day off|show on select=Working=>schedule;|default=Working}}}</div>
   <div>{{{field|Day off|input type=dropdown|values=Working,Day off|show on select=Working=>schedule;|default=Working}}}</div>
</div>
</div>

Revision as of 14:44, 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.