Template:InputOutputParameterTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
 
(198 intermediate revisions by 5 users not shown)
Line 1: Line 1:
__NOEDITSECTION__
<includeonly>__NOEDITSECTION__{{#ifexpr:
===Inputs===
{{PropertyTestTemplate|prop=HasInputVar|page={{FULLPAGENAME}} }}+
{{#ask: [[Category:Input]][[HasComponent::{{#titleparts: {{BASEPAGENAME}} | 1 }}]]
{{PropertyTestTemplate|prop=HasParameter|page={{FULLPAGENAME}} }}+
|?HasLabel
{{PropertyTestTemplate|prop=HasOutputVar|page={{FULLPAGENAME}} }}> 0
|?HasPurpose
|<h2>Input/Output Table</h2><p>Input {{FULLPAGENAME}} component </p>
|?HasReferenceComponent
|}}
|format=template
{{#ifexpr: {{PropertyTestTemplate|prop=HasInputVar|page={{FULLPAGENAME}} }}>0
|template=FormatTableTemplate
|{{#ask:[[Category:Variable]][[-HasInputVar::{{FULLPAGENAME}}]]
|intro={{TableStyleTemplate}}<td style="width: 15%"><b>Input</b></td><td style="width: 35%"><b>Description</b></td><td style="width: 35%"><b>Purpose</b></td><td style="width: 15%"><b>Has source</b></td></tr>
  |mainlabel=
|default=''No inputs defined''
  |?HasDescription=Description
|outro=</table>
  |?HasVariableType=Type
}}
  |link=none
 
  |sort=HasVariableType
===Outputs===
  |format=Plainlist
{{#ask: [[Category:Output]][[HasComponent::{{#titleparts: {{BASEPAGENAME}} | 1 }}]]
  |template=ComponentInputTemplate
|?HasLabel=Output
  |intro={{TableIntroTemplate|20%|IMAGE model drivers and variables|60%|Description|20%|Source}}
|?HasPurpose=Purpose
  |outro=</table>
|?HasReferenceComponent=Has target
  }}
|format=table
|}}{{#ifexpr:{{PropertyTestTemplate|prop=HasParameter|page={{FULLPAGENAME}} }}>0
|template=FormatTableTemplate
|{{#ask:[[Category:Variable]][[HasVariableType::external parameter]][[-HasParameter::{{FULLPAGENAME}}]]
|intro={{TableStyleTemplate}}<td style="width: 15%"><b>Output</b></td><td style="width: 35%"><b>Description</b></td><td style="width: 35%"><b>Purpose</b></td><td style="width: 15%"><b>Has target</b></td></tr>
  |mainlabel= Parameter
|default=''No outputs defined''
  |?HasDescription=Description
|outro=</table>
  |?HasSource=Source
}}
  |?HasValuesBasedOn = basedon
 
  |format=Plainlist
===Assumptions===
  |template=ComponentParameterTemplate
{{#ask: [[Category:Assumption]][[HasComponent::{{#titleparts: {{BASEPAGENAME}} | 1 }}]]
  |intro={{TableIntroTemplate|20%|External datasets|60%|Description|20%|Source}}
|?HasLabel=Label
  |outro=</table>
|?HasPurpose=Purpose
  }}
|?HasReferenceComponent=Is related with
|}}{{#ifexpr:{{PropertyTestTemplate|prop=HasOutputVar|page={{FULLPAGENAME}} }}>0
|format=template
|<p>Output {{FULLPAGENAME}} component</p>
|template=FormatTableTemplate
{{#ask:[[Category:Variable]][[-HasOutputVar::{{FULLPAGENAME}}]]
|intro={{TableStyleTemplate}}<td style="width: 15%"><b>Assumption</b></td><td style="width: 35%"><b>Description</b></td><td style="width: 35%"><b>Purpose</b></td><td style="width: 15%"><b>Is related to</b></td></tr>
  |mainlabel= Variabele
|default=''No assumptions defined''
  |?HasDescription=Description
|outro=</table>
  |?HasVariableType=Type
}}
  |link=none
  |sort=HasVariableType
  |order=desc
  |format=Plainlist
  |template=ComponentOutputTemplate
  |intro={{TableIntroTemplate|20%|IMAGE model variables|60%|Description|20%|Use}}
  |outro=</table>
  }}
|}}</includeonly>

Latest revision as of 09:18, 20 March 2020