Difference between revisions of "Template:Object Property Definition"

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

Revision as of 18:29, 21 November 2019

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

{{Generic Object Property
|Property Name=
|Property Description=
|Term Status=
|Definition=
|SubObjectProperty=
}}

Edit the page to see the template text.