Template:InputOutputParameterTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
m (Text replace - "historical model" to "historical variable")
No edit summary
 
(73 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 variable]][[-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=
<h3>Model variables from model</h3>{{#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
   |intro={{IntroTableTemplate|10%|Model variable|70%|Description|20%|Is output of}}
   |format=Plainlist
   |template=ComponentInputTemplate
   |intro={{TableIntroTemplate|20%|IMAGE model drivers and variables|60%|Description|20%|Source}}
   |outro=</table>
   |outro=</table>
}}<h3>Parameters</h3>{{#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=StandardTableRowTemplate
   |format=Plainlist
   |intro={{IntroTableTemplate|10%|Parameter|70%|Description|20%|From source}}
   |template=ComponentParameterTemplate
   |intro={{TableIntroTemplate|20%|External datasets|60%|Description|20%|Source}}
   |outro=</table>
   |outro=</table>
}}
  }}
<h3>historical variable</h3>{{#ask:[[Category:Variable]][[HasVariableType::historical variable]][[-HasInputVar::{{PAGENAME}}]]
|}}{{#ifexpr:{{PropertyTestTemplate|prop=HasOutputVar|page={{FULLPAGENAME}} }}>0
   |mainlabel= historical variable
|<p>Output {{FULLPAGENAME}} component</p>
{{#ask:[[Category:Variable]][[-HasOutputVar::{{FULLPAGENAME}}]]
   |mainlabel= Variabele
   |?HasDescription=Description
   |?HasDescription=Description
   |?HasSource=Source
   |?HasVariableType=Type
   |format=template
  |link=none
   |template=StandardTableRowTemplate
  |sort=HasVariableType
   |intro={{IntroTableTemplate|10%|historical variable|70%|Description|20%|From source}}
  |order=desc
   |format=Plainlist
   |template=ComponentOutputTemplate
   |intro={{TableIntroTemplate|20%|IMAGE model variables|60%|Description|20%|Use}}
   |outro=</table>
   |outro=</table>
}}
   }}
|
|}}</includeonly>
}}
{{#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
  |?HasDescription=Description
  |?-HasInputVar=Is used in
  |format=template
  |template=StyleParameterTemplate
  |headers=plain
  |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>
  |outro=</table></div>
}}
{{#ask:[[Category:Variable]][[HasVariableType::model (end-indicator)]][[-HasOutputVar::{{PAGENAME}}]]
  |mainlabel= Variabele
  |?HasDescription=Description
  |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