Form:Event: Difference between revisions

From stencil.wiki
No edit summary
No edit summary
Line 17: Line 17:
|-
|-
! Recurring event
! Recurring event
| {{{field|recurring|input type=radiobutton|values=Yes, No|default=No|mandatory|property=Is recurring|show on select=Yes=>frequency;Yes=>instances;No=>details;}}}
| {{{field|recurring|input type=radiobutton|values=Yes, No|default=No|mandatory|property=Is recurring|show on select=Yes=>frequency;}}}
|- id="frequency"
|- id="frequency"
! Frequency
! Frequency
Line 29: Line 29:
|}
|}


<!-- GROUPING TOGETHER "DETAILS" INFORMATION WHICH SHOWS WHEN IT IS A ONE-OFF EVENT -->
<div id="details">
{| class="formtable"
! Start date
| {{{field|start_date|property=Has start date}}}
|-
! End date
| {{{field|end_date|property=Has end date}}}
|-
! Access type
| {{{field|access_type|input type=checkboxes|values=In-person, Remote|default=In-person|property=Has access type|show on select=In-person=>location;}}}
|}
{| class="formtable" id="location"
! Location
| {{{field|address|input type=textarea|placeholder=Enter street address|property=At location}}}
|-
! Venue
| {{{field|venue|input type=text|property=Has venue}}}
|-
! City
| {{{field|city|input type=text|property=In city}}}
|-
! State/province
| {{{field|state_province|input type=text|property=In state/province}}}
|-
! Country
| {{{field|country|input type=tokens|values=Afghanistan, Albania, Algeria, Andorra, Angola, Antigua and Barbuda, Argentina, Armenia, Australia, Austria, Azerbaijan, Bahamas, Bahrain, Bangladesh, Barbados, Belarus, Belgium, Belize, Benin, Bhutan, Bolivia, Bosnia and Herzegovina, Botswana, Brazil, Brunei, Bulgaria, Burkina Faso, Burundi, Cambodia, Cameroon, Canada, Cape Verde, Central African Republic, Chad, Chile, China, Colombia, Comoros, Congo, Costa Rica, Croatia, Cuba, Cyprus, Czech Republic, Denmark, Djibouti, Dominica, Dominican Republic, Ecuador, Egypt, El Salvador, Equatorial Guinea, Eritrea, Estonia, Eswatini, Ethiopia, Fiji, Finland, France, Gabon, Gambia, Georgia, Germany, Ghana, Greece, Grenada, Guatemala, Guinea, Guinea-Bissau, Guyana, Haiti, Honduras, Hungary, Iceland, India, Indonesia, Iran, Iraq, Ireland, Israel, Italy, Jamaica, Japan, Jordan, Kazakhstan, Kenya, Kiribati, Korea (North), Korea (South), Kuwait, Kyrgyzstan, Laos, Latvia, Lebanon, Lesotho, Liberia, Libya, Liechtenstein, Lithuania, Luxembourg, Madagascar, Malawi, Malaysia, Maldives, Mali, Malta, Marshall Islands, Mauritania, Mauritius, Mexico, Micronesia, Moldova, Monaco, Mongolia, Montenegro, Morocco, Mozambique, Myanmar, Namibia, Nauru, Nepal, Netherlands, New Zealand, Nicaragua, Niger, Nigeria, North Macedonia, Norway, Oman, Pakistan, Palau, Palestine, Panama, Papua New Guinea, Paraguay, Peru, Philippines, Poland, Portugal, Qatar, Romania, Russia, Rwanda, Saint Kitts and Nevis, Saint Lucia, Saint Vincent and the Grenadines, Samoa, San Marino, Sao Tome and Principe, Saudi Arabia, Senegal, Serbia, Seychelles, Sierra Leone, Singapore, Slovakia, Slovenia, Solomon Islands, Somalia, South Africa, Spain, Sri Lanka, Sudan, Suriname, Sweden, Switzerland, Syria, Taiwan, Tajikistan, Tanzania, Thailand, Timor-Leste, Togo, Tonga, Trinidad and Tobago, Tunisia, Turkey, Turkmenistan, Tuvalu, Uganda, Ukraine, United Arab Emirates, United Kingdom, United States, Uruguay, Uzbekistan, Vanuatu, Vatican City, Venezuela, Vietnam, Yemen, Zambia, Zimbabwe|mandatory|property=In country}}}
|-
! Coordinates
| {{{field|coordinates|input type=geographic coordinates|property=At coordinates|placeholder=Enter latitude, longitude}}}
|}
{| class="formtable"
! Application link
| {{{field|application_link|property=Has application link}}}
|-
! Deadline
| {{{field|application_deadline|property=Has application deadline}}}
|}
</div>
<!-- THIS SECTION SHOULD ONLY DISPLAY IF IT'S A RECURRING EVENT --><div id="instances">
== 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).
{| class="formtable"
{| class="formtable"
| {{{field|instances|holds template}}}
| {{{field|instances|holds template}}}
|}</div>
|}
 
<!-- 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|address|input type=text|property=At location|hidden}}}
{{{field|city|input type=text|property=In city|hidden}}}
{{{field|state_province|input type=text|property=In state/province|hidden}}}
{{{field|country|input type=text|property=In country|hidden}}}
{{{field|coordinates|input type=text|property=At coordinates|hidden}}}
{{{field|application_link|property=Has application link|hidden}}}
{{{field|application_deadline|property=Has application deadline|hidden}}}


{{{end template}}}
{{{end template}}}
Line 92: Line 63:
! Website:
! Website:
| {{{field|website|input type=text}}}
| {{{field|website|input type=text}}}
|-
! Access type
| {{{field|access_type|input type=checkboxes|values=In-person, Remote|default=In-person|property=Has access type}}}
|-
|-
! Venue
! Venue

Revision as of 21:25, 30 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.