Form:Event: Difference between revisions

From stencil.wiki
No edit summary
No edit summary
Line 15: Line 15:
! Status
! Status
| {{{field|status|input type=dropdown|values=Active, Inactive, Paused, Unknown}}}
| {{{field|status|input type=dropdown|values=Active, Inactive, Paused, Unknown}}}
|-
! Recurring event
| {{{field|recurring|input type=radiobutton|values=Yes, No|default=No|property=Is recurring}}}
|-
|-
! Short name/acronym
! Short name/acronym
Line 20: Line 23:
|-
|-
! Frequency
! Frequency
| {{{field|frequency|input type=dropdown|values=Once, Annually, Biennially, Semiannually, Monthly, Weekly, Irregular|property=Has schedule type|mapping template=frequency map|existing values only}}}
| {{{field|frequency|input type=dropdown|values=Annually, Biennially, Semiannually, Monthly, Weekly, Irregular|property=Has schedule type|mapping template=frequency map|existing values only}}}
|-
|-
! Websites
! Websites
Line 28: Line 31:
| {{{field|poster|input type=file}}}
| {{{field|poster|input type=file}}}
|}
|}
<!--


--><!-- GROUPING TOGETHER "EVENT" INFORMATION WHICH SHOWS WHEN IT IS A ONE-OFF EVENT -->
{{{field|start_date|property=Has start date|hidden}}}
{{{field|end_date|property=Has end date|hidden}}}
{{{field|venue|input type=text|property=Has venue|hidden}}}
{{{field|application_link|property=Has application link|hidden}}}
{{{field|application_deadline|property=Has application deadline|hidden}}}
== Location ==
== Location ==
Use the "location" field to represent where the event takes place—this could be a street address, region, etc.
Use the "location" field to represent where the event takes place—this could be a street address, region, etc.
Line 47: Line 58:
! Coordinates
! Coordinates
| {{{field|coordinates|input type=geographic coordinates|property=At coordinates|placeholder=Enter latitude, longitude}}}
| {{{field|coordinates|input type=geographic coordinates|property=At coordinates|placeholder=Enter latitude, longitude}}}
|}
|}<!--


<!-- KEEPING START/END DATE, VENUE, AND APPLICATION INFO BUT MAY BE DEPRECATED IF USING SUBOBJECTS. -->
{{{field|start_date|property=Has start date|hidden}}}
{{{field|end_date|property=Has end date|hidden}}}
{{{field|venue|input type=text|property=Has venue|hidden}}}
{{{field|application_link|property=Has application link|hidden}}}
{{{field|application_deadline|property=Has application deadline|hidden}}}


--><!-- THIS SECTION SHOULD ONLY DISPLAY IF IT'S A RECURRING EVENT -->
== Scheduling ==
== Scheduling ==
List both upcoming and past events (e.g. for a fair that has happened for the past three years and is happening again this year, you'd have 4 entries here).
List both upcoming and past events (e.g. for a fair that has happened for the past three years and is happening again this year, you'd have 4 entries here).
Line 62: Line 68:
| {{{field|instances|holds template}}}
| {{{field|instances|holds template}}}
|}
|}
{{{end template}}}
{{{end template}}}<!--
 
 


-->
<!-- SUBOBJECT FORMS: -->
<!-- SUBOBJECT FORMS: -->
{{{for template|Event/instance|multiple|add button text=Add an instance|embed in field=Event[instances]|minimum instances=1}}}
{{{for template|Event/instance|multiple|add button text=Add an instance|embed in field=Event[instances]|minimum instances=1}}}

Revision as of 21:47, 29 December 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.