Difference between revisions of "Template:Generic Class"

From City Data Model Project Collaboratory
Jump to navigation Jump to search
Line 38: Line 38:
 
  |valuesep=,  
 
  |valuesep=,  
 
}}
 
}}
{{#forminput:form=Subclass_Definition|query string=Subclass_Definition[Subclass Of]={{PAGENAME}}|button text=submit}}
+
 
 +
<!-- show option to propose subclass if the generic class is pending approval or approved -->
 +
{{#ifeq: {{{Term Status|}}} | Pending Approval | {{#forminput:form=Subclass_Definition|query string=Subclass_Definition[Subclass Of]={{PAGENAME}}|button text=submit}} | }}
 +
 
 +
{{#ifeq: {{{Term Status|}}} | Approved | {{#forminput:form=Subclass_Definition|query string=Subclass_Definition[Subclass Of]={{PAGENAME}}|button text=submit}} | }}
 +
 
 +
 
  
 
<comments />
 
<comments />
 
[[Category:Class]]
 
[[Category:Class]]
 
</includeonly>
 
</includeonly>

Revision as of 18:28, 21 November 2019

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

{{Generic Class
|Class Name=
|Class Description=
|Term status=
|Definition=
|Subclasses=
}}

Edit the page to see the template text.