Anonymous

Changes

From KIproBatt Wiki
Updated with content from Extension:OpenSemanticLab version 0.0.3
Line 1: Line 1: −
<includeonly>{{#subobject: {{#explode:{{{1}}}|###|0}}
+
<includeonly><!-- print out the identifier for inline declaration -->{{{name|{{{id|}}}}}};<!--
|@category=LabProcessObject
+
create object, identified by name (if specified) or id => e.g. #ObjectName or #220504-sist-0010-mi
|Display title of={{#explode:{{{1}}}|###|0}}
+
-->{{#subobject: {{{name|{{{id|}}}}}}
|HasName={{#explode:{{{1}}}|###|0}}
+
|@category=LabProcess/Object;LabProcessObject{{#if: {{{global|}}} |;LabProcessOutput;LabProcess/GlobalObject|}}|+sep=;
}}{{#set: HasObject={{FULLPAGENAME}}#{{#explode:{{{1}}}|###|0}}}}<!-- Subobject for products
+
|HasName={{{name|}}}
-->{{#if:{{#explode:{{{1}}}|###|1}}|{{#subobject: {{#replace:{{#replace:{{PAGENAME}}|00-pi|}}|00-pt|}}{{#explode:{{{1}}}|###|1}}  
+
|HasDisplayName={{{label|}}}
|@category=LabProcessOutput|+sep=;
+
|Display title of=<!--
|HasId={{#replace:{{#replace:{{PAGENAME}}|00-pi|}}|00-pt|}}{{#explode:{{{1}}}|###|1}}
+
-->{{#ifeq:{{NAMESPACE}}|LabObject<!--
|HasWikiId={{FULLPAGENAME}}#{{#replace:{{#replace:{{PAGENAME}}|00-pi|}}|00-pt|}}{{#explode:{{{1}}}|###|1}}
+
  -->|{{#if: {{{global|}}} | {{{id}}} | {{{label|{{{name|}}}}}} }}<!-- use id for global object
|Display title of={{#replace:{{#replace:{{PAGENAME}}|00-pi|}}|00-pt|}}{{#explode:{{{1}}}|###|1}}
+
  -->|{{{label|{{{name|}}}}}}<!-- always use label/name in process templates
|HasProcessObject={{FULLPAGENAME}}#{{#explode:{{{1}}}|###|0}}
+
-->}}
|IsInstanceOf={{#if:{{#explode:{{{1}}}|###|2}}|{{#explode:{{{1}}}|###|2}}|
+
|HasId={{{id|}}}
{{#ask: [[{{FULLPAGENAME}}]] |?HasOutputType= |mainlabel=- |link=none |format=plain}}}}
+
|HasWikiId={{FULLPAGENAME}}#{{{name|{{{id|}}}}}}
}}{{#set: HasOutput={{FULLPAGENAME}}#{{#replace:{{#replace:{{PAGENAME}}|00-pi|}}|00-pt|}}{{#explode:{{{1}}}|###|1}}}}
+
<!-- |IsInstanceOf=Term:Process/Object/Global;-->
|}}</includeonly>
+
|IsInstanceOf=<!-- Term:Process/Object/Local; --><!--
 +
-->{{#if: {{{global|}}} | {{#if:{{{type|}}}| {{{type}}} | {{#ifeq:{{NAMESPACE}}|LabObject
 +
    | <!-- only for process instances, not types--> {{#ask: [[{{FULLPAGENAME}}]] |?HasOutputType= |mainlabel=- |link=none |format=plain}} }}  
 +
  }} |}}|+sep=;
 +
}}<!--
 +
-->{{#set: HasObject={{FULLPAGENAME}}#{{{name|{{{id|}}}}}} }}<!--
 +
-->{{#ifeq:{{NAMESPACE}}|LabObject| <!-- only for process instances, not types
 +
  -->{{#if: {{{global|}}}|<!--
 +
    -->{{#set: HasOutput={{FULLPAGENAME}}#{{{name|{{{id|}}}}}} }}<!-- 
 +
  -->}}<!--
 +
-->}}</includeonly>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.