Form:Event: Difference between revisions
From MoHA Wiki
No edit summary |
No edit summary |
||
(49 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
if a page with that name already exists, you will be sent to a form to edit that page. | if a page with that name already exists, you will be sent to a form to edit that page. | ||
{{#forminput:form=Event}} | {{#forminput:form=Event|autocomplete on category=Events}} | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
Line 12: | Line 12: | ||
|- | |- | ||
! Airtable Event Record ID | ! Airtable Event Record ID | ||
| {{{field|Airtable Record ID|input type=text}}} | | {{{field|Airtable Record ID|input type=text}}}{{{field|Airtable Last Modified|hidden}}} | ||
|- | |- | ||
! Event display name: | ! Event display name: | ||
Line 18: | Line 18: | ||
|- | |- | ||
! Date Start: | ! Date Start: | ||
| {{{field|Date Start|input type= | | {{{field|Date Start|input type=datetimepicker}}} | ||
|- | |- | ||
! Date End | ! Date End | ||
| {{{field|Date End|input type= | | {{{field|Date End|input type=datetimepicker}}} | ||
|- | |||
! Open hours | |||
| {{{field|Open hours|holds template}}} | |||
|- | |- | ||
! Doors: | ! Doors: | ||
Line 39: | Line 42: | ||
|- | |- | ||
! Presented by: | ! Presented by: | ||
| {{{field|Presented by|input type=tokens|values from concept=People and Organizations|list|delimiter= | | {{{field|Presented by|input type=tokens|values from concept=People and Organizations|list|delimiter=;}}} | ||
|- | |- | ||
! Sponsored by: | ! Sponsored by: | ||
| {{{field|Sponsored by|input type=tokens|values from concept=People and Organizations|list|delimiter= | | {{{field|Sponsored by|input type=tokens|values from concept=People and Organizations|list|delimiter=;}}} | ||
|- | |- | ||
! Funded by: | ! Funded by: | ||
| {{{field|Funded by|input type=tokens|values from concept=People and Organizations|list|delimiter= | | {{{field|Funded by|input type=tokens|values from concept=People and Organizations|list|delimiter=;}}} | ||
|- | |- | ||
! Fundraiser for: | ! Fundraiser for: | ||
| {{{field|Fundraiser for|input type=tokens|values from concept=People and Organizations|delimiter= | | {{{field|Fundraiser for|input type=tokens|values from concept=People and Organizations|delimiter=;}}} | ||
|- | |- | ||
! Associated Program: | ! Associated Program: | ||
| {{{field|Associated Program|input type=tokens|values from category=Programs|list|delimiter= | | {{{field|Associated Program|input type=tokens|values from category=Programs|list|delimiter=;}}} | ||
|- | |- | ||
! Event artist: | ! Event artist: | ||
| {{{field|Event artist|input type=tokens|values from category=People|list|delimiter= | | {{{field|Event artist|input type=tokens|values from category=People|list|delimiter=;}}} | ||
|- | |- | ||
! Event location: | ! Event location: | ||
| {{{field|Event location|input type=tokens|values from property=Event location|list|delimiter= | | {{{field|Event location|input type=tokens|values from property=Event location|list|delimiter=;}}} | ||
|- | |- | ||
! Event format: | ! Event format: | ||
Line 65: | Line 68: | ||
| {{{field|Event medium|input type=tokens|values from property=Event medium|list|delimiter=;}}} | | {{{field|Event medium|input type=tokens|values from property=Event medium|list|delimiter=;}}} | ||
|- | |- | ||
! Event | ! Event admission type: | ||
| {{{field|Event | | {{{field|Event admission type|property=Event admission type|input type=combobox|existing values onle|default=Free|show on select=Sliding Scale=>sliding;Suggested Donation=>suggested;Set Price=>suggested}}} | ||
|- id="suggested" | |||
! Event admission price: | |||
| {{{field|Event admission price|input type=regexp|regexp=/^\d*$/|message=Only numbers!|default=0|size=4}}} | |||
|- id="sliding" | |||
! Event admission price: | |||
| {{{field|Event admission price sliding low|input type=regexp|regexp=/^\d*$/|message=Only numbers!|default=0|size=4}}} — {{{field|Event admission price sliding high|input type=regexp|regexp=/^\d*$/|message=Only numbers!|default=0|size=4}}} | |||
|- | |- | ||
! Is public: | ! Is public: | ||
Line 75: | 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 87: | 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" | |||
|- | |||
! width="120px"| Slot type: | |||
|{{{field|Slot type|input type=dropdown|values=Single day,Range of days,Exact date|default=Exact date|mandatory|show on select=Single day=>singleDay;Range of days=>rangeDays;Range of days=>openClose;Single day=>openClose;Exact date=>exactDate;Exact date=>openClose;|existing values only}}} | |||
|- id="singleDay" | |||
! Day of the week: | |||
| {{{field|Single day|input type=dropdown|property=Day of week|mandatory|existing values only}}} | |||
|- id="rangeDays" | |||
! Days of the week: | |||
| {{{field|Range day from|input type=dropdown|property=Day of week|mandatory|existing values only}}} — {{{field|Range day to|input type=dropdown|property=Day of week|mandatory|existing values only}}} | |||
|- id="exactDate" | |||
! Date: | |||
| {{{field|Exact date|input type=datepicker}}} | |||
|- | |||
! Schedule type: | |||
| <span id="openClose">{{{field|Record type|input type=dropdown|values=Opening,Closing,Day off,Regular|mandatory|default=Regular|existing values only|show on select=Regular=>hours;Opening=>hours;Closing=>hours;Day off=>empty;}}}</span> <span id="hours">{{{field|Schedule type|input type=dropdown|values=Without a break,With a break|show on select=Without a break=>schedule;With a break=>schedule;With a break=>break;|default=Without a break|existing values only}}}</span> | |||
|- id="schedule" | |||
! | |||
| <div class="d-table"> | |||
<div class="d-table-row"> | |||
<div class="d-table-cell">'''Open hours'''</div> | |||
</div> | |||
<div class="d-table-row"> | |||
<div class="d-table-cell">from</div> | |||
<div class="d-table-cell"><!-- | |||
-->{{{field|Hour open from|input type=dropdown|values=00,01,02,03,04,05,06,07,08,09,10,11,12,13,14,15,16,17,18,19,20,21,22,23|default=09|existing values only}}} <!-- | |||
-->{{{field|Minutes open from|input type=dropdown|values=00,15,30,45|default=00|existing values only}}} | |||
</div> | |||
</div> | |||
<div class="d-table-row"> | |||
<div class="d-table-cell">to</div> | |||
<div class="d-table-cell"><!-- | |||
-->{{{field|Hour open to|input type=dropdown|values=00,01,02,03,04,05,06,07,08,09,10,11,12,13,14,15,16,17,18,19,20,21,22,23|default=18|existing values only}}} <!-- | |||
-->{{{field|Minutes open to|input type=dropdown|values=00,15,30,45|default=00|existing values only}}} | |||
</div> | |||
</div> | |||
</div> | |||
|- id="break"> | |||
! | |||
| <div class="d-table"> | |||
<div class="d-table-row"> | |||
<div class="d-table-cell">'''Break hours'''</div> | |||
</div> | |||
<div class="d-table-row"> | |||
<div class="d-table-cell">from</div> | |||
<div class="d-table-cell"><!-- | |||
-->{{{field|Hour break from|input type=dropdown|values=00,01,02,03,04,05,06,07,08,09,10,11,12,13,14,15,16,17,18,19,20,21,22,23|default=13|existing values only}}} <!-- | |||
-->{{{field|Minutes break from|input type=dropdown|values=00,15,30,45|default=00|existing values only}}} | |||
</div> | |||
</div> | |||
<div class="d-table-row"> | |||
<div class="d-table-cell">to</div> | |||
<div class="d-table-cell"><!-- | |||
-->{{{field|Hour break to|input type=dropdown|values=00,01,02,03,04,05,06,07,08,09,10,11,12,13,14,15,16,17,18,19,20,21,22,23|default=14|existing values only}}} <!-- | |||
-->{{{field|Minutes break to|input type=dropdown|values=00,15,30,45|default=00|existing values only}}} | |||
</div> | |||
</div> | |||
</div> | |||
|- id="label"> | |||
! | |||
| <div class="d-table"> | |||
<div class="d-table-row"> | |||
<div class="d-table-cell">'''Label''' ''(optional)''</div> | |||
</div> | |||
<div class="d-table-row"> | |||
<div class="d-table-cell"><!-- | |||
-->{{{field|Label|input type=text}}} | |||
</div> | |||
</div> | |||
</div> | |||
|} | |} | ||
{{{end template}}} | {{{end template}}} |
Latest revision as of 10:37, June 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.