Template:Property/display: Difference between revisions
Template page
More actions
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" | ||
|- | |- | ||
! 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 | ||
{{!}} {{Property/Default | value={{{has_type|}}} }} | |||
|- | }} | ||
{{#if:{{{has_description|}}}| | |||
{{!}}- | |||
! Description | ! Description | ||
{{!}} {{Property/Default | value={{{has_description|}}} }} | |||
|- | }} | ||
{{#if:{{{allows_value|}}}| | |||
{{!}}- | |||
! Allowed values | ! Allowed values | ||
{{!}} {{Property/Default | value={{{allows_value|}}} }} | |||
|- | }} | ||
{{#if:{{{subproperty_of|}}}| | |||
{{!}}- | |||
! Subproperty Of | ! Subproperty Of | ||
{{!}} {{Property/Default | value={{{subproperty_of|}}} }} | |||
|- | }} | ||
{{#if:{{{display_label|}}}| | |||
{{!}}- | |||
! Display name | ! Display name | ||
{{!}} {{Property/Default | value={{{display_label|}}} }} | |||
|- | }} | ||
{{#if:{{{allows_multiple_values|}}}| | |||
{{!}}- | |||
! Allow multiple values | ! Allow multiple values | ||
{{!}} {{Property/Default | value={{{allows_multiple_values|}}} }} | |||
}} | |||
{{#if:{{{allows_value_from_category|}}}| | |||
{{!}}- | |||
! Autocomplete from category | ! Autocomplete from category | ||
{{!}} {{Property/Default | value={{{allows_value_from_category|}}} }} | |||
|- | }} | ||
{{#if:{{{allows_value_from_namespace|}}}| | |||
{{!}}- | |||
! Autocomplete from namespace | ! Autocomplete from namespace | ||
{{!}} {{Property/Default | value={{{allows_value_from_namespace|}}} }} | |||
|- | }} | ||
{{#if:{{{has_template|}}}| | |||
{{!}}- | |||
! Display template | ! Display template | ||
{{!}} {{Property/Page | value={{{has_template|}}} }} | |||
|- | }} | ||
! | {{#if:{{{has_input_type|}}}| | ||
{{!}}- | |||
! 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> | ||