Difference between revisions of "Form:Class Definition"

From City Data Model Project Collaboratory
Jump to navigation Jump to search
 
(76 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
This is the "Subclass Definition" form.
+
This is the "Class Definition" form.
 
To create a page with this form, enter the page name below;
 
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.
 
if a page with that name already exists, you will be sent to a form to edit that page.
  
  
{{#forminput:form=Subclass Definition}}
+
{{#forminput:form=Class Definition|query string=namespace=Class&={{PAGENAME}}}}
  
 
</noinclude><includeonly>
 
</noinclude><includeonly>
Line 11: Line 11:
  
 
<div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div>
 
<div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div>
{{{for template|Subclass Definition}}}
+
 
 +
{{{for template|Class Definition}}}
 
{| class="formtable"
 
{| class="formtable"
! Class Name:  
+
! Pattern:  
| {{{field|Class Name|mandatory|restricted|default={{PAGENAME}} }}}
+
| {{{field|Pattern|input type=listbox|list|values from category=Pattern}}}
 
|-
 
|-
 
! Subclass Of:  
 
! Subclass Of:  
| {{{field|Subclass Of|mandatory}}}
+
| {{{field|Subclass Of|input type=listbox|list|values from category=Class}}}
 
|-
 
|-
! Namespace: context of definition:  
+
! Definition (textual definition in English):  
| {{{field|Namespace|mandatory}}}
+
| {{{field|Description|input type=textarea|mandatory|autogrow}}}
 
|-
 
|-
! Formal Definition (UML and DL):
+
! Class Diagram Description:
| {{{field|Definition|input type=textarea|mandatory}}}
+
| Provide a description of any class diagram uploaded to the supplementary figures section below (optional).
 +
{{{field|Class Diagram Description|input type=textarea}}}
 
|-
 
|-
! Description: what distinguishes this sense of the term?:  
+
! Required By Use Cases:
| {{{field|Description|input type=textarea|mandatory}}}
+
| {{#ask:[[-RequiredByUseCase::{{PAGENAME}}]] OR [[RequiresClass::{{PAGENAME}}]] |format=list}}
 +
{{{field|Required by Use Cases|input type=listbox|values from category=UseCase|multiple}}}
 
|-
 
|-
<!-- ! Use Case(s): -->
+
! References interface specification(s):
<!-- | {{{field|Use Case(s)|input type=textarea|mandatory}}} -->
+
| {{{field|Interface Specification References|input type=listbox|values from category=Specification|multiple}}}
<!-- |- -->
+
|-
! Required by Use Cases:  
+
! Sources:  
| {{{field|Required by Use Cases|values from category=UseCase|list}}}
+
| {{{field|Sources|input type=textarea}}}
 
|-
 
|-
 
! Definition Status:  
 
! Definition Status:  
Line 38: Line 41:
 
|-
 
|-
 
! Subclasses:  
 
! Subclasses:  
| {{{field| Subclasses |hidden}}}
+
| {{{field|Subclasses|input type=listbox|list|values from category=Class}}}
 +
|}
 +
{{{end template}}}
 +
 
 +
<!-- example of an embedded template to create a tabular listing for repeated fields -->
 +
{{{for template|Annotation Specification|label=Annotation Specification}}}
 +
{{{field|Annotation Row|holds template}}}
 +
{{{end template}}}
 +
{{{for template|Annotation Row|multiple|label=Annotations|embed in field=Annotation Specification[Annotation Row]}}}
 +
{| class="formtable"
 +
! Annotation:
 +
| {{{field|Annotation|input type=dropdown|values=rdfs:comment,rdfs:label,rdfs:seeAlso,rdfs:isDefinedBy|1}}}
 +
|-
 +
! Value:
 +
| {{{field|Value|input type=text|2}}}
 
|}
 
|}
 
{{{end template}}}
 
{{{end template}}}
  
{{{for template|Supplementary Figures|label=Supplementary Figure(s)|multiple}}}
+
 
 +
{{{for template|Manchester Specification|label=Manchester Specification}}}
 +
{{{field|Manchester Row|holds template}}}
 +
{{{end template}}}
 +
{{{for template|Manchester Row|label=Manchester Specification Assertions|multiple|embed in field=Manchester Specification[Manchester Row]}}}
 +
{| class="formtable"
 +
! Property:
 +
| {{{field|Property|input type=text with autocomplete|values from category=Property}}}
 +
|-
 +
! Restriction:
 +
| {{{field|Restriction|input type=text with autocomplete|values=some, only, min, max, exactly}}}
 +
|-
 +
! Value:
 +
| {{{field|Value|input type=text with autocomplete|values from category=class}}}
 +
|}
 +
{{{end template}}}
 +
 
 +
{{{for template|Supplementary Figures|label=Supplementary Figure(s)}}}
 +
{{{field|Figure Row|holds template}}}
 +
{{{end template}}}
 +
{{{for template|Figure Row|label=Figure|multiple|embed in field=Supplementary Figures[Figure Row]}}}
 
{| class="formtable"
 
{| class="formtable"
 
! Figure:  
 
! Figure:  
 
| {{{field|Figure|uploadable}}}
 
| {{{field|Figure|uploadable}}}
|  
+
|-
 +
! Caption:
 +
| {{{field|Caption|input type=text}}}
 
|}
 
|}
 
{{{end template}}}
 
{{{end template}}}
 
  
 
{{{standard input|save}}} {{{standard input|preview}}} {{{standard input|changes}}} {{{standard input|cancel}}}
 
{{{standard input|save}}} {{{standard input|preview}}} {{{standard input|changes}}} {{{standard input|cancel}}}
 
</includeonly>
 
</includeonly>

Latest revision as of 13:57, 18 July 2022

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