Template:InputOutputParameterTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
 
(170 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=template
  |?HasVariableType=Type
|template=FormatTableTemplate
  |link=none
|headers=plain
  |sort=HasVariableType
|intro=<h3>Inputs (drivers)</h3>{{TableStyleTemplate}}<td style="width: 25%"><b>Driver</b></td><td style="width: 50%"><b>Description</b></td><td style="width: 25%"><b>Source</b></td></tr>
  |format=Plainlist
|outro=</table><br/><br/>
  |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>Inputs (model variables)</h3>
  |?HasDescription=Description
|outro=<br/><br/>
  |?HasSource=Source
}}{{#ask:[[Category:Variable]][[HasVariableType::parameter]][[-HasInputVar::{{PAGENAME}}]]
  |?HasValuesBasedOn = basedon
|mainlabel= Variabele
  |format=Plainlist
|?HasDescription=Description
  |template=ComponentParameterTemplate
|?HasSource=Is output of
  |intro={{TableIntroTemplate|20%|External datasets|60%|Description|20%|Source}}
|?HasReference=Reference
  |outro=</table>
|format=table
  }}
|headers=plain
|}}{{#ifexpr:{{PropertyTestTemplate|prop=HasOutputVar|page={{FULLPAGENAME}} }}>0
|intro=<h3>Model parameters</h3>
|<p>Output {{FULLPAGENAME}} component</p>
|outro=<br/><br/>
{{#ask:[[Category:Variable]][[-HasOutputVar::{{FULLPAGENAME}}]]
}}{{#ask:[[Category:Variable]][[HasVariableType::model]][[-HasOutputVar::{{PAGENAME}}]]
  |mainlabel= Variabele
|mainlabel= Variabele
  |?HasDescription=Description
|?HasDescription=Description
  |?HasVariableType=Type
|?-HasInputVar=Is used in
  |link=none
|format=table
  |sort=HasVariableType
|headers=plain
  |order=desc
|intro=<h3>Outputs</h3>
  |format=Plainlist
|outro=<br/><br/>
  |template=ComponentOutputTemplate
}}
  |intro={{TableIntroTemplate|20%|IMAGE model variables|60%|Description|20%|Use}}
  |outro=</table>
  }}
|}}</includeonly>

Latest revision as of 09:18, 20 March 2020