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 8: Line 8:
 
{{#if: {{{allowed_value|}}} | Allowed values:  
 
{{#if: {{{allowed_value|}}} | Allowed values:  
 
{{#arraymap: {{{allowed_value}}} | ; | __VALUE__ | *__VALUE__ | \n }} |}}
 
{{#arraymap: {{{allowed_value}}} | ; | __VALUE__ | *__VALUE__ | \n }} |}}
{{#if: {{{subproperty_of|}}} | It's a subproperty of [[Property:{{#replace: {{{subproperty_of}}} | Property: | }}]] |}}.
+
{{#if: {{{subproperty_of|}}} | It's a subproperty of [[Subproperty of::{{#replace: {{{subproperty_of}}} | Property: | }}]] |}}.
[[Category:LIMS/Property]] {{#arraymap: {{{category}}} | ; | __CATEGORY__ | [[Category:__CATEGORY__]] | }}
+
[[Category:LIMS/Property]]<!--
</includeonly>
+
-->{{#ifeq:{{{data_type|Page}}}|Page|[[Category:ObjectProperty]]|[[Category:DataProperty]]}}<!--
 +
-->{{#arraymap: {{{category}}} | ; | __CATEGORY__ | [[Category:__CATEGORY__]] | }}<!--
 +
--></includeonly>

Revision as of 15:19, 31 May 2022

Templates for semantic properties

Form for this template: Form:Property