Difference between revisions of "Template:Data Property Definition"

From City Data Model Project Collaboratory
Jump to navigation Jump to search
Line 39: Line 39:
 
}}
 
}}
  
{{#ifeq: {{{Term Status|}}} | Proposed | {{#forminput:form=SubDataProperty_Definition|query string=SubDataProperty_Definition[SubDataProperty Of]={{PAGENAME}}|button text=submit}} | not equal}}
+
<!-- show option to propose subdata property if the generic property is pending approval or approved -->
 
+
{{#ifeq: {{{Term Status|}}} | Pending Approval | {{#forminput:form=SubDataProperty_Definition|query string=SubDataProperty_Definition[SubDataProperty Of]={{PAGENAME}}|button text=submit}} | not equal}}
  
 +
{{#ifeq: {{{Term Status|}}} | Approved | {{#forminput:form=SubDataProperty_Definition|query string=SubDataProperty_Definition[SubDataProperty Of]={{PAGENAME}}|button text=submit}} | not equal}}
  
 
[[Category:DataProperty]]
 
[[Category:DataProperty]]

Revision as of 18:26, 21 November 2019

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

{{Generic Data Property
|Property Name=
|Property Description=
|Term Status=
|Definition=
|SubDataProperty=
}}

Edit the page to see the template text.