Template:VariableTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
Line 76: Line 76:
  |driver
  |driver
  |Drivers are described in the {{#ask:[[Category:Component]][[FrameworkElementType::driver component]]|format=Plainlist}} component.
  |Drivers are described in the {{#ask:[[Category:Component]][[FrameworkElementType::driver component]]|format=Plainlist}} component.
|}}
|}}


{{#ifexpr:{{PropertyTestTemplate
{{#ifexpr:{{PropertyTestTemplate
<graphviz>
   |prop=HasOutputVar
   |prop=HasOutputVar
   |page={{PAGENAME}}
   |page={{PAGENAME}}
   |reverse=1}}>0
   |reverse=1}}>0
   |''Variable is output of model component:''{{#ask:
   |''Variable is output of model component:''
<graphviz>
digraph G {
{{#ask:
  [[{{PAGENAME}}]]  
  [[{{PAGENAME}}]]  
  | mainLabel=Variable
  | mainLabel=Variable
Line 100: Line 100:
  | limit=200
  | limit=200
  }}
  }}
}
</graphviz>
|}}<br/>
|}}<br/>
{{#ifexpr:{{PropertyTestTemplate
{{#ifexpr:{{PropertyTestTemplate
Line 170: Line 172:
     |{{#set:IsParameterOf=xx}}
     |{{#set:IsParameterOf=xx}}
     |}}</includeonly>
     |}}</includeonly>
</graphviz>

Revision as of 09:57, 30 June 2023

This is the "VariableTemplate" template. It should be called in the following format:

{{VariableTemplate
|Label=
|Description=
|Dimension=
|Unit=
|VariableType=
|DriverGroup=
|Source=
|BasedOn
|Reference
|Source2=
|BasedOn2=
|Reference2=
|Source3=
|Reference3=
}}

Edit the page to see the template text.