Template:VariableTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
Line 105: Line 105:
<graphviz>
<graphviz>
digraph G {
digraph G {
{{#ifexpr:{{PropertyTestTemplate
{{#ifexpr:{{PropertyTestTemplate |prop=HasInputVar|page={{PAGENAME}} |reverse=1}} >0
  |prop=HasInputVar
   ||''Variable is input of model component(s):''{{#ask:
  |page={{PAGENAME}}
  |reverse=1}} >0
   |''Variable is input of model component(s):''{{#ask:
   [[{{PAGENAME}}]]
   [[{{PAGENAME}}]]
   | mainLabel=Variable
   | mainLabel=Variable
Line 126: Line 123:
|}}
|}}
</graphviz>
</graphviz>
{{#ifexpr:{{PropertyTestTemplate
{{#ifexpr:{{PropertyTestTemplate
   |prop=HasParameter
   |prop=HasParameter

Revision as of 13:26, 28 August 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.