Difference between revisions of "Template:Generic Class"

From City Data Model Project Collaboratory
Jump to navigation Jump to search
m (Protected "Template:Generic Class" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(9 intermediate revisions by 3 users not shown)
Line 6: Line 6:
 
|Class Name=
 
|Class Name=
 
|Class Description=
 
|Class Description=
|Term status=
+
|Term Status=
 
|Definition=
 
|Definition=
 
|Subclasses=
 
|Subclasses=
Line 13: Line 13:
 
Edit the page to see the template text.
 
Edit the page to see the template text.
 
</noinclude><includeonly>
 
</noinclude><includeonly>
 +
{{#default_form:Generic Class}}
 
==Class==
 
==Class==
 
{{{Class Name|}}}
 
{{{Class Name|}}}
Line 20: Line 21:
  
 
==Term status==
 
==Term status==
{{{Term status|}}}
+
[[Term status::{{{Term Status|}}}]]
  
 
==Definition==
 
==Definition==
Line 38: Line 39:
 
  |valuesep=,  
 
  |valuesep=,  
 
}}
 
}}
{{#forminput:form=Specialized_Term_Definition|button text=submit}}
 
  
[[Category:Term]]
+
<!-- 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 />
 +
[[Category:Class]]
 
</includeonly>
 
</includeonly>

Latest revision as of 20:56, 22 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.