Difference between revisions of "Template:ComponentTemplate2"

From IMAGE
Jump to: navigation, search
 
(47 intermediate revisions by 3 users not shown)
Line 6: Line 6:
 
|Application=
 
|Application=
 
|IMAGEComponent=
 
|IMAGEComponent=
|ExternalModel=
+
|Model-Database=
 
|KeyReference=
 
|KeyReference=
 
|Reference=
 
|Reference=
Line 20: Line 20:
 
# De input and outputs
 
# De input and outputs
 
# De parts of the component again
 
# De parts of the component again
</noinclude><includeonly><!--step 1 -->  
+
</noinclude><includeonly><div class="top_container">{{IconTemplate| {{PAGENAME}}}}
{{IconTemplate| {{PAGENAME}}}}
+
{{ContentPartsTemplate|PagePartHeader=Parts of {{FULLPAGENAME}} }}
{{ContentPartsTemplate|PagePartHeader=Parts of {{PAGENAME}}|subpage=0 }}
+
__TOC____NOEDITSECTION__
__TOC__<br clear="all"/>__NOEDITSECTION__ <!--step 2-->{{InfoBoxTemplate|IMAGEComponent={{{IMAGEComponent|}}}|Application={{{Application|}}}|ExternalModel={{{ExternalModel|}}}|KeyReference={{{KeyReference|}}}|Reference={{{Reference|}}} }}<!--step 3-->{{DisplayFlowchartTemplate|{{PAGENAME}} }}<!--step 4--> {{DisplayKeyPolicyQuestionsTemplate|{{PAGENAME}} }}<!--step 5-->  
+
<!--step 2--></div><div class="container">{{InfoBoxTemplate}}<!--step 3-->{{DisplayFlowchartTemplate|{{PAGENAME}} }}<!--step 4--><div class="page_standard">
 +
{{DisplayKeyPolicyQuestionsTemplate|{{PAGENAME}} }}<!--step 5-->  
 
{{#ifeq:{{{Description|}}}|||<h2>Introduction</h2>
 
{{#ifeq:{{{Description|}}}|||<h2>Introduction</h2>
{{{Description|}}} <br clear="all"/>
+
{{{Description|}}}
 +
</div></div>
 
}}<!--Step 6-->
 
}}<!--Step 6-->
{{InputOutputParameterTemplate}}<br clear="all"><!--Step 7-->
+
{{InputOutputParameterTemplate}}<!--Step 7-->
{{ContentPartsTemplate|PagePartHeader=Parts of {{PAGENAME}}|subpage=0 }}
+
{{ContentPartsTemplate|PagePartHeader=Parts of {{FULLPAGENAME}} }}<!--Below, a number of properties is set  
 
+
-->[[Category:Component]]<!--
<!--Below, a number of properties is set based on the values entered in the form. These properties are relevant for other parts of the wiki but need not be shown to the reader of this page.-->
+
properties from form
[[Category:Component]]
+
-->{{#ifeq:{{{FrameworkElementType|}}}|||{{#set:FrameworkElementType={{{FrameworkElementType|}}} }} }}<!--
[[HasTitle::{{PAGENAME}}| ]]
+
-->{{#ifeq:{{{AggregatedComponent|}}}|||{{#set:BelongsToAggregatedComponent={{{AggregatedComponent|}}} }} }}<!--
{{#ifeq:{{{FrameworkElementType|}}}|||[[FrameworkElementType::{{{FrameworkElementType|}}}| ]] }}
+
-->{{#ifeq:{{{InputVar|}}}|||{{#arraymap:{{{InputVar|}}}|;|xx|{{#set:HasInputVar=xx }} }} }}<!--
 
+
-->{{#ifeq:{{{OutputVar|}}}|||{{#arraymap:{{{OutputVar|}}}|;|xx|{{#set:HasOutputVar=xx}} }} }}<!--
{{#ifeq:{{{AggregatedComponent|}}}|||[[BelongsToAggregatedComponent::{{{AggregatedComponent}}}|]]}}
+
-->{{#ifeq:{{{Parameter|}}}|||{{#arraymap:{{{Parameter|}}}|;|xx|{{#set:HasParameter=xx}} }} }} <!--
[[HasComponentCode::{{{ComponentCode|}}}|]]
+
-->{{#ifeq:{{{Overview|}}}|||{{#arraymap:{{{Overview|}}}|;|xx|{{#set:HasOverview=xx}} }} }} <!--
{{#ifeq:{{{InputVar|}}}|||{{#arraymap:{{{InputVar|}}}|;|x|[[HasInputVar::x| ]]| }} }}
+
-->{{#ifeq:{{{IMAGEComponent|}}}|||{{#arraymap:{{{IMAGEComponent|}}}|;|xx|{{#set:HasIMAGEComponent=xx}} }} }}<!--
{{#ifeq:{{{OutputVar|}}}|||{{#arraymap:{{{OutputVar|}}}|;|x|[[HasOutputVar::x| ]]| }} }}
+
-->{{#ifeq:{{{Application|}}}|||{{#arraymap:{{{Application|}}}|;|xx|{{#set:HasApplication=xx}} }} }}<!--
{{#ifeq:{{{Parameter|}}}|||{{#arraymap:{{{Parameter|}}}|;|x|[[HasParameter::x| ]]| }} }}
+
-->{{#ifeq:{{{Model-Database|}}}|||{{#arraymap:{{{Model-Database|}}}|;|xx|{{#set:HasModelDatabase=xx}} }} }}<!--
[[HasPageLabel::Introduction page| ]]
+
-->{{#ifeq:{{{KeyReference|}}}|||{{#arraymap:{{{KeyReference|}}}|;|xx|{{#set:HasKeyReference=xx}} }} }}<!--
[[HasDetailedDescription::{{PAGENAME}}/Description| ]]
+
-->{{#ifeq:{{{Reference|}}}|||{{#arraymap:{{{KeyReference|}}}|;|xx|{{#set:HasReference=xx}} }} }}<!--
[[HasPolicyIntervention::{{PAGENAME}}/Policy issues| ]]
+
properties for component structure
[[HasDataLimitations::{{PAGENAME}}/Data_uncertainties_limitations| ]]
+
-->{{#set:HasPageLabel=Introduction page}} <!--
[[HasAllReferences::{{PAGENAME}}/References| ]]
+
-->{{#set:HasDetailedDescription={{FULLPAGENAME}}/Description}}<!--
 
+
-->{{#set:HasPolicyIntervention={{FULLPAGENAME}}/Policy issues}}<!--
</includeonly>
+
-->{{#set:HasDataLimitations={{FULLPAGENAME}}/Data_uncertainties_limitations}}<!--
 +
-->{{#set:HasAllReferences={{FULLPAGENAME}}/References}}<!--
 +
other properties
 +
-->{{#set:HasTitle={{PAGENAME}} }} <!--
 +
HasTitle is used where?
 +
-->{{#set:HasComponentCode={{{ComponentCode|}}} }}</includeonly>

Latest revision as of 06: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