Template:InputOutputParameterTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
 
(97 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: {{PropertyTestTemplate|prop=HasInputVar|page={{FULLPAGENAME}} }}>0
{{#ifexpr:
|{{#ask:[[Category:Variable]][[-HasInputVar::{{FULLPAGENAME}}]]
  {{#ask:[[Category:Variable]][[HasVariableType::driver]][[-HasInputVar::{{PAGENAME}}]]|format=count}} or
  |mainlabel=
  {{#ask:[[Category:Variable]][[HasVariableType::model (from/to model)]][[-HasInputVar::{{PAGENAME}}]]|format=count}} or
  |?HasDescription=Description
   {{#ask:[[Category:Variable]][[HasVariableType::parameter]][[-HasParameter::{{PAGENAME}}]]|format=count}} or
   |?HasVariableType=Type
   {{#ask:[[Category:Variable]][[HasVariableType::historical model]][[-HasInputVar::{{PAGENAME}}]]|format=count}} or
  |link=none
   {{#ask:[[Category:Variable]][[HasVariableType::external model]][[-HasInputVar::{{PAGENAME}}]]|format=count}}
   |sort=HasVariableType  
|<h2>LALALALALLALa</h2>
  |format=Plainlist
ik tik hier even iets
  |template=ComponentInputTemplate
|<h2>neeeee</h2>
   |intro={{TableIntroTemplate|20%|IMAGE model drivers and variables|60%|Description|20%|Source}}
ik tik hier even iets STOMS, want het werkt niet!
  |outro=</table>
}}
  }}
 
|}}{{#ifexpr:{{PropertyTestTemplate|prop=HasParameter|page={{FULLPAGENAME}} }}>0
 
|{{#ask:[[Category:Variable]][[HasVariableType::external parameter]][[-HasParameter::{{FULLPAGENAME}}]]
 
  |mainlabel= Parameter
{{#ifexpr:
  |?HasDescription=Description
  {{#ask:[[Category:Variable]][[HasVariableType::model (from/to model)]][[-HasOutputVar::{{PAGENAME}}]]|format=count}} or
  |?HasSource=Source
  {{#ask:[[Category:Variable]][[HasVariableType::model (end-indicator)]][[-HasOutputVar::{{PAGENAME}}]]|format=count}}
  |?HasValuesBasedOn = basedon
|<h2>Outputs</h2>
  |format=Plainlist
Dit zijn de outputs:
  |template=ComponentParameterTemplate
|<h2>GEEN outputs</h2>
  |intro={{TableIntroTemplate|20%|External datasets|60%|Description|20%|Source}}
Dit niet
  |outro=</table>
}}
  }}
 
|}}{{#ifexpr:{{PropertyTestTemplate|prop=HasOutputVar|page={{FULLPAGENAME}} }}>0
{{#ask:[[Category:Variable]][[HasVariableType::model (from/to model)]][[-HasOutputVar::{{PAGENAME}}]]
|<p>Output {{FULLPAGENAME}} component</p>
|mainlabel= Variabele
{{#ask:[[Category:Variable]][[-HasOutputVar::{{FULLPAGENAME}}]]
|?HasDescription=Description
  |mainlabel= Variabele
|?-HasInputVar=Used in
  |?HasDescription=Description
|format=template
  |?HasVariableType=Type
|template=StyleParameterTemplate
  |link=none
|headers=plain
  |sort=HasVariableType
|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>
  |order=desc
|outro=</table></div>
  |format=Plainlist
}}
  |template=ComponentOutputTemplate
{{#ask:[[Category:Variable]][[HasVariableType::model (end-indicator)]][[-HasOutputVar::{{PAGENAME}}]]
  |intro={{TableIntroTemplate|20%|IMAGE model variables|60%|Description|20%|Use}}
|mainlabel= Variabele
  |outro=</table>
|?HasDescription=Description
  }}
|format=template
|}}</includeonly>
|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>
}}
</includeonly>

Latest revision as of 09:18, 20 March 2020