Template:ComponentTemplate2: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
 
No edit summary
(235 intermediate revisions by 5 users not shown)
Line 6: Line 6:
|Application=
|Application=
|IMAGEComponent=
|IMAGEComponent=
|ExternalModel=
|Model-Database=
|KeyReference=
|KeyReference=
|Reference=
|Reference=
|Description=
|Description=
|Flowchart=
|AltText=
|CaptionText=
}}
}}
</pre>
</pre>
Edit the page to see the template text.
Steps in this template:
</noinclude><includeonly>
# Icon en De subpages van deze pagina ophalen en weergeven in toc  style plus de toc
__NOEDITSECTION__
# De InfoboxTemplate aanroep
{{#ifexpr:{{InfoboxTestTemplate|basepage={{#titleparts: {{PAGENAME}}|1}}|subpage={{#titleparts: {{PAGENAME}}|1|2}} }}|
# De flowchart
<div style="float:right; clear:right; ">
# We beginnen de Component-beschrijving met de KeyPolicyQuestions
<table style="width:250px;border: solid 1px #777C00; color:#000000; background-color:#EBEBD9; margin:0.5em 0.0em 0.5em 0.5em;">
#  description
{{#ifeq:{{{IMAGEComponent|}}}|||<tr><td style="vertical-align:top; background-color:#777C00; padding-right: 6px; padding-top: 3px; padding-bottom: 1px; color:#EDEBD9;" align="center" ><b>IMAGE components</b></td></tr>
# De input and outputs
<tr><td>
# De parts of the component again
<ul>
</noinclude><includeonly><div class="top_container">{{IconTemplate| {{PAGENAME}}}}
{{#arraymap:{{{IMAGEComponent|}}}|;|x|[[HasIMAGEComponent::x]]}}
{{ContentPartsTemplate|PagePartHeader=Parts of {{FULLPAGENAME}} }}
</ul>
__TOC____NOEDITSECTION__
</td></tr>
<!--step 2--></div><div class="container">{{InfoBoxTemplate}}<!--step 3-->{{DisplayFlowchartTemplate|{{PAGENAME}} }}<!--step 4--><div class="page_standard">
}}
{{DisplayKeyPolicyQuestionsTemplate|{{PAGENAME}} }}<!--step 5-->  
{{#ifeq:{{{Application|}}}|||<tr><td style="vertical-align:top; background-color:#777C00; padding-right: 6px; padding-top: 3px; padding-bottom: 1px; color:#EDEBD9;" align="center" ><b>Applications</b></td></tr>
{{#ifeq:{{{Description|}}}|||<h2>Introduction</h2>
<tr><td>
{{{Description|}}}
<ul>
</div></div>
{{#arraymap:{{{Application|}}}|;|x|[[HasApplication::x]]}}
}}<!--Step 6-->
</ul>
{{InputOutputParameterTemplate}}<!--Step 7-->
</td></tr>
{{ContentPartsTemplate|PagePartHeader=Parts of {{FULLPAGENAME}} }}<!--Below, a number of properties is set
}}
-->[[Category:Component]]<!--
{{#ifeq:{{{ExternalModel|}}}|||<tr><td style="vertical-align:top; background-color:#777C00; padding-right: 6px; padding-top: 3px; padding-bottom: 1px; color:#EDEBD9;" align="center" ><b>External models</b></td></tr>
properties from form
<tr><td>
-->{{#ifeq:{{{FrameworkElementType|}}}|||{{#set:FrameworkElementType={{{FrameworkElementType|}}} }} }}<!--
<ul>
-->{{#ifeq:{{{AggregatedComponent|}}}|||{{#set:BelongsToAggregatedComponent={{{AggregatedComponent|}}} }} }}<!--
{{#arraymap:{{{ExternalModel|}}}|;|y|[[HasExternalModel::y]]}}
-->{{#ifeq:{{{InputVar|}}}|||{{#arraymap:{{{InputVar|}}}|;|xx|{{#set:HasInputVar=xx }} }} }}<!--
</ul>
-->{{#ifeq:{{{OutputVar|}}}|||{{#arraymap:{{{OutputVar|}}}|;|xx|{{#set:HasOutputVar=xx}} }} }}<!--
</td></tr>
-->{{#ifeq:{{{Parameter|}}}|||{{#arraymap:{{{Parameter|}}}|;|xx|{{#set:HasParameter=xx}} }} }} <!--
}}
-->{{#ifeq:{{{Overview|}}}|||{{#arraymap:{{{Overview|}}}|;|xx|{{#set:HasOverview=xx}} }} }} <!--
{{#ifeq:{{{KeyReference|}}}|||
-->{{#ifeq:{{{IMAGEComponent|}}}|||{{#arraymap:{{{IMAGEComponent|}}}|;|xx|{{#set:HasIMAGEComponent=xx}} }} }}<!--
<tr><td style="vertical-align:top; background-color:#777C00; padding-right: 6px; padding-top: 3px; padding-bottom: 1px; color:#EDEBD9;" align="center" ><b>Key references</b></td></tr>
-->{{#ifeq:{{{Application|}}}|||{{#arraymap:{{{Application|}}}|;|xx|{{#set:HasApplication=xx}} }} }}<!--
<tr><td>
-->{{#ifeq:{{{Model-Database|}}}|||{{#arraymap:{{{Model-Database|}}}|;|xx|{{#set:HasModelDatabase=xx}} }} }}<!--
<ul>
-->{{#ifeq:{{{KeyReference|}}}|||{{#arraymap:{{{KeyReference|}}}|;|xx|{{#set:HasKeyReference=xx}} }} }}<!--
{{#arraymap:{{{KeyReference|}}}|;|x|[[HasKeyReference::x]]}}
-->{{#ifeq:{{{Reference|}}}|||{{#arraymap:{{{KeyReference|}}}|;|xx|{{#set:HasReference=xx}} }} }}<!--
</ul>
properties for component structure
</td></tr>
-->{{#set:HasPageLabel=Introduction page}} <!--
}}
-->{{#set:HasDetailedDescription={{FULLPAGENAME}}/Description}}<!--
{{#ifeq:{{{Reference|}}}|||<tr><td style="vertical-align:top; background-color:#777C00; padding-right: 6px; padding-top: 3px; padding-bottom: 1px; color:#EDEBD9;" align="center" ><b>References</b></td></tr>
-->{{#set:HasPolicyIntervention={{FULLPAGENAME}}/Policy issues}}<!--
<tr><td>
-->{{#set:HasDataLimitations={{FULLPAGENAME}}/Data_uncertainties_limitations}}<!--
<ul>
-->{{#set:HasAllReferences={{FULLPAGENAME}}/References}}<!--
{{#arraymap:{{{Reference|}}}|;|x|[[HasReference::x]]}}
other properties
</ul>
-->{{#set:HasTitle={{PAGENAME}} }} <!--
</td></tr>
HasTitle is used where?
}}
-->{{#set:HasComponentCode={{{ComponentCode|}}} }}</includeonly>
</table>
</div>
|}}
 
{{#ifeq:{{{Description|}}}|||
<h2>Introduction</h2><!--  
Just to visualize the framework scheme with active component, must be implemented yet, maybe implement link to componentoverview page?-->
{{#ifeq:{{{Flowchart|}}}||| [[File:IMAGEFramework ec.png|120px|left|alt=Framework scheme with {{PAGENAME}} selected ]]}}
{{#ifeq:{{{Flowchart|}}}||| [[File:{{{Flowchart|}}}|thumb|240px|right|alt={{{AltText|}}}|{{{CaptionText}}}]]}}{{{Description|}}}
}}
== Links to other parts of IMAGE framework ==
{{InputOutputAssumptionTemplate}}
 
== Main pages of {{PAGENAME}}==
Detailed information can be found on the following pages:
* [[{{PAGENAME}}/Description|Detailed description]] for a detailed description of this component
* [[{{PAGENAME}}/Policy Interventions|Policy interventions]] for policy interventions and illustrated effects
* [[{{PAGENAME}}/Data_uncertainties_limitations|Data uncertainties and limitations]] for details about data, uncertainty and limitations
 
To overview of all [[{{PAGENAME}}/References|references]].
 
 
 
[[Category:Component]]
[[HasTitle::{{PAGENAME}}| ]]
[[HasAltTitle::{{{AltText|}}}| ]]
[[HasCaption::{{{CaptionText|}}}| ]]
[[HasFlowchart::{{{Flowchart|}}}| ]]
 
</includeonly>

Revision as of 07:48, 1 August 2017

This is the "ComponentTemplate2" template. It should be called in the following format:

{{ComponentTemplate2
|Application=
|IMAGEComponent=
|Model-Database=
|KeyReference=
|Reference=
|Description=
}}

Steps in this template:

  1. Icon en De subpages van deze pagina ophalen en weergeven in toc style plus de toc
  2. De InfoboxTemplate aanroep
  3. De flowchart
  4. We beginnen de Component-beschrijving met de KeyPolicyQuestions
  5. description
  6. De input and outputs
  7. De parts of the component again