Template:InputOutputParameterTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
 
(92 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
  {{#ask:[[Category:Variable]][[HasVariableType::external model]][[-HasInputVar::{{PAGENAME}}]]|format=count}}
|<h2>Inputs</h2>{{DriverGroupTemplate|{{PAGENAME}}}}
{{#ask:[[Category:Variable]][[HasVariableType::model (from/to model)]][[-HasInputVar::{{PAGENAME}}]]
|mainlabel=Variabele
|?HasDescription=Description
|?-HasOutputVar=Output of
|format=template
|template=StyleParameterTemplate
|headers=plain
|intro=<div class="StandardTableHeader IOP_Inputs"><h3>Model variables from model</h3><table class="StandardTable IOP_InputsTable  sortable smwtable jquery-tablesorter"><tr class="StandardTableHeaderRow"><th class="headerSort IOPTemplateTd1">'''Model variable'''</th><th class="headerSort IOPTemplateTd2">'''Description'''</th><th class="headerSort IOPTemplateTd3" >'''Output of'''</th></tr>
|outro=</table></div>
}}{{#ask:[[Category:Variable]][[HasVariableType::parameter]][[-HasParameter::{{PAGENAME}}]]
|mainlabel= Parameter
|?HasDescription=Description
|?HasSource=Source
|format=template
|template=StyleParameterTemplate
|headers=plain
|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>
|outro=</table></div>
}}
{{#ask:[[Category:Variable]][[HasVariableType::historical model]][[-HasInputVar::{{PAGENAME}}]]
|mainlabel= historical model
|?HasDescription=Description
|?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>
}}
|}}
|}}
<!--{{#ifexpr:
{{#ifexpr: {{PropertyTestTemplate|prop=HasInputVar|page={{FULLPAGENAME}} }}>0
  {{#ask:[[Category:Variable]][[HasVariableType::driver]][[-HasInputVar::{{PAGENAME}}]]|format=count}} or
|{{#ask:[[Category:Variable]][[-HasInputVar::{{FULLPAGENAME}}]]
  {{#ask:[[Category:Variable]][[HasVariableType::model (from/to model)]][[-HasInputVar::{{PAGENAME}}]]|format=count}} or
  |mainlabel=
   {{#ask:[[Category:Variable]][[HasVariableType::parameter]][[-HasParameter::{{PAGENAME}}]]|format=count}} or
  |?HasDescription=Description
   {{#ask:[[Category:Variable]][[HasVariableType::historical model]][[-HasInputVar::{{PAGENAME}}]]|format=count}} or
   |?HasVariableType=Type
   {{#ask:[[Category:Variable]][[HasVariableType::external model]][[-HasInputVar::{{PAGENAME}}]]|format=count}}
  |link=none
|<h2>LALALALALLALa</h2>
   |sort=HasVariableType  
ik tik hier even iets
  |format=Plainlist
|<h2>neeeee</h2>
  |template=ComponentInputTemplate
ik tik hier even iets STOMS, want het werkt niet!
   |intro={{TableIntroTemplate|20%|IMAGE model drivers and variables|60%|Description|20%|Source}}
}}-->
  |outro=</table>
{{#ifexpr:
  }}
  {{#ask:[[Category:Variable]][[HasVariableType::model (from/to model)]][[-HasOutputVar::{{PAGENAME}}]]|format=count}} or
|}}{{#ifexpr:{{PropertyTestTemplate|prop=HasParameter|page={{FULLPAGENAME}} }}>0
  {{#ask:[[Category:Variable]][[HasVariableType::model (end-indicator)]][[-HasOutputVar::{{PAGENAME}}]]|format=count}}
|{{#ask:[[Category:Variable]][[HasVariableType::external parameter]][[-HasParameter::{{FULLPAGENAME}}]]
|<h2>Outputs</h2>{{#ask:[[Category:Variable]][[HasVariableType::model (from/to model)]][[-HasOutputVar::{{PAGENAME}}]]
  |mainlabel= Parameter
|mainlabel= Variabele
  |?HasDescription=Description
|?HasDescription=Description
  |?HasSource=Source
|?-HasInputVar=Used in
  |?HasValuesBasedOn = basedon
|format=template
  |format=Plainlist
|template=StyleParameterTemplate
  |template=ComponentParameterTemplate
|headers=plain
  |intro={{TableIntroTemplate|20%|External datasets|60%|Description|20%|Source}}
|intro=<div class="StandardTableHeader IOP_Outputs"><h3>Model variable with further use</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" >'''Used in'''</th></tr>
  |outro=</table>
|outro=</table></div>
  }}
}}
|}}{{#ifexpr:{{PropertyTestTemplate|prop=HasOutputVar|page={{FULLPAGENAME}} }}>0
{{#ask:[[Category:Variable]][[HasVariableType::model (end-indicator)]][[-HasOutputVar::{{PAGENAME}}]]
|<p>Output {{FULLPAGENAME}} component</p>
|mainlabel= Variabele
{{#ask:[[Category:Variable]][[-HasOutputVar::{{FULLPAGENAME}}]]
|?HasDescription=Description
  |mainlabel= Variabele
|format=template
  |?HasDescription=Description
|template=StyleParameterTemplate
  |?HasVariableType=Type
|headers=plain
  |link=none
|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>
  |sort=HasVariableType
|outro=</table></div>
  |order=desc
}}
  |format=Plainlist
|}}
  |template=ComponentOutputTemplate
</includeonly>
  |intro={{TableIntroTemplate|20%|IMAGE model variables|60%|Description|20%|Use}}
  |outro=</table>
  }}
|}}</includeonly>

Latest revision as of 09:18, 20 March 2020