Template:VariableTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
Line 88: Line 88:
{{#ifexpr:{{PropertyTestTemplate
{{#ifexpr:{{PropertyTestTemplate
   |prop=HasOutputVar
   |prop=HasOutputVar
   |page= {{PAGENAME}}
   |page=Land cover
   |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::Land cover]][[-HasOutputVar::+]]  
  | mainLabel=Variable
  | mainLabel=Variable
  | ?-HasOutputVar = output
  | ?-HasOutputVar = output
Line 101: Line 102:
  | arrowdirection=TB
  | arrowdirection=TB
  | relation=parent
  | relation=parent
  | graphsize=1.5
  | graphsize=2
  | limit=200
  | limit=200
}}
}}<br clear="all"/>
|}}<br clear="all"/>{{#ask:[[Category:Variable]]
{{#ifexpr:{{PropertyTestTemplate
{{#ifexpr:{{PropertyTestTemplate
   |prop=HasInputVar
   |prop=HasInputVar
   |page= {{PAGENAME}}
   |page= Land cover
   |reverse=1}} >0
   |reverse=1}} >0
   |''Variable is input of model component(s):''
   |''Variable is input of model component(s):''
Line 113: Line 113:
{{#ifexpr:{{PropertyTestTemplate
{{#ifexpr:{{PropertyTestTemplate
   |prop=HasParameter
   |prop=HasParameter
   |page= {{PAGENAME}}
   |page=Land cover
   |reverse=1}} > )
   |reverse=1}} > 0
   |''Parameter is input of model component(s):''
   |''Parameter is input of model component(s):''
|}}
|}}{{#ask:
[[Category:Variable]][[HasPageName::{{PAGENAME}}]][[-HasInputVar::+]] OR
[[Category:Variable]][[HasPageName::Land cover]][[-HasInputVar::+]] OR
[[Category:Variable]][[HasPageName::{{PAGENAME}}]][[-HasParameter::+]]
[[Category:Variable]][[HasPageName::Land cover]][[-HasParameter::+]]
| mainLabel=Variable
| mainLabel=Variable
| ?-HasInputVar = input  
| ?-HasInputVar = input  
Line 131: Line 131:
| limit=200
| limit=200
}}<br clear="all"/>
}}<br clear="all"/>
<br clear="all"/>


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

Revision as of 15:39, 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.