Template:InputOutputParameterTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
m (Text replace - "IntroTableTemplate" to "TableIntroTemplate")
No edit summary
 
(46 intermediate revisions by 2 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
  {{#ask:[[Category:Variable]][[HasVariableType::external model]][[-HasInputVar::{{PAGENAME}}]]|format=count}}
|<h2>Inputs</h2>
|}}
|}}
{{#ifexpr: {{#ask:[[Category:Variable]][[HasVariableType::driver]][[-HasInputVar::{{PAGENAME}}]]|format=count}}
{{#ifexpr: {{PropertyTestTemplate|prop=HasInputVar|page={{FULLPAGENAME}} }}>0
  |{{DriverGroupTemplate|{{PAGENAME}} |}}  
|{{#ask:[[Category:Variable]][[-HasInputVar::{{FULLPAGENAME}}]]
|}}
   |mainlabel=
{{#ifexpr: {{#ask:[[Category:Variable]][[HasVariableType::model (from/to model)]][[-HasInputVar::{{PAGENAME}}]]|format=count}}
|{{#ask:[[Category:Variable]][[HasVariableType::model (from/to model)]][[-HasInputVar::{{PAGENAME}}]]
   |mainlabel=Variabele
   |?HasDescription=Description
   |?HasDescription=Description
   |?-HasOutputVar=Is output of
   |?HasVariableType=Type
   |userparam=3col
   |link=none
   |format=template
  |sort=HasVariableType
   |template=TableStandardRowTemplate
   |format=Plainlist
   |intro={{TableIntroTemplate|20%|IMAGE model variables|60%|Description|20%|Is output of}}
   |template=ComponentInputTemplate
   |intro={{TableIntroTemplate|20%|IMAGE model drivers and variables|60%|Description|20%|Source}}
   |outro=</table>
   |outro=</table>
   }}
   }}
|}}
|}}{{#ifexpr:{{PropertyTestTemplate|prop=HasParameter|page={{FULLPAGENAME}} }}>0
{{#ifexpr: {{#ask:[[Category:Variable]][[HasVariableType::external model]][[-HasInputVar::{{PAGENAME}}]]|format=count}}
|{{#ask:[[Category:Variable]][[HasVariableType::external parameter]][[-HasParameter::{{FULLPAGENAME}}]]
|{{#ask:[[Category:Variable]][[HasVariableType::external model]][[-HasInputVar::{{PAGENAME}}]]
  |mainlabel=Variabele
  |?HasDescription=Description
  |?HasSource=Source
  |userparam=3col
  |format=template
  |template=TableStandardRowTemplate
  |intro={{TableIntroTemplate|20%|External models|60%|Description|20%|Source}}
  |outro=</table>
  }}
|}}
{{#ifexpr:{{#ask:[[Category:Variable]][[HasVariableType::parameter]][[-HasParameter::{{PAGENAME}}]]|format=count}}
|{{#ask:[[Category:Variable]][[HasVariableType::parameter]][[-HasParameter::{{PAGENAME}}]]
   |mainlabel= Parameter
   |mainlabel= Parameter
   |?HasDescription=Description
   |?HasDescription=Description
   |?HasSource=Source
   |?HasSource=Source
   |?HasValuesBasedOn = basedon
   |?HasValuesBasedOn = basedon
  |userparam=3col
   |format=Plainlist
   |format=template
   |template=ComponentParameterTemplate
   |template=TableMergedColumn3and4Template
   |intro={{TableIntroTemplate|20%|External datasets|60%|Description|20%|Source}}
   |intro={{TableIntroTemplate|20%|Parameters|60%|Description|20%|Source}}
   |outro=</table>
   |outro=</table>
   }}
   }}
|}}
|}}{{#ifexpr:{{PropertyTestTemplate|prop=HasOutputVar|page={{FULLPAGENAME}} }}>0
{{#ifexpr: {{#ask:[[Category:Variable]][[HasVariableType::historical variable]][[-HasInputVar::{{PAGENAME}}]]|format=count}}
|<p>Output {{FULLPAGENAME}} component</p>
|{{#ask:[[Category:Variable]][[HasVariableType::historical variable]][[-HasInputVar::{{PAGENAME}}]]
{{#ask:[[Category:Variable]][[-HasOutputVar::{{FULLPAGENAME}}]]
   |mainlabel= historical variable
   |mainlabel= Variabele
   |?HasDescription=Description
   |?HasDescription=Description
   |?HasSource=Source
   |?HasVariableType=Type
   |userparam=3col
   |link=none
   |format=template
  |sort=HasVariableType
   |template=TableStandardRowTemplate
  |order=desc
   |intro={{TableIntroTemplate|20%|Historical variable|60%|Description|20%|Source}}
   |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>
|}}
{{#ifexpr: {{#ask:[[Category:Variable]][[HasVariableType::model (from/to model)]][[-HasOutputVar::{{PAGENAME}}]]|format=count}}
|{{#ask:[[Category:Variable]][[HasVariableType::model (from/to model)]][[-HasOutputVar::{{PAGENAME}}]]
  |mainlabel= Variabele
  |?HasDescription=Description
  |?-HasInputVar=Is used in
  |userparam=3col
  |format=template
  |template=TableStandardRowTemplate
  |intro={{TableIntroTemplate|20%|IMAGE model variables|60%|Description|20%|Is used in}}
  |outro=</table>
  }}|}}{{#ifexpr: {{#ask:[[Category:Variable]][[HasVariableType::model (end-indicator)]][[-HasOutputVar::{{PAGENAME}}]]|format=count}}|{{#ask:[[Category:Variable]][[HasVariableType::model (end-indicator)]][[-HasOutputVar::{{PAGENAME}}]]
  |mainlabel= Variabele
  |?HasDescription=Description
  |userparam=2col
  |format=template
  |template=TableStandardRowTemplate
  |intro={{TableIntroTemplate|20%|End-indicators|80%|Description}}
  |outro=</table>
  }}|}}
</includeonly>

Latest revision as of 10:18, 20 March 2020