Template:InputOutputParameterTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
 
(204 intermediate revisions by 5 users not shown)
Line 1: Line 1:
__NOEDITSECTION__
<includeonly>__NOEDITSECTION__{{#ifexpr:
===Inputs===
{{PropertyTestTemplate|prop=HasInputVar|page={{FULLPAGENAME}} }}+
<table style="width:100%;border: solid 0px #777C00; margin:0.5em 0.0em 0.5em 0.5em;">
{{PropertyTestTemplate|prop=HasParameter|page={{FULLPAGENAME}} }}+
<tr style="color:#000000; background-color:#EBEBD9;"><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>
{{PropertyTestTemplate|prop=HasOutputVar|page={{FULLPAGENAME}} }}> 0
{{#ask: [[Category:Input]][[HasComponent::{{#titleparts: {{BASEPAGENAME}} | 1 }}]]
|<h2>Input/Output Table</h2><p>Input {{FULLPAGENAME}} component </p>
|?HasLabel
|}}
|?HasPurpose
{{#ifexpr: {{PropertyTestTemplate|prop=HasInputVar|page={{FULLPAGENAME}} }}>0
|?HasReferenceComponent
|{{#ask:[[Category:Variable]][[-HasInputVar::{{FULLPAGENAME}}]]
|format=template
  |mainlabel=
|template=FormatTableTemplate
  |?HasDescription=Description
|default=<tr><td colspan=4>''No inputs defined''</td></tr>
  |?HasVariableType=Type
}}
  |link=none
</table>
  |sort=HasVariableType
 
  |format=Plainlist
===Outputs===
  |template=ComponentInputTemplate
<table style="width:100%;border: solid 0px #777C00; margin:0.5em 0.0em 0.5em 0.5em;">
  |intro={{TableIntroTemplate|20%|IMAGE model drivers and variables|60%|Description|20%|Source}}
<tr style="color:#000000; background-color:#EBEBD9;"><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>
  |outro=</table>
{{#ask: [[Category:Output]][[HasComponent::{{#titleparts: {{BASEPAGENAME}} | 1 }}]]
  }}
|?HasLabel=Output
|}}{{#ifexpr:{{PropertyTestTemplate|prop=HasParameter|page={{FULLPAGENAME}} }}>0
|?HasPurpose=Purpose
|{{#ask:[[Category:Variable]][[HasVariableType::external parameter]][[-HasParameter::{{FULLPAGENAME}}]]
|?HasReferenceComponent=Has target
  |mainlabel= Parameter
|format=template
  |?HasDescription=Description
|template=FormatTableTemplate
  |?HasSource=Source
|default=<tr><td colspan=4>''No inputs defined''</td></tr>
  |?HasValuesBasedOn = basedon
}}
  |format=Plainlist
</table>
  |template=ComponentParameterTemplate
 
  |intro={{TableIntroTemplate|20%|External datasets|60%|Description|20%|Source}}
===Assumptions===
  |outro=</table>
<table style="width:100%;border: solid 0px #777C00; margin:0.5em 0.0em 0.5em 0.5em;">
  }}
<tr style="color:#000000; background-color:#EBEBD9;"><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 with</b></td></tr>
|}}{{#ifexpr:{{PropertyTestTemplate|prop=HasOutputVar|page={{FULLPAGENAME}} }}>0
{{#ask: [[Category:Assumption]][[HasComponent::{{#titleparts: {{BASEPAGENAME}} | 1 }}]]
|<p>Output {{FULLPAGENAME}} component</p>
|?HasLabel=Label
{{#ask:[[Category:Variable]][[-HasOutputVar::{{FULLPAGENAME}}]]
|?HasPurpose=Purpose
  |mainlabel= Variabele
|?HasReferenceComponent=Is related with
  |?HasDescription=Description
|format=template
  |?HasVariableType=Type
|template=FormatTableTemplate
  |link=none
|default=<tr><td colspan=4>''No inputs defined''</td></tr>
  |sort=HasVariableType
}}
  |order=desc
</table>
  |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