Difference between revisions of "Template:Class Definition"

From City Data Model Project Collaboratory
Jump to navigation Jump to search
 
(65 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
<pre>
 
<pre>
 
{{Class Definition
 
{{Class Definition
 +
|Pattern=
 
|Subclass Of=
 
|Subclass Of=
|Namespace=
 
 
|Description=
 
|Description=
 +
|Class Diagram Description=
 
|Required By Use Cases=
 
|Required By Use Cases=
|Definition=
+
|Interface Specification References=
|Definition Licensing=
+
|Sources=
 
|Definition Status=
 
|Definition Status=
|Has Subclasses=
+
|Subclasses=
|Licensing Comments=
 
|Has Specification Model=
 
 
}}
 
}}
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
 
</noinclude><includeonly>
 
</noinclude><includeonly>
{{#default_form:Subclass Definition}}
+
{{#default_form:Class_Definition}}
{| class="wikitable"
 
  
! Subclass Of
+
== Pattern ==
| [[Owl:SubClassOf::{{{Subclass Of}}}]]
+
This class has been associated with the following pattern:
|-
+
{{#arraymap:{{{Pattern|}}}|,|x|[[UsedInPattern::x]]}}
! Namespace (context for definition)
+
{{#ask:[[UsedInPattern::{{PAGENAME}}]] OR [[-UsedInPattern::{{PAGENAME}}]] |format=list}}
| {{{Namespace|}}}
+
 
|-
+
== Subclass Of ==
! Description (what distinguishes this sense of the term?)
+
{{#arraymap:{{{Subclass Of|}}}|,|x|[[Owl:SubClassOf::x]]}}
| {{{Description|}}}
+
 
|-
+
== Description ==
<!-- ! Use Case (why is this specialized definition needed?) -->
+
An English description of the definition (what distinguishes this sense of the term?).
<!-- | {{{Use Case(s)|}}} -->
+
 
<!-- |- -->
+
{{{Description|}}}
! Required by Use Case(s) (why is this specialized definition needed?)
+
 
| {{#arraymap:{{{Required by Use Cases|}}}|,|x|[[RequiredByUseCase::x]]}}
+
== Class Diagram Description ==
|-
+
{{{Class Diagram Description|}}}
! Formal Definition (UML or DL)
+
 
| {{{Definition|}}}
+
== Required by Use Case(s) ==
|-
+
(why is this specialized definition needed?)
! Definition Licensing
+
{{#arraymap:{{{Required by Use Cases|}}}|,|x|[[RequiredByUseCase::x]]}}
| {{{Definition Licensing|}}}
+
{{#ask:[[RequiresClass::{{PAGENAME}}]] OR [[-RequiredByUseCase::{{PAGENAME}}]] |format=list}}
|-
+
 
! Other Licensing Notes
+
== CDM References ==
| {{{Licensing Comments|}}}
+
What other classes or properties reference this term?
|-
+
{{Special:WhatLinksHere/{{PAGENAME}}}}
! Referenced by Specification Element(s)
+
 
| {{#arraymap:{{{Has Specification Model|}}}|,|x|[[-SpecificationModelFor::x]]}}
+
== Interface Specification References ==
|-
+
This class has been associated with the following interface specification items:
! Status
+
{{#arraymap:{{{Interface Specification References|}}}|,|x|[[x]]}}
| [[Term status::{{{Definition Status|}}}]]
+
 
|-
+
== Sources ==
! Has Subclass
+
Sources considered when developing the class:
| {{#ask: [[Owl:SubClassOf::{{PAGENAME}}]]
+
{{{Sources|}}}
|format=ul
+
 
|limit=50
+
== Status ==
|offset=0
+
[[Term status::{{{Definition Status|}}}]]
|link=all
+
 
|sort=
+
== Has Subclass(es) ==
|order=asc
+
{{#arraymap:{{{Subclasses|}}}|,|x|[[x]]}}
|headers=show
+
{{#forminput:form=Class_Definition|query string=Class_Definition[Subclass Of]={{PAGENAME}}|button text=submit}}
|searchlabel=... further results
 
|propsep=,
 
|valuesep=,
 
}}
 
{{#forminput:form=Class_Definition|query string=Subclass_Definition[Subclass Of]={{PAGENAME}}|button text=submit}}
 
|}
 
  
 
[[Category:Class]]
 
[[Category:Class]]
<comments />
+
[[Category:CDM_Term]]
 +
 
 
</includeonly>
 
</includeonly>
 +
<!-- add this tag to enable discussion via comments on page <comments /> -->

Latest revision as of 18:12, 15 December 2022

This is the "Class Definition" template. It should be called in the following format:

{{Class Definition
|Pattern=
|Subclass Of=
|Description=
|Class Diagram Description=
|Required By Use Cases=
|Interface Specification References=
|Sources=
|Definition Status=
|Subclasses=
}}

Edit the page to see the template text.