Template:InputOutputParameterTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
 
(62 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>
   |mainlabel=
|}}{{#ifexpr: {{#ask:[[Category:Variable]][[HasVariableType::driver]][[-HasInputVar::{{PAGENAME}}]]|format=count}}  
  |{{DriverGroupTemplate|{{PAGENAME}} |}}  
|}}{{#ifexpr: {{#ask:[[Category:Variable]][[HasVariableType::model (from/to model)]][[-HasInputVar::{{PAGENAME}}]]|format=count}}
|<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|20%|Model variable|60%|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>
   }}|}}{{#ifexpr:{{#ask:[[Category:Variable]][[HasVariableType::parameter]][[-HasParameter::{{PAGENAME}}]]|format=count}}
   }}
|<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|20%|Parameter|60%|Description|20%|From source}}
   |template=ComponentParameterTemplate
   |intro={{TableIntroTemplate|20%|External datasets|60%|Description|20%|Source}}
   |outro=</table>
   |outro=</table>
   }}
   }}
|}}{{#ifexpr: {{#ask:[[Category:Variable]][[HasVariableType::historical variable]][[-HasInputVar::{{PAGENAME}}]]|format=count}}
|}}{{#ifexpr:{{PropertyTestTemplate|prop=HasOutputVar|page={{FULLPAGENAME}} }}>0
|<h3>Historical variable</h3>{{#ask:[[Category:Variable]][[HasVariableType::historical variable]][[-HasInputVar::{{PAGENAME}}]]
|<p>Output {{FULLPAGENAME}} component</p>
  |mainlabel= historical variable
{{#ask:[[Category:Variable]][[-HasOutputVar::{{FULLPAGENAME}}]]
  |?HasDescription=Description
  |?HasSource=Source
  |format=template
  |template=StandardTableRowTemplate
  |intro={{IntroTableTemplate|20%|historical variable|60%|Description|20%|From source}}
  |outro=</table>
  }}
|}}
 
{{#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>
|
}}
{{#ifexpr: {{#ask:[[Category:Variable]][[HasVariableType::model (from/to model)]][[-HasOutputVar::{{PAGENAME}}]]|format=count}}
|<h3>Model variable to model</h3>{{#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=StandardTableRowTemplate
  |sort=HasVariableType
   |intro={{IntroTableTemplate|20%|Model variable|60%|Description|20%|Is used in}}
  |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 (end-indicator)]][[-HasOutputVar::{{PAGENAME}}]]|format=count}}
|<h3>Model variable, end-indicator</h3>{{#ask:[[Category:Variable]][[HasVariableType::model (end-indicator)]][[-HasOutputVar::{{PAGENAME}}]]
  |mainlabel= Variabele
  |?HasDescription=Description
  |format=template
  |template=StandardTableRowTemplate
  |intro={{IntroTableTemplate|20%|Model variable|80%|Description}}
  |outro=</table>
  }}
|}}
</includeonly>

Latest revision as of 10:18, 20 March 2020