Template:InputOutputParameterTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
 
(75 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly>__NOEDITSECTION__{{#ifexpr:
__NOEDITSECTION__
{{PropertyTestTemplate|prop=HasInputVar|page={{FULLPAGENAME}} }}+
{{#ifexpr:
{{PropertyTestTemplate|prop=HasParameter|page={{FULLPAGENAME}} }}+
  {{#ask:[[Category:Variable]][[HasVariableType::driver]][[-HasInputVar::{{PAGENAME}}]]|format=count}} or
{{PropertyTestTemplate|prop=HasOutputVar|page={{FULLPAGENAME}} }}> 0
  {{#ask:[[Category:Variable]][[HasVariableType::model (from/to model)]][[-HasInputVar::{{PAGENAME}}]]|format=count}} or
|<h2>Input/Output Table</h2><p>Input {{FULLPAGENAME}} component </p>
  {{#ask:[[Category:Variable]][[HasVariableType::parameter]][[-HasParameter::{{PAGENAME}}]]|format=count}} or
|}}
  {{#ask:[[Category:Variable]][[HasVariableType::historical model]][[-HasInputVar::{{PAGENAME}}]]|format=count}} or
{{#ifexpr: {{PropertyTestTemplate|prop=HasInputVar|page={{FULLPAGENAME}} }}>0
  {{#ask:[[Category:Variable]][[HasVariableType::external model]][[-HasInputVar::{{PAGENAME}}]]|format=count}}
|{{#ask:[[Category:Variable]][[-HasInputVar::{{FULLPAGENAME}}]]
|<h2>Inputs</h2>{{DriverGroupTemplate|{{PAGENAME}}}}
   |mainlabel=
 
{{#ask:[[Category:Variable]][[HasVariableType::model (from/to model)]][[-HasInputVar::{{PAGENAME}}]]
   |mainlabel=Variabele
   |?HasDescription=Description
   |?HasDescription=Description
   |?-HasOutputVar=Is output of
   |?HasVariableType=Type
   |format=template
   |link=none
   |template=StandardTableRowTemplate
  |sort=HasVariableType
   |headers=plain
   |format=Plainlist
   |intro=<h3>Model variables from model</h3>{{IntroTableTemplate|10%|Model variable|70%|Description|20%|Is output of}}
   |template=ComponentInputTemplate
   |intro={{TableIntroTemplate|20%|IMAGE model drivers and variables|60%|Description|20%|Source}}
   |outro=</table>
   |outro=</table>
}}{{#ask:[[Category:Variable]][[HasVariableType::parameter]][[-HasParameter::{{PAGENAME}}]]
  }}
|}}{{#ifexpr:{{PropertyTestTemplate|prop=HasParameter|page={{FULLPAGENAME}} }}>0
|{{#ask:[[Category:Variable]][[HasVariableType::external parameter]][[-HasParameter::{{FULLPAGENAME}}]]
   |mainlabel= Parameter
   |mainlabel= Parameter
   |?HasDescription=Description
   |?HasDescription=Description
   |?HasSource=Source
   |?HasSource=Source
   |format=template
   |?HasValuesBasedOn = basedon
   |template=StyleParameterTemplate
   |format=Plainlist
   |headers=plain
   |template=ComponentParameterTemplate
   |intro=<div class="StandardTableHeader IOP_Parameters"><h3>Parameters</h3><table class="StandardTable IOP_VariablesTable  sortable smwtable jquery-tablesorter"><tr class="StandardTableHeaderRow"><th class="headerSort IOPTemplateTd1">'''Parameter'''</th><th class="headerSort IOPTemplateTd2">'''Description'''</th><th class="headerSort IOPTemplateTd3" >'''From source'''</th></tr>
   |intro={{TableIntroTemplate|20%|External datasets|60%|Description|20%|Source}}
  |outro=</table></div>
   |outro=</table>
}}
   }}
{{#ask:[[Category:Variable]][[HasVariableType::historical model]][[-HasInputVar::{{PAGENAME}}]]
|}}{{#ifexpr:{{PropertyTestTemplate|prop=HasOutputVar|page={{FULLPAGENAME}} }}>0
  |mainlabel= historical model
|<p>Output {{FULLPAGENAME}} component</p>
  |?HasDescription=Description
{{#ask:[[Category:Variable]][[-HasOutputVar::{{FULLPAGENAME}}]]
  |?HasSource=Source
  |format=template
  |template=StyleParameterTemplate
  |headers=plain
   |intro=<div class="StandardTableHeader IOP_Parameters"><h3>historical model</h3><table class="StandardTable IOP_VariablesTable  sortable smwtable jquery-tablesorter"><tr class="StandardTableHeaderRow"><th class="headerSort IOPTemplateTd1">'''historical model'''</th><th class="headerSort IOPTemplateTd2">'''Description'''</th><th class="headerSort IOPTemplateTd3" >'''From source'''</th></tr>
   |outro=</table></div>
}}
|
Hier wordt Input ifexpr afgesloten, dit mag je niet zien Want if =true
}}
}}
{{#ifexpr:
  {{#ask:[[Category:Variable]][[HasVariableType::model (from/to model)]][[-HasOutputVar::{{PAGENAME}}]]|format=count}} or
  {{#ask:[[Category:Variable]][[HasVariableType::model (end-indicator)]][[-HasOutputVar::{{PAGENAME}}]]|format=count}}
|<h2>Outputs</h2>
{{#ask:[[Category:Variable]][[HasVariableType::model (from/to model)]][[-HasOutputVar::{{PAGENAME}}]]
   |mainlabel= Variabele
   |mainlabel= Variabele
   |?HasDescription=Description
   |?HasDescription=Description
   |?-HasInputVar=Is used in
   |?HasVariableType=Type
   |format=template
   |link=none
   |template=StyleParameterTemplate
   |sort=HasVariableType
   |headers=plain
   |order=desc
   |intro=<div class="StandardTableHeader IOP_Outputs"><h3>Model variable to model</h3><table class="StandardTable IOP_VariablesTable  sortable smwtable jquery-tablesorter"><tr class="StandardTableHeaderRow"><th class="headerSort IOPTemplateTd1">'''Model variable'''</th><th class="headerSort IOPTemplateTd2">'''Description'''</th><th class="headerSort IOPTemplateTd3" >'''Is used in'''</th></tr>
   |format=Plainlist
   |outro=</table></div>
  |template=ComponentOutputTemplate
}}
   |intro={{TableIntroTemplate|20%|IMAGE model variables|60%|Description|20%|Use}}
{{#ask:[[Category:Variable]][[HasVariableType::model (end-indicator)]][[-HasOutputVar::{{PAGENAME}}]]
   |outro=</table>
  |mainlabel= Variabele
   }}
  |?HasDescription=Description
|}}</includeonly>
  |format=template
  |template=StyleParameterTemplate
   |headers=plain
  |intro=<div class="StandardTableHeader IOP_Outputs"><h3>Model variable, end-indicator</h3><table class="StandardTable IOP_VariablesTable    sortable smwtable jquery-tablesorter"><tr class="StandardTableHeaderRow"><th class="headerSort IOPTemplateTd1">'''Model variable'''</th><th class="headerSort IOPTemplateTd2">'''Description'''</th> </tr>
   |outro=</table></div>
}}
 
|Hij zou dit niet moeten tikken! TEnzij hij geen output heeft...
}}
</includeonly>

Latest revision as of 10:18, 20 March 2020