Template:InputOutputParameterTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
 
(137 intermediate revisions by 5 users not shown)
Line 1: Line 1:
__NOEDITSECTION__
<includeonly>__NOEDITSECTION__{{#ifexpr:
{{#ifexpr:
{{PropertyTestTemplate|prop=HasInputVar|page={{FULLPAGENAME}} }}+
  {{#ask:[[Category:Variable]][[HasVariableType::driver]][[-HasInputVar::{{PAGENAME}}]]|format=count}} or
{{PropertyTestTemplate|prop=HasParameter|page={{FULLPAGENAME}} }}+
  {{#ask:[[Category:Variable]][[HasVariableType::model]][[-HasInputVar::{{PAGENAME}}]]|format=count}} or
{{PropertyTestTemplate|prop=HasOutputVar|page={{FULLPAGENAME}} }}> 0
  {{#ask:[[Category:Variable]][[HasVariableType::parameter]][[-HasParameter::{{PAGENAME}}]]|format=count}} or
|<h2>Input/Output Table</h2><p>Input {{FULLPAGENAME}} component </p>
  {{#ask:[[Category:Variable]][[HasVariableType::model]][[-HasOutputVar::{{PAGENAME}}]]|format=count}}
|}}
|<h2>Links to other parts of IMAGE framework</h2><h2>Inputs</h2>|}}{{DriverGroupTemplate|{{PAGENAME}}|Population projections}}{{DriverGroupTemplate|{{PAGENAME}}|Economic development}}{{DriverGroupTemplate|{{PAGENAME}}|Trade regimes, tariffs and barriers}}{{DriverGroupTemplate|{{PAGENAME}}|Environmental and other policies}}{{DriverGroupTemplate|{{PAGENAME}}|Technological change in the energy system}}{{DriverGroupTemplate|{{PAGENAME}}|Energy resources}}{{DriverGroupTemplate|{{PAGENAME}}|Technological change in agriculture and forestry}}{{DriverGroupTemplate|{{PAGENAME}}|Lifestyle parameters}}
{{#ifexpr: {{PropertyTestTemplate|prop=HasInputVar|page={{FULLPAGENAME}} }}>0
{{#ask:[[Category:Variable]][[HasVariableType::parameter]][[-HasParameter::{{PAGENAME}}]]
|{{#ask:[[Category:Variable]][[-HasInputVar::{{FULLPAGENAME}}]]
|mainlabel= Parameter
  |mainlabel=
|?HasDescription=Description
  |?HasDescription=Description
|?HasSource=Source
  |?HasVariableType=Type
|format=template
  |link=none
|template=StyleParameterTemplate
  |sort=HasVariableType
|headers=plain
  |format=Plainlist
|intro=<div style="float:left; width:100%"><h3>Parameter</h3><table style="border-collapse:collapse;width:100%"><tr style="border-bottom:1px solid black; border-top:1px solid black; padding:5px 10px 5px 10px; text-align:center; background-color:#e9e9e9"><td style="width:20%">'''Parameter'''</td><td style="width:50%">'''Description'''</td><td style="width:30%" >'''From source'''</td></tr>
  |template=ComponentInputTemplate
|outro=</table><br/><br/><br/></div>
  |intro={{TableIntroTemplate|20%|IMAGE model drivers and variables|60%|Description|20%|Source}}
}}
  |outro=</table>
{{#ask:[[Category:Variable]][[HasVariableType::model]][[-HasInputVar::{{PAGENAME}}]]
  }}
|mainlabel=Variabele
|}}{{#ifexpr:{{PropertyTestTemplate|prop=HasParameter|page={{FULLPAGENAME}} }}>0
|?HasDescription=Description
|{{#ask:[[Category:Variable]][[HasVariableType::external parameter]][[-HasParameter::{{FULLPAGENAME}}]]
|?-HasOutputVar=Output of
  |mainlabel= Parameter
|format=template
  |?HasDescription=Description
|template=StyleParameterTemplate
  |?HasSource=Source
|headers=plain
  |?HasValuesBasedOn = basedon
|intro=<div style="float:left; width:100%"><h3>Model variables</h3><table style="border-collapse:collapse;width:100%"><tr style="border-bottom:1px solid black; border-top:1px solid black; padding:5px 10px 5px 10px; text-align:center; background-color:#e9e9e9"><td style="width:20%">'''Model variable'''</td><td style="width:50%">'''Description'''</td><td style="width:30%" >'''Output of'''</td></tr>
  |format=Plainlist
|outro=</table><br/><br/><br/></div>
  |template=ComponentParameterTemplate
}}
  |intro={{TableIntroTemplate|20%|External datasets|60%|Description|20%|Source}}
{{#ask:[[Category:Variable]][[HasVariableType::model]][[-HasOutputVar::{{PAGENAME}}]]
  |outro=</table>
|mainlabel= Variabele
  }}
|?HasDescription=Description
|}}{{#ifexpr:{{PropertyTestTemplate|prop=HasOutputVar|page={{FULLPAGENAME}} }}>0
|?-HasInputVar=Used in
|<p>Output {{FULLPAGENAME}} component</p>
|format=template
{{#ask:[[Category:Variable]][[-HasOutputVar::{{FULLPAGENAME}}]]
|template=StyleParameterTemplate
  |mainlabel= Variabele
|headers=plain
  |?HasDescription=Description
|intro=<div style="float:left; width:100%;"><h2>Outputs</h2><table style="border-collapse:collapse;width:100%"><tr style="border-bottom:1px solid black; border-top:1px solid black; padding:5px 10px 5px 10px; text-align:center; background-color:#e9e9e9"><td style="width:20%">'''Model variable'''</td><td style="width:50%">'''Description'''</td><td style="width:30%" >'''Used in'''</td></tr>
  |?HasVariableType=Type
|outro=</table><br/><br/><br/></div>
  |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