Template:VariableTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
 
(103 intermediate revisions by 6 users not shown)
Line 73: Line 73:
{{{Reference|}}}{{{Reference2|}}}{{{Reference3|}}}</td></tr>
{{{Reference|}}}{{{Reference2|}}}{{{Reference3|}}}</td></tr>
}}
}}
</table><br/>{{#ifeq:{{{VariableType|}}}
</table><br/>
 
{{#ifeq:{{{VariableType|}}}
  |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.
Line 82: Line 84:
   |page={{PAGENAME}}
   |page={{PAGENAME}}
   |reverse=1}}>0
   |reverse=1}}>0
   |''Variable is output of model component:''
   |''Variable is output of model component:''{{#ask:
<graphviz>
digraph G {
{{#ask:
  [[{{PAGENAME}}]]  
  [[{{PAGENAME}}]]  
  | mainLabel=Variable
  | mainLabel=Variable
Line 97: Line 96:
  | arrowdirection=TB
  | arrowdirection=TB
  | relation=parent
  | relation=parent
  | graphsize=4
  | graphsize==
  | limit=200
  | limit=2000
  }}
  }}
}
</graphviz>
|}}<br/>
|}}<br/>
{{#ifexpr:{{PropertyTestTemplate
{{#ifexpr:{{PropertyTestTemplate
Line 120: Line 117:
   | graphsize=9
   | graphsize=9
   | limit=200
   | limit=200
|
}}
}}
|}}
|}}
Line 156: Line 152:
   |HasValuesBasedOn={{{BasedOn|}}}{{{BasedOn2|}}}|+sep=;
   |HasValuesBasedOn={{{BasedOn|}}}{{{BasedOn2|}}}|+sep=;
   |HasReference={{{Reference|}}}{{{Reference2|}}}{{{Reference3|}}}|+sep=;
   |HasReference={{{Reference|}}}{{{Reference2|}}}{{{Reference3|}}}|+sep=;
}}<!--
}}
-->{{#arraymap:
  {{#arraymap:
     {{#ask:[[HasInputVar::{{PAGENAME}}]][[Concept:AllComponentLevels]]|link=none|sep=;}}
     {{#ask:[[HasInputVar::{{PAGENAME}}]][[Concept:AllComponentLevels]]|link=none|sep=;}}
     |;|xx
     |;|xx
     |{{#set:IsInputFor=xx}}
     |{{#set:IsInputFor=xx}}
     |}}<!--
     |}}
-->{{#arraymap:
  {{#arraymap:
     {{#ask:[[HasOutputVar::{{PAGENAME}}]][[Concept:AllComponentLevels]]|link=none|sep=;}}
     {{#ask:[[HasOutputVar::{{PAGENAME}}]][[Concept:AllComponentLevels]]|link=none|sep=;}}
     |;|xx
     |;|xx
     |{{#set:IsOutputOf=xx}}
     |{{#set:IsOutputOf=xx}}
     |}} <!--
     |}}
-->{{#arraymap:
  {{#arraymap:
     {{#ask:[[HasParameter::{{PAGENAME}}]][[Concept:AllComponentLevels]]|link=none|sep=;}}
     {{#ask:[[HasParameter::{{PAGENAME}}]][[Concept:AllComponentLevels]]|link=none|sep=;}}
     |;|xx
     |;|xx
     |{{#set:IsParameterOf=xx}}
     |{{#set:IsParameterOf=xx}}
     |}}</includeonly>
     |}}</includeonly>

Latest revision as of 16:19, 17 April 2024

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.