Form:Place: Difference between revisions

From stencil.wiki
No edit summary
 
No edit summary
 
(120 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude><!--
This is the "Place" form.
-->{{Warning|The form for adding [[:Category:Places|places]] (this page) is currently broken. For now the best way to add a place is to:
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.
# ⁠Create an account/login.
# Search to see if your page exists yet—if it does, you can skip to the last step of this process.
# Navigate to <code>stencil.wiki/wiki/Your_place_name</code> (underscores for spaces).
# ⁠Click <u>Create source</u>
# In the text area for the page type <code><nowiki>{{Place}}</nowiki></code> and hit the "Save page" button.
# Then click <u>Edit with form</u> at the top of the new page and you'll be in the regular place editing form.
 
Something about creating pages with forms broke when launching the new wiki on the main server, but editing pages is still fine.}}
 
This is the [[Form:Place|"Place" form]].
To create a page with this form, enter the page name below. If a page with that name already exists, the form will allow you to edit the existing page. For details on adding a place, including information about place types and statuses, see the [[Help:Places|help documents for places]].


{{#forminput:form=Place|autocomplete on category=Places}}
{{#forminput:form=Place|autocomplete on category=Places}}
</noinclude>
<includeonly>
{{{for template|Place}}}
{| class="formtable"
! Place type
| {{{field|place_type|input type=checkboxes|values=Studio, Print shop, Publisher, Store, School, Community space, Venue, Gallery, Archive, Zine library|existing values only|max values=2}}}
|-
! 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;}}}
|- id="status_message"
! Status message
| {{{field|status_text|input type=textarea|property=Has status message}}}
|-
! Start year
| {{{field|start_year|input type=regexp|regexp=/^[0-9]{4}$/|property=Established in}}}
|- id="end_year"
! End year
| {{{field|end_year|input type=regexp|regexp=/^[0-9]{4}$/|property=Closed in}}}
|-
! Location
| {{{field|location|input type=textarea|placeholder=Enter location (however you want it displayed)}}}
|-
! City
| {{{field|city|input type=text|property=In city}}}
|-
! State/province
| {{{field|state_province|input type=combobox|property=In state/province|values=Alabama, Alaska, Arizona, Arkansas, California, Colorado, Connecticut, Delaware, Florida, Georgia, Hawaii, Idaho, Illinois, Indiana, Iowa, Kansas, Kentucky, Louisiana, Maine, Maryland, Massachusetts, Michigan, Minnesota, Mississippi, Missouri, Montana, Nebraska, Nevada, New Hampshire, New Jersey, New Mexico, New York, North Carolina, North Dakota, Ohio, Oklahoma, Oregon, Pennsylvania, Rhode Island, South Carolina, South Dakota, Tennessee, Texas, Utah, Vermont, Virginia, Washington, West Virginia, Wisconsin, Wyoming, Washington, Washington D.C., Alberta, British Columbia, Manitoba, New Brunswick, Newfoundland and Labrador, Northwest Territories, Nova Scotia, Nunavut, Ontario, Prince Edward Island, Quebec, Saskatchewan, Yukon|existing values only|tooltip=Select a state (US) or province (Canada).}}}
|-
! Country
| {{{field|country|input type=dropdown|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, 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 Korea, 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, South Korea, 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}}}
|-
! Coordinates
| {{{field|coordinates|input type=geographic coordinates|property=Has coordinates|placeholder=latitude, longitude}}}
|-
! People
| {{{field|people|holds template}}}
|}
==Services==
{| class="formtable"
| {{{field|services|holds template}}}
|}
==Links==
{| class="formtable"
! Website
| {{{field|website|input type=text|property=Has website}}}
|-
! Shop
| {{{field|site_shop|input type=text|property=Has shop}}}
|-
! Blog
| {{{field|site_blog|input type=text|property=Has blog}}}
|-
! Instagram
| {{{field|site_insta|input type=text|property=Has instagram}}}
|-
| colspan="2"|{{{field|links|holds template}}}
|}


</noinclude><includeonly>
==Inventory==
<div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div>
{{{for template|Place}}}
{| class="formtable"
{| class="formtable"
! Location:
! Available inks
| {{{field|Place Location}}}
| {{{field|inks|input type=tokens|property=Uses ink|values from category=Inks}}}
|-
|-
! Type:
! Machines
| {{{field|Place Type}}}
| {{{field|machines|input type=tokens|property=Has machine|values={{#ask:[[Category:Machines]]|?Has machine name|format=plainlist|headers=hide|link=none|limit=300|mainlabel=-}}}}}
|}
|}
{{{end template}}}
{{{end template}}}


'''Free text:'''
<!-- SUBOBJECT FORMS: -->
{{{for template|Place/link|multiple|add button text=Add a link|embed in field=Place[links]}}}
{| class="formtable"
! Label
| {{{field|link_label
    | input type=text
    | mandatory
  }}}
|-
! URL
| {{{field|link_url
    | input type=text
    | mandatory
  }}}
|}
{{{end template}}}<!--
-->{{{for template|Place/person|multiple|add button text=Add a person|embed in field=Place[people]}}}
{| class="formtable"
! Role
| {{{field|person_role
    | input type=combobox
    | property=Has role
    | values from property=Has role
    | values=Printer, Artist, Founder, Co-founder, Owner, Co-owner, Publisher, Technician, Faculty, Student, Alum
  }}}
|-
! Name
| {{{field|person_name
    | input type=text
    | mandatory
  }}}
|-
! Link
| {{{field|person_url
    | input type=text
  }}}
|}
{{{end template}}}
{{{for template|Place/service|multiple|add button text=Add a service|embed in field=Place[services]}}}
{| class="formtable"
! Type
| {{{field|service_type|input type=combobox|mandatory|property=Has service type|values=Print for hire, Public hours, Membership, Open submissions, Workshops, Print subscription, Residency, Periodical, Anthology|values from property=Has service type}}}
|-
! Name
| {{{field|service_name|input type=text|property=Has service name}}}
|-
! Link
| {{{field|service_url|input type=text|property=Has service url}}}
|}
{{{end template}}}


{{{standard input|free text|rows=10}}}
==Free text==
</includeonly>
{{{standard input|free text|rows=10|editor=wikieditor|preload=Template:Place/preload}}}<!--
--></includeonly>__NOEDITSECTION__ __NOTOC__

Latest revision as of 20:59, 11 September 2025

The form for adding places (this page) is currently broken. For now the best way to add a place is to:
  1. ⁠Create an account/login.
  2. Search to see if your page exists yet—if it does, you can skip to the last step of this process.
  3. Navigate to stencil.wiki/wiki/Your_place_name (underscores for spaces).
  4. ⁠Click Create source
  5. In the text area for the page type {{Place}} and hit the "Save page" button.
  6. Then click Edit with form at the top of the new page and you'll be in the regular place editing form.
Something about creating pages with forms broke when launching the new wiki on the main server, but editing pages is still fine.

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, the form will allow you to edit the existing page. For details on adding a place, including information about place types and statuses, see the help documents for places.