Template:InputOutputParameterTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
 
(144 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]][[-HasParameter::{{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><h3>Inputs</h3>|}}{{#ask:[[Category:Variable]][[HasVariableType::driver]][[-HasInputVar::{{PAGENAME}}]]
{{#ifexpr: {{PropertyTestTemplate|prop=HasInputVar|page={{FULLPAGENAME}} }}>0
|mainlabel=Variable
|{{#ask:[[Category:Variable]][[-HasInputVar::{{FULLPAGENAME}}]]
|?HasDescription= Description
  |mainlabel=
|?HasSource= Source
  |?HasDescription=Description
|format=template
  |?HasVariableType=Type
|template=StyleParameterTemplate
  |link=none
|headers=plain
  |sort=HasVariableType
|intro=<h4>Drivers</h4><br/><br/><table style="border-collapse:collapse; "><tr style="border-bottom:1px solid black; border-top:1px solid black; padding:5px 10px 5px 10px; text-align:center; background-color:#e9e9e9"><td width="20%">'''Variable'''</td><td width="50%">'''Description'''</td><td width="30%" >'''From source'''</td></tr>
  |format=Plainlist
|outro=</table><br/><br/>
  |template=ComponentInputTemplate
}}{{#ask:[[Category:Variable]][[HasVariableType::parameter]][[-HasParameter::{{PAGENAME}}]]
  |intro={{TableIntroTemplate|20%|IMAGE model drivers and variables|60%|Description|20%|Source}}
|mainlabel= Parameter
  |outro=</table>
|?HasDescription=Description
  }}
|?HasSource=Source
|}}{{#ifexpr:{{PropertyTestTemplate|prop=HasParameter|page={{FULLPAGENAME}} }}>0
|format=table
|{{#ask:[[Category:Variable]][[HasVariableType::external parameter]][[-HasParameter::{{FULLPAGENAME}}]]
|headers=plain
  |mainlabel= Parameter
|intro=&#149;&nbsp;&nbsp;<b>Parameters</b>
  |?HasDescription=Description
|outro=<br/><br/>
  |?HasSource=Source
}}{{#ask:[[Category:Variable]][[HasVariableType::model]][[-HasInputVar::{{PAGENAME}}]]
  |?HasValuesBasedOn = basedon
|mainlabel=Variabele
  |format=Plainlist
|?HasDescription=Description
  |template=ComponentParameterTemplate
|?-HasOutputVar=Output of
  |intro={{TableIntroTemplate|20%|External datasets|60%|Description|20%|Source}}
|format=table
  |outro=</table>
|headers=plain
  }}
|intro=&#149;&nbsp;&nbsp;<b>Model variables</b>
|}}{{#ifexpr:{{PropertyTestTemplate|prop=HasOutputVar|page={{FULLPAGENAME}} }}>0
|outro=<br/><br/>
|<p>Output {{FULLPAGENAME}} component</p>
}}{{#ask:[[Category:Variable]][[HasVariableType::model]][[-HasOutputVar::{{PAGENAME}}]]
{{#ask:[[Category:Variable]][[-HasOutputVar::{{FULLPAGENAME}}]]
|mainlabel= Variabele
  |mainlabel= Variabele
|?HasDescription=Description
  |?HasDescription=Description
|?-HasInputVar=Used in
  |?HasVariableType=Type
|format=table
  |link=none
|headers=plain
  |sort=HasVariableType
|intro=<h3>Outputs</h3>
  |order=desc
|outro=<br/><br/>
  |format=Plainlist
}}
  |template=ComponentOutputTemplate
  |intro={{TableIntroTemplate|20%|IMAGE model variables|60%|Description|20%|Use}}
  |outro=</table>
  }}
|}}</includeonly>

Latest revision as of 09:18, 20 March 2020