Difference between revisions of "Form:Class Definition"

From City Data Model Project Collaboratory
Jump to navigation Jump to search
 
(15 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:  
 
! Class Diagram Description:  
Line 38: 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}}}
  
 +
<!-- example of an embedded template to create a tabular listing for repeated fields -->
 
{{{for template|Annotation Specification|label=Annotation Specification}}}
 
{{{for template|Annotation Specification|label=Annotation Specification}}}
 
{{{field|Annotation Row|holds template}}}
 
{{{field|Annotation Row|holds template}}}
Line 56: Line 60:
  
  
{{{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:  
Line 69: 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 76: 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.