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) |
||
(One intermediate revision by the same user not shown) | |||
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: {{{subproperty_of|}}} | It's a subproperty of [[ | + | {{#if: {{{service|}}} | Services: |
− | [[Category:LIMS/Property]] {{#arraymap: {{{category}}} | ; | __CATEGORY__ | [[Category:__CATEGORY__]] | }} | + | {{#arraymap: {{{service}}} | ; | __VALUE__ | [[Provides service::__VALUE__]] |,}} |}} |
− | </includeonly> | + | {{#if: {{{subproperty_of|}}} | It's a subproperty of [[Subproperty of::{{#replace: {{{subproperty_of}}} | Property: | }}]] |}}. |
+ | [[Category:LIMS/Property]]<!-- | ||
+ | -->{{#ifeq:{{{data_type|Page}}}|Page|[[Category:ObjectProperty]]|[[Category:DataProperty]]}}<!-- | ||
+ | -->{{#if:{{{external_uri|}}}|{{#set: |External formatter uri={{{external_uri|}}}}}|}}<!-- | ||
+ | -->{{#arraymap: {{{category}}} | ; | __CATEGORY__ | [[Category:__CATEGORY__]] | }}<!-- | ||
+ | --></includeonly> |