Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Property/display: Difference between revisions

Template page
SemanticSchemas: Update static display template for Property
SemanticSchemas: Update static display template for Property
 
Line 2: Line 2:
<includeonly>
<includeonly>
{| class="wikitable source-semanticschemas"
{| class="wikitable source-semanticschemas"
! Property !! Value
|-
|-
! colspan="2" style="background-color: #eaecf0; text-align: center;" | Property <span style="float: right; font-weight: normal; font-size: 0.8em;">[[Special:FormEdit/Property/{{FULLPAGENAME}}|edit]]</span>
{{#if:{{{has_type|}}}|
{{!}}-
! Data type
! Data type
| {{Template:Property/Default | value={{{type|}}} }}
{{!}} {{Property/Default | value={{{has_type|}}} }}
|-
}}
{{#if:{{{has_description|}}}|
{{!}}-
! Description
! Description
| {{Template:Property/Default | value={{{description|}}} }}
{{!}} {{Property/Default | value={{{has_description|}}} }}
|-
}}
{{#if:{{{allows_value|}}}|
{{!}}-
! Allowed values
! Allowed values
| {{Template:Property/Default | value={{{allows_value|}}} }}
{{!}} {{Property/Default | value={{{allows_value|}}} }}
|-
}}
{{#if:{{{subproperty_of|}}}|
{{!}}-
! Subproperty Of
! Subproperty Of
| {{Template:Property/Default | value={{{subproperty_of|}}} }}
{{!}} {{Property/Default | value={{{subproperty_of|}}} }}
|-
}}
{{#if:{{{display_label|}}}|
{{!}}-
! Display name
! Display name
| {{Template:Property/Default | value={{{display_label|}}} }}
{{!}} {{Property/Default | value={{{display_label|}}} }}
|-
}}
{{#if:{{{allows_multiple_values|}}}|
{{!}}-
! Allow multiple values
! Allow multiple values
| {{Template:Property/Default | value={{{allows_multiple_values|}}} }}
{{!}} {{Property/Default | value={{{allows_multiple_values|}}} }}
|-
}}
! Restrict to category
{{#if:{{{allows_value_from_category|}}}|
| {{Template:Property/Page | value={{#if:{{{domain_and_range|}}}|Category:{{{domain_and_range|}}}|}} }}
{{!}}-
|-
! Autocomplete from category
! Autocomplete from category
| {{Template:Property/Default | value={{{allows_value_from_category|}}} }}
{{!}} {{Property/Default | value={{{allows_value_from_category|}}} }}
|-
}}
{{#if:{{{allows_value_from_namespace|}}}|
{{!}}-
! Autocomplete from namespace
! Autocomplete from namespace
| {{Template:Property/Default | value={{{allows_value_from_namespace|}}} }}
{{!}} {{Property/Default | value={{{allows_value_from_namespace|}}} }}
|-
}}
{{#if:{{{has_template|}}}|
{{!}}-
! Display template
! Display template
| {{Template:Property/Page | value={{{template|}}} }}
{{!}} {{Property/Page | value={{{has_template|}}} }}
|-
}}
! Contains Residents
{{#if:{{{has_input_type|}}}|
| {{Template:Property/Page | value={{{contains_residents|}}} }}
{{!}}-
! Input type
{{!}} {{Property/Default | value={{{has_input_type|}}} }}
}}
|}
|}
[[Category:Property]]
[[Category:SemanticSchemas-managed]]
</includeonly><noinclude>[[Category:SemanticSchemas-managed-display]]</noinclude>
</includeonly><noinclude>[[Category:SemanticSchemas-managed-display]]</noinclude>

Latest revision as of 17:03, 3 April 2026