Difference between revisions of "Form:Community"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
 
(6 intermediate revisions by the same user not shown)
Line 33: Line 33:
 
|-
 
|-
 
! Year Established: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">When did this community emerge? </p>
 
! Year Established: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">When did this community emerge? </p>
| {{{field|Year Established|input type=year|mandatory|default={{CURRENTYEAR}}|}}}
+
| {{{field|Established Year|input type=regexp|regexp=/^\d{4}$/|size=4|message=The year field can accept only integers and must be 4 digits in length!|mandatory|default={{CURRENTYEAR}}|}}}
 
|-
 
|-
 
! Still Exists: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">Does the community still exist?</p>
 
! Still Exists: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">Does the community still exist?</p>
 
| {{{field|Still Exists|input type=dropdown|mandatory|values=No,Yes|default=Yes|show on select=No=>disbanded;Yes=>active}}}
 
| {{{field|Still Exists|input type=dropdown|mandatory|values=No,Yes|default=Yes|show on select=No=>disbanded;Yes=>active}}}
 
|}
 
|}
<div id="disbanded" style="padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;">
+
<div id="disbanded">
 
{| class="formtable"
 
{| class="formtable"
 
!width="30%"| Year Disbanded: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">If the community no longer exists, indicate when it was disbanded.</p>
 
!width="30%"| Year Disbanded: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">If the community no longer exists, indicate when it was disbanded.</p>
|width="70%"| {{{field|Year Disbanded|input type=year|mandatory|default={{CURRENTYEAR}}|}}}
+
|width="70%"| {{{field|Disbanded Year|input type=regexp|regexp=/^\d{4}$/|size=4|message=The year field can accept only integers and must be 4 digits in length!|mandatory|default={{CURRENTYEAR}}|}}}
 
|}
 
|}
 
</div>
 
</div>
<div id="active" style="padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;">
+
<div id="active">
 
{| class="formtable"
 
{| class="formtable"
 
!width="30%"| Uses Modifications Mechanism: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">If this community makes use of this encyclopedia to trace and evaluate modification to its mosaic, select ''Yes''. Otherwise leave ''No''.</p>
 
!width="30%"| Uses Modifications Mechanism: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">If this community makes use of this encyclopedia to trace and evaluate modification to its mosaic, select ''Yes''. Otherwise leave ''No''.</p>
|width="70%"| {{{field|Uses Modifications|input type=dropdown|values=No,Yes|default=No|mandatory}}}
+
|width="70%"| {{{field|Uses Modifications|input type=dropdown|values=No,Yes|default=No|mandatory|show on select=Yes=>usesmodifications}}}
 +
|}
 +
</div>
 +
<div id="usesmodifications">
 +
{| class="formtable"
 +
!width="30%"| Acronym: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">Since this community uses the modification mechanism of this encyclopedia, it needs an acronym that will be added as a ''prefix'' to the names of the community's modifications, e.g. ''Acronym-2016-0001''.</p>
 +
|width="70%"| {{{field|Acronym|input type=regexp|regexp=/^[a-zA-Z]{3,10}$/|size=10|message=The acronym should consist of letters only and be between 3 and 10 characters in length!|mandatory|unique}}}
 
|}
 
|}
 
</div>
 
</div>

Latest revision as of 21:42, 31 August 2016

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