Template:VariableTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
Line 85: Line 85:
}}
}}
</table><br/>
</table><br/>
   
{{#ifexpr:{{PropertyTestTemplate
{{#ifexpr:{{PropertyTestTemplate
   |prop=HasOutputVar
   |prop=HasOutputVar
   |page=Land cover
   |page={{PAGENAME}}
   |reverse=1}}>0
   |reverse=1}}>0
   |''Variable is output of model component:''
   |''Variable is output of model component:''{{#ask:
|}}{{#ask:
   [[Category:Variable]][[HasPageName::{{PAGENAME}}]][[-HasOutputVar::+]]  
   [[Category:Variable]][[HasPageName::Land cover]][[-HasOutputVar::+]]  
  | mainLabel=Variable
  | mainLabel=Variable
  | ?-HasOutputVar = output
  | ?-HasOutputVar = output
Line 104: Line 102:
  | graphsize=2
  | graphsize=2
  | limit=200
  | limit=200
}}<br clear="all"/>
}}
|}}<br clear="all"/>
{{#ifexpr:{{PropertyTestTemplate
{{#ifexpr:{{PropertyTestTemplate
   |prop=HasInputVar
   |prop=HasInputVar
   |page= Land cover
   |page={{PAGENAME}}
   |reverse=1}} >0
   |reverse=1}} >0
   |''Variable is input of model component(s):''
   |''Variable is input of model component(s):''{{#ask:
[[Category:Variable]][[HasPageName::{{PAGENAME}}]][[-HasInputVar::+]]
  | mainLabel=Variable
  | ?-HasInputVar = input
  | format=graph
  | graphcolor=yes
  | graphlink=yes
  | graphlabel=yes
  | nodeshape=box
  | arrowdirection=TB
  | graphsize=9
  | limit=200
}}
|}}
|}}
{{#ifexpr:{{PropertyTestTemplate
{{#ifexpr:{{PropertyTestTemplate
   |prop=HasParameter
   |prop=HasParameter
   |page=Land cover
   |page={{PAGENAME}}
   |reverse=1}} > 0  
   |reverse=1}} > 0  
   |''Parameter is input of model component(s):''
   |''Parameter is input of model component(s):''{{#ask:
|}}{{#ask:
[[Category:Variable]][[HasPageName::{{PAGENAME}}]][[-HasParameter::+]]
[[Category:Variable]][[HasPageName::Land cover]][[-HasInputVar::+]] OR
  | mainLabel=Variable
[[Category:Variable]][[HasPageName::Land cover]][[-HasParameter::+]]
  | ?-HasParameter = input parameter of
| mainLabel=Variable
  | format=graph
| ?-HasInputVar = input
  | graphcolor=yes
| ?-HasParameter = input parameter of
  | graphlink=yes
| format=graph
  | graphlabel=yes
| graphcolor=yes
  | nodeshape=box
| graphlink=yes
  | arrowdirection=TB
| graphlabel=yes
  | graphsize=9
| nodeshape=box
  | limit=200
| arrowdirection=TB
}}
| graphsize=9
|}}<br clear="all"/>
| limit=200
}}<br clear="all"/>


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

Revision as of 16:00, 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.