Object
From KIproBatt Wiki
(Updated with content from Extension:OpenSemanticLab version 0.0.3) |
(Updated with content from Extension:OpenSemanticLab version 0.0.3) |
||
| Line 1: | Line 1: | ||
| − | <includeonly>{{#subobject: {{ | + | <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 |
| − | + | -->{{#subobject: {{{name|{{{id|}}}}}} | |
| − | |HasName={{ | + | |@category=LabProcess/Object;LabProcessObject{{#if: {{{global|}}} |;LabProcessOutput;LabProcess/GlobalObject|}}|+sep=; |
| − | + | |HasName={{{name|}}} | |
| − | -->{{#if:{{ | + | |HasDisplayName={{{label|}}} |
| − | | | + | |Display title of=<!-- |
| − | + | -->{{#ifeq:{{NAMESPACE}}|LabObject<!-- | |
| − | |HasWikiId={{FULLPAGENAME}}#{{ | + | -->|{{#if: {{{global|}}} | {{{id}}} | {{{label|{{{name|}}}}}} }}<!-- use id for global object |
| − | | | + | -->|{{{label|{{{name|}}}}}}<!-- always use label/name in process templates |
| − | + | -->}} | |
| − | + | |HasId={{{id|}}} | |
| − | {{#ask: [[{{FULLPAGENAME}}]] |?HasOutputType= |mainlabel=- |link=none |format=plain}}}} | + | |HasWikiId={{FULLPAGENAME}}#{{{name|{{{id|}}}}}} |
| − | }}{{#set: | + | <!-- |IsInstanceOf=Term:Process/Object/Global;--> |
| − | + | |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> | ||