Difference between revisions of "Form:Domains Creation"

From End to Dawn
Jump to navigation Jump to search
 
(46 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
This is the form for creating Domain pages.
+
This is the "Domains Creation" form.
To create a domain 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.
+
To create a page with this form, enter the Domain Code below;
 +
if a page with that name already exists, you will be sent to a form to edit that page.
 +
 
 +
{{#forminput:form=Domains Creation|namespace selector=Category}}
 
</noinclude><includeonly>
 
</noinclude><includeonly>
{{{info|page name=<Domains[name]>}}}
+
<div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div>
  
<div style="max-width: 900px; margin: 0 auto; background: #000; border: 4px double #DC7; padding: 30px; border-radius: 8px;">
+
{{{for template|Domain}}}
   <h2 style="font-family: Georgia, serif; color: #DC7; text-align: center; margin-bottom: 10px; font-size: 2em;">Create New Domain Page</h2>
+
{| class="formtable"
   <p style="text-align: center; color: #AAA; margin-bottom: 30px; font-size: 0.9em;">Fill out the form below to create a new domain page</p>
+
! scope="row"| Domain Code:
 
+
| {{{standard input|page name|mandatory}}}   <!-- Page title -->
{{{for template|Domain Form|label=Domain Information}}}
+
|-
 
+
! scope="row"| Domain Code (for category):
<div style="color: #DC7; font-size: 1.3em; margin-top: 25px; margin-bottom: 15px; padding-bottom: 8px; border-bottom: 2px solid #DC7; font-weight: bold;">Basic Information</div>
+
| {{{field|domain|input type=text|mandatory}}}   <!-- Template param -->
 
+
|-
<div style="margin-bottom: 20px;">
+
! scope="row"| Domain Name:
  <label style="display: block; margin-bottom: 8px; font-weight: bold; color: #DC7;">
+
| {{{field|domainname|input type=text}}}
    Title Picture
+
|-
    <span style="font-size: 0.85em; color: #999; font-weight: normal;">(Optional - filename with extension)</span>
+
! scope="row"| Title Image:
  </label>
+
| {{{field|titlepic|uploadable}}}
  {{{field|titlepic|input type=text|placeholder=Leave blank to use auto-detection|style=width: 100%; padding: 12px; background: #1a1a1a; border: 2px solid #DC7; color: #DC7; font-size: 16px; border-radius: 4px;}}}
+
|-
</div>
+
! scope="row"| Region:
 
+
| {{{field|region|input type=tree|mandatory|top category=Region}}}
<div style="margin-bottom: 20px;">
+
|-
  <label style="display: block; margin-bottom: 8px; font-weight: bold; color: #DC7;">
+
! scope="row"| City:
    Region <span style="color: #ff6b6b;">*</span>
+
| {{{field|city|input type=text}}}
  </label>
+
|-
  {{{field|region|input type=text|mandatory|placeholder=Enter region name|style=width: 100%; padding: 12px; background: #1a1a1a; border: 2px solid #DC7; color: #DC7; font-size: 16px; border-radius: 4px;}}}
+
! scope="row"| State:
</div>
+
| {{{field|state
 +
|input type=dropdown
 +
|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,District of Columbia
 +
}}}
 +
|-
 +
! scope="row"| Domain Storyteller:
 +
| {{{field|dst_name|input type=text}}}
 +
|-
 +
! scope="row"| Domain Storyteller Email:
 +
| {{{field|dst_email|input type=email}}}
 +
|-
 +
! scope="row"| Domain Coordinator:
 +
| {{{field|dc_name|input type=text}}}
 +
|-
 +
! scope="row"| Domain Coordinator Email:
 +
| {{{field|dc_email|input type=email}}}
 +
|-
 +
! scope="row"| Notes:
 +
| {{{field|notes|input type=textarea|rows=10}}}
 +
|}
 +
{{{end template}}}
 +
{{{for template|DomainCategory|create page=Category:{{field|domain}}}}}
 +
This will auto-generate the category page.
 +
{{{end template}}}
  
{{{end template}}}
+
{{{standard input|summary}}}
 +
{{{standard input|minor edit}}} {{{standard input|watch}}}
  
<div style="color: #DC7; font-size: 1.3em; margin-top: 25px; margin-bottom: 15px; padding-bottom: 8px; border-bottom: 2px so
+
{{{standard input|save}}} {{{standard input|preview}}} {{{standard input|changes}}} {{{standard input|cancel}}}
 +
</includeonly>

Latest revision as of 21:25, 29 January 2026

This is the "Domains Creation" form. To create a page with this form, enter the Domain Code below; if a page with that name already exists, you will be sent to a form to edit that page.