Difference between revisions of "Form:Class Definition"

From City Data Model Project Collaboratory
Jump to navigation Jump to search
 
(39 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|Annotation Specification|label=Annotations|multiple}}}
 
{| class="formtable"
 
! Annotation:
 
| {{{field|Annotation|input type=dropdown|values=rdfs:comment,rdfs:label,rdfs:seeAlso,rdfs:isDefinedBy}}}
 
|-
 
! Value:
 
| {{{field|Value|input type=text}}}
 
|}
 
{{{end template}}}
 
  
{{{for template|Manchester Specification|label=Manchester Specification|multiple}}}
+
{{{for template|Class Definition}}}
 
{| class="formtable"
 
{| class="formtable"
! Property:  
+
! Pattern:  
| {{{field|Property|input type=text with autocomplete|values from category=ObjectProperty, DataProperty}}}
+
| {{{field|Pattern|input type=listbox|list|values from category=Pattern}}}
|-
 
! 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|Class Definition}}}
 
{| class="formtable"
 
 
! 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}}}
 
|-
 
|-
 
! Definition (textual definition in English):  
 
! Definition (textual definition in English):  
| {{{field|Description|input type=textarea|mandatory}}}
+
| {{{field|Description|input type=textarea|mandatory|autogrow}}}
 
|-
 
|-
! Domain(s) of interest (read-only):  
+
! Class Diagram Description:  
| {{{field|Domains of Interest R|input type=listbox|mandatory|values from category=ServiceDomain|multiple}}}
+
| Provide a description of any class diagram uploaded to the supplementary figures section below (optional).
|-
+
{{{field|Class Diagram Description|input type=textarea}}}
! Domain(s) of interest (read-write):
 
| {{{field|Domains of Interest RW|input type=listbox|mandatory|values from category=ServiceDomain|multiple}}}
 
 
|-
 
|-
 
! Required By Use Cases:
 
! Required By Use Cases:
 
| {{#ask:[[-RequiredByUseCase::{{PAGENAME}}]] OR [[RequiresClass::{{PAGENAME}}]] |format=list}}
 
| {{#ask:[[-RequiredByUseCase::{{PAGENAME}}]] OR [[RequiresClass::{{PAGENAME}}]] |format=list}}
 
  {{{field|Required by Use Cases|input type=listbox|values from category=UseCase|multiple}}}
 
  {{{field|Required by Use Cases|input type=listbox|values from category=UseCase|multiple}}}
 +
|-
 +
! References interface specification(s):
 +
| {{{field|Interface Specification References|input type=listbox|values from category=Specification|multiple}}}
 
|-
 
|-
 
! Sources:  
 
! Sources:  
Line 58: Line 41:
 
|-
 
|-
 
! 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}}}
 
{{{end template}}}
  
{{{for template|Supplementary Figures|label=Supplementary Figure(s)|multiple}}}
+
<!-- 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}}}
 +
 
 +
{{{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.