Difference between revisions of "OslTemplate:Property"

From KIproBatt Wiki
(Updated with content from Extension:OpenSemanticLab version 0.0.3)
(Updated with content from Extension:OpenSemanticLab version 0.0.3)
 
Line 5: Line 5:
 
Form for this template: [[Form:Property]]
 
Form for this template: [[Form:Property]]
 
</noinclude>
 
</noinclude>
<includeonly>This is a property of type [[Has type::{{{data_type|Page}}}]].  
+
<includeonly>{{DISPLAYTITLE:{{{label|}}}}} This is a property of type [[Has type::{{{data_type|Page}}}]].  
 
{{#if: {{{allowed_value|}}} | Allowed values:  
 
{{#if: {{{allowed_value|}}} | Allowed values:  
 
{{#arraymap: {{{allowed_value}}} | ; | __VALUE__ | *__VALUE__ | \n }} |}}
 
{{#arraymap: {{{allowed_value}}} | ; | __VALUE__ | *__VALUE__ | \n }} |}}
 +
{{#if: {{{service|}}} | Services:
 +
{{#arraymap: {{{service}}} | ; | __VALUE__ | [[Provides service::__VALUE__]] |,}} |}}
 
{{#if: {{{subproperty_of|}}} | It's a subproperty of [[Subproperty of::{{#replace: {{{subproperty_of}}} | Property: | }}]] |}}.
 
{{#if: {{{subproperty_of|}}} | It's a subproperty of [[Subproperty of::{{#replace: {{{subproperty_of}}} | Property: | }}]] |}}.
 
[[Category:LIMS/Property]]<!--
 
[[Category:LIMS/Property]]<!--
 
-->{{#ifeq:{{{data_type|Page}}}|Page|[[Category:ObjectProperty]]|[[Category:DataProperty]]}}<!--
 
-->{{#ifeq:{{{data_type|Page}}}|Page|[[Category:ObjectProperty]]|[[Category:DataProperty]]}}<!--
 +
-->{{#if:{{{external_uri|}}}|{{#set: |External formatter uri={{{external_uri|}}}}}|}}<!--
 
-->{{#arraymap: {{{category}}} | ; | __CATEGORY__ | [[Category:__CATEGORY__]] | }}<!--
 
-->{{#arraymap: {{{category}}} | ; | __CATEGORY__ | [[Category:__CATEGORY__]] | }}<!--
 
--></includeonly>
 
--></includeonly>

Latest revision as of 06:12, 23 June 2022

Templates for semantic properties

Form for this template: Form:Property