Difference between revisions of "Form:Class Definition"

From City Data Model Project Collaboratory
Jump to navigation Jump to search
 
(25 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 14: Line 14:
 
{{{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=listbox|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}}}
 +
|-
 +
! Class Diagram Description:
 +
| Provide a description of any class diagram uploaded to the supplementary figures section below (optional).
 +
{{{field|Class Diagram Description|input type=textarea}}}
 
|-
 
|-
 
! Required By Use Cases:
 
! Required By Use Cases:
Line 34: Line 41:
 
|-
 
|-
 
! Subclasses:  
 
! Subclasses:  
| {{{field| Subclasses|input type=listbox|list|values from category=Class}}}
+
| {{{field|Subclasses|input type=listbox|list|values from category=Class}}}
 
|}
 
|}
 
{{{end template}}}
 
{{{end template}}}
  
{{{for template|Annotation Specification|label=Annotations|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"
 
{| class="formtable"
 
! Annotation:  
 
! Annotation:  
| {{{field|Annotation|input type=dropdown|values=rdfs:comment,rdfs:label,rdfs:seeAlso,rdfs:isDefinedBy}}}
+
| {{{field|Annotation|input type=dropdown|values=rdfs:comment,rdfs:label,rdfs:seeAlso,rdfs:isDefinedBy|1}}}
 
|-
 
|-
 
! Value:  
 
! Value:  
| {{{field|Value|input type=text}}}
+
| {{{field|Value|input type=text|2}}}
 
|}
 
|}
 
{{{end template}}}
 
{{{end template}}}
  
{{{for template|Manchester Specification|label=Manchester Specification|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"
 
{| class="formtable"
 
! Property:  
 
! Property:  
| {{{field|Property|input type=text with autocomplete|values from category=ObjectProperty, DataProperty}}}
+
| {{{field|Property|input type=text with autocomplete|values from category=Property}}}
 
|-
 
|-
 
! Restriction:  
 
! Restriction:  
Line 62: Line 76:
 
{{{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:  
Line 69: Line 86:
 
! Caption:
 
! Caption:
 
| {{{field|Caption|input type=text}}}
 
| {{{field|Caption|input type=text}}}
 
 
|}
 
|}
 
{{{end template}}}
 
{{{end template}}}

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.