Form:Place: Difference between revisions

From stencil.wiki
No edit summary
No edit summary
Line 15: Line 15:
! Status
! Status
| {{{field|status|input type=dropdown|mandatory|values=Active, Closed, Temporarily closed, Inactive, Historic, Unknown|show on select=Closed=>status_message;Temporarily closed=>status_message;Inactive=>status_message;Closed=>end_year;Temporarily closed=>end_year;Inactive=>end_year;}}}
| {{{field|status|input type=dropdown|mandatory|values=Active, Closed, Temporarily closed, Inactive, Historic, Unknown|show on select=Closed=>status_message;Temporarily closed=>status_message;Inactive=>status_message;Closed=>end_year;Temporarily closed=>end_year;Inactive=>end_year;}}}
| Open/closed status of the space. Open spaces are "Active"—closed spaces are "Closed"—use "Inactive" only if places are not stencil duplicating but still exist.
|- id="status_message"
|- id="status_message"
! Status message
! Status message
| {{{field|status_text|input type=textarea|cols=30|property=Has status message}}}
| {{{field|status_text|input type=textarea|cols=30|property=Has status message}}}
| Custom status message for not "Active" spaces.
|-
|-
! Start year
! Start year
| {{{field|start_year|input type=regexp|regexp=/^[0-9]{4}$/|property=Was opened}}}
| {{{field|start_year|input type=regexp|regexp=/^[0-9]{4}$/|property=Was opened}}}
| Year the space started.
|- id="end_year"
|- id="end_year"
! End year
! End year
| {{{field|end_year|input type=regexp|regexp=/^[0-9]{4}$/|property=Was closed}}}
| {{{field|end_year|input type=regexp|regexp=/^[0-9]{4}$/|property=Was closed}}}
| Year the space ended.
|-
|-
! Location
! Location

Revision as of 20:40, 17 December 2024

This is the "Place" 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.