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

Template:Subobject/display: Difference between revisions

Template page
SemanticSchemas: Update static display template for Subobject
 
SemanticSchemas: Update static display template for Subobject
 
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;" | Subobject <span style="float: right; font-weight: normal; font-size: 0.8em;">[[Special:FormEdit/Subobject/{{FULLPAGENAME}}|edit]]</span>
{{#if:{{{has_description|}}}|
{{!}}-
! Description
! Description
| {{Template:Property/Default | value={{{description|}}} }}
{{!}} {{Property/Default | value={{{has_description|}}} }}
|-
}}
{{#if:{{{display_label|}}}|
{{!}}-
! Display name
! Display name
| {{Template:Property/Default | value={{{display_label|}}} }}
{{!}} {{Property/Default | value={{{display_label|}}} }}
|-
}}
{{#if:{{{has_required_property|}}}|
{{!}}-
! Required fields
! Required fields
| {{Template:Property/Page | value={{#arraymap:{{{required_property|}}}|,|@@item@@|Property:@@item@@|,&#32;}} }}
{{!}} {{Property/Page | value={{#arraymap:{{{has_required_property|}}}|,|@@item@@|Property:@@item@@|,&#32;}} }}
|-
}}
{{#if:{{{has_optional_property|}}}|
{{!}}-
! Optional fields
! Optional fields
| {{Template:Property/Page | value={{#arraymap:{{{optional_property|}}}|,|@@item@@|Property:@@item@@|,&#32;}} }}
{{!}} {{Property/Page | value={{#arraymap:{{{has_optional_property|}}}|,|@@item@@|Property:@@item@@|,&#32;}} }}
}}
|}
|}
[[Category:Subobject]]
[[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