Template:InputOutputParameterTemplate: Difference between revisions

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