Template:InputOutputParameterTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
 
(176 intermediate revisions by 5 users not shown)
Line 1: Line 1:
__NOEDITSECTION__
<includeonly>__NOEDITSECTION__{{#ifexpr:
{{#ifexpr:
{{PropertyTestTemplate|prop=HasInputVar|page={{FULLPAGENAME}} }}+
  {{#ask:[[Category:Variable]][[HasVariableType::driver]][[-HasInputVar::{{PAGENAME}}]]|format=count}} or
{{PropertyTestTemplate|prop=HasParameter|page={{FULLPAGENAME}} }}+
  {{#ask:[[Category:Variable]][[HasVariableType::model]][[-HasInputVar::{{PAGENAME}}]]|format=count}} or
{{PropertyTestTemplate|prop=HasOutputVar|page={{FULLPAGENAME}} }}> 0
  {{#ask:[[Category:Variable]][[HasVariableType::parameter]][[-HasInputVar::{{PAGENAME}}]]|format=count}} or
|<h2>Input/Output Table</h2><p>Input {{FULLPAGENAME}} component </p>
  {{#ask:[[Category:Variable]][[HasVariableType::model]][[-HasOutputVar::{{PAGENAME}}]]|format=count}}
|}}
|<h2>Links to other parts of IMAGE framework</h2>|}}{{#ask:[[Category:Variable]][[HasVariableType::driver]][[-HasInputVar::{{PAGENAME}}]]
{{#ifexpr: {{PropertyTestTemplate|prop=HasInputVar|page={{FULLPAGENAME}} }}>0
|mainlabel= Driver
|{{#ask:[[Category:Variable]][[-HasInputVar::{{FULLPAGENAME}}]]
|?HasDescription= Description
  |mainlabel=
|?HasSource= Source
  |?HasDescription=Description
|format=table
  |?HasVariableType=Type
|headers=plain
  |link=none
|intro=<h3>Input variables (drivers)</h3>
  |sort=HasVariableType
|outro=<br/><br/>
  |format=Plainlist
}}
  |template=ComponentInputTemplate
{{#ask:[[Category:Variable]][[HasVariableType::model]][[-HasInputVar::{{PAGENAME}}]]
  |intro={{TableIntroTemplate|20%|IMAGE model drivers and variables|60%|Description|20%|Source}}
|mainlabel=Variabele
  |outro=</table>
|?HasDescription=Description
  }}
|?-HasOutputVar=Is output of
|}}{{#ifexpr:{{PropertyTestTemplate|prop=HasParameter|page={{FULLPAGENAME}} }}>0
|format=table
|{{#ask:[[Category:Variable]][[HasVariableType::external parameter]][[-HasParameter::{{FULLPAGENAME}}]]
|headers=plain
  |mainlabel= Parameter
|intro=<h3>Input variables (model variables)</h3>
  |?HasDescription=Description
|outro=<br/><br/>
  |?HasSource=Source
}}
  |?HasValuesBasedOn = basedon
{{#ask:[[Category:Variable]][[HasVariableType::parameter]][[-HasInputVar::{{PAGENAME}}]]
  |format=Plainlist
|mainlabel= Variabele
  |template=ComponentParameterTemplate
|?HasDescription=Description
  |intro={{TableIntroTemplate|20%|External datasets|60%|Description|20%|Source}}
|?HasSource=Is output of
  |outro=</table>
|?HasReference=Reference
  }}
|format=table
|}}{{#ifexpr:{{PropertyTestTemplate|prop=HasOutputVar|page={{FULLPAGENAME}} }}>0
|headers=plain
|<p>Output {{FULLPAGENAME}} component</p>
|intro=<h3>Model parameters</h3>
{{#ask:[[Category:Variable]][[-HasOutputVar::{{FULLPAGENAME}}]]
|outro=<br/><br/>
  |mainlabel= Variabele
}}
  |?HasDescription=Description
{{#ask:[[Category:Variable]][[HasVariableType::model]][[-HasOutputVar::{{PAGENAME}}]]
  |?HasVariableType=Type
|mainlabel= Variabele
  |link=none
|?HasDescription=Description
  |sort=HasVariableType
|?-HasInputVar=Is used in
  |order=desc
|format=table
  |format=Plainlist
|headers=plain
  |template=ComponentOutputTemplate
|intro=<h3>Output variables</h3>
  |intro={{TableIntroTemplate|20%|IMAGE model variables|60%|Description|20%|Use}}
|outro=<br/><br/>
  |outro=</table>
}}
  }}
|}}</includeonly>

Latest revision as of 09:18, 20 March 2020