Difference between revisions of "Form:Class Definition"

From City Data Model Project Collaboratory
Jump to navigation Jump to search
 
(55 intermediate revisions by 2 users not shown)
Line 5: Line 5:
  
  
{{#forminput:form=Class 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|Class Definition}}}
 
{{{for template|Class Definition}}}
 
{| class="formtable"
 
{| class="formtable"
 +
! Pattern:
 +
| {{{field|Pattern|input type=listbox|list|values from category=Pattern}}}
 +
|-
 
! Subclass Of:  
 
! Subclass Of:  
| {{{field|Subclass Of|input type=text with autocomplete|list|values from category=Class}}}
+
| {{{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 or 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}}}
 
|-
 
|-
! Required by Use Cases:  
+
! References interface specification(s):
| {{{field|Required by Use Cases|list|values from category=UseCase}}}
+
| {{{field|Interface Specification References|input type=listbox|values from category=Specification|multiple}}}
 +
|-
 +
! Sources:
 +
| {{{field|Sources|input type=textarea}}}
 
|-
 
|-
! Referenced by Specification Elements:
 
| {{{field|Has Specification Model|input type=text with autocomplete|list|values from category=SpecificationElement}}}
 
 
! Definition Status:  
 
! Definition Status:  
 
| {{{field|Definition Status|input type=dropdown|mandatory|restricted|default=Pending Approval|values=Pending Approval, Approved, Closed}}}
 
| {{{field|Definition Status|input type=dropdown|mandatory|restricted|default=Pending Approval|values=Pending Approval, Approved, Closed}}}
 
|-
 
|-
 
! Subclasses:  
 
! Subclasses:  
| {{{field| Subclasses|input type=text with autocomplete|list|values from category=Class}}}
+
| {{{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}}}
 +
 
 +
 
 +
{{{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}}}
 
{{{end template}}}
  
{{{for template|Supplementary Figures|label=Supplementary Figure(s)|multiple}}}
+
{{{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.