Form:Event: Difference between revisions
Jump to navigation
Jump to search
Add autogrow and wikieditor to event form |
Change event form to have separate date and time |
||
Line 11: | Line 11: | ||
{{{for template|Event}}} | {{{for template|Event}}} | ||
{| class="formtable" | {| class="formtable" | ||
! Start | ! Start date<span style="color:red">*</span> | ||
| {{{field| | | {{{field|StartDate|input type=date|Mandatory}}} | ||
|- | |- | ||
! | ! Start time | ||
| {{{field| | | {{{field|StartTime|input type=regexp|regexp=/^([0-9]|0[0-9]|1[0-9]|2[0-3]):[0-5][0-9]$/|size=5|maxlength=5|placeholder=23:59|message=Start time must follow HH:MM 24-hour format}}}<br><br> | ||
|- | |- | ||
! | ! End date | ||
| {{{field| | | {{{field|EndDate|input type=date}}} | ||
|- | |- | ||
! | ! End time | ||
| {{{field| | | {{{field|EndTime|input type=regexp|regexp=/^([0-9]|0[0-9]|1[0-9]|2[0-3]):[0-5][0-9]$/|size=5|maxlength=5|placeholder=23:59|message=End time must follow HH:MM 24-hour format}}}<br><br> | ||
|- | |- | ||
! | ! Location<span style="color:red">*</span> | ||
| {{{field| | | {{{field|Location|default=TechInc|mandatory}}} | ||
|- | |- | ||
! Contact | ! Type<span style="color:red">*</span> | ||
| {{{field|Contact}}} | | {{{field|EventType|mandatory}}} | ||
|- | |||
! Promotion<span style="color:red">*</span> | |||
| {{{field|MediaPromotionType|input type=dropdown|mandatory|values=No Promotion,Fediverse,Socialmedia|default=No Promotion}}} | |||
|- | |||
! Contact | |||
| {{{field|Contact|type=combobox}}} | |||
|} | |} | ||
{{{end template}}} | {{{end template}}} |
Revision as of 20:49, 13 February 2025
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.