Template:VariableTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
Line 90: Line 90:
   |page= {{PAGENAME}}
   |page= {{PAGENAME}}
   |reverse=1}}>0
   |reverse=1}}>0
   }}|''Variable is output of model component:''
   |''Variable is output of model component:''
  {{#ask:[[Category:Variable]][[HasPageName::{{PAGENAME}}]][[-HasOutputVar::+]]  
  {{#ask:[[Category:Variable]][[HasPageName::{{PAGENAME}}]][[-HasOutputVar::+]]  
  | mainLabel=Variable
  | mainLabel=Variable
Line 105: Line 105:
  }}
  }}
|}}<br clear="all"/>{{#ask:[[Category:Variable]]
|}}<br clear="all"/>{{#ask:[[Category:Variable]]
{{#ifexpr:{{PropertyTestTemplate
  |prop=HasInputVar
  |page= {{PAGENAME}}
  |reverse=1}} >0
  |''Variable is input of model component(s):''
|}}
{{#ifexpr:{{PropertyTestTemplate
  |prop=HasParameter
  |page= {{PAGENAME}}
  |reverse=1}} > )
  |''Parameter is input of model component(s):''
|}}
[[Category:Variable]][[HasPageName::{{PAGENAME}}]][[-HasInputVar::+]] OR
[[Category:Variable]][[HasPageName::{{PAGENAME}}]][[-HasInputVar::+]] OR
[[Category:Variable]][[HasPageName::{{PAGENAME}}]][[-HasParameter::+]]
[[Category:Variable]][[HasPageName::{{PAGENAME}}]][[-HasParameter::+]]
Line 120: Line 132:
}}<br clear="all"/>
}}<br clear="all"/>
<br clear="all"/>
<br clear="all"/>
''Output model and/or input model(s) of variable''


* Click on a box to open the model component.
* Click on a box to open the model component.

Revision as of 15:22, 29 January 2014

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

{{VariableTemplate
|Label=
|Description=
|Dimension=
|Unit=
|VariableType=
|DriverGroup=
|ExternalModelDriver=
|Source=
|Source2=
|ExternalModel=
}}

Edit the page to see the template text.