Template:ComponentTemplate2: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
(19 intermediate revisions by the same user not shown)
Line 21: Line 21:
# De parts of the component again
# De parts of the component again
</noinclude><includeonly><div class="top_container">{{IconTemplate| {{PAGENAME}}}}
</noinclude><includeonly><div class="top_container">{{IconTemplate| {{PAGENAME}}}}
{{VersionViewTemplate|comp={{PAGENAME}} }}{{ContentPartsTemplate|PagePartHeader=Parts of {{FULLPAGENAME}} }}
{{ContentPartsTemplate|PagePartHeader=Parts of {{FULLPAGENAME}} }}
__TOC____NOEDITSECTION__  
__TOC____NOEDITSECTION__  
<!--step 2--></div><div class="container">{{InfoBoxTemplate|IMAGEComponent={{{IMAGEComponent|}}}|Application={{{Application|}}}|Model-Database={{{Model-Database|}}}|KeyReference={{{KeyReference|}}}|Reference={{{Reference|}}} }}<!--step 3-->{{DisplayFlowchartTemplate|{{PAGENAME}} }}<!--step 4--><div class="page_standard">
<!--step 2--></div><div class="container">{{InfoBoxTemplate}}<!--step 3-->{{DisplayFlowchartTemplate|{{PAGENAME}} }}<!--step 4--><div class="page_standard">
{{DisplayKeyPolicyQuestionsTemplate|{{PAGENAME}} }}<!--step 5-->  
{{DisplayKeyPolicyQuestionsTemplate|{{PAGENAME}} }}<!--step 5-->  
{{#ifeq:{{{Description|}}}|||<h2>Introduction</h2>
{{#ifeq:{{{Description|}}}|||<h2>Introduction</h2>
Line 30: Line 30:
}}<!--Step 6-->
}}<!--Step 6-->
{{InputOutputParameterTemplate}}<!--Step 7-->
{{InputOutputParameterTemplate}}<!--Step 7-->
{{ContentPartsTemplate|PagePartHeader=Parts of {{FULLPAGENAME}} }}<!--Below, a number of properties is set -->
{{ContentPartsTemplate|PagePartHeader=Parts of {{FULLPAGENAME}} }}<!--Below, a number of properties is set  
[[Category:Component]] <!-- properties from form -->{{#ifeq:
-->[[Category:Component]]<!--  
{{{FrameworkElementType|}}}|||{{#set:FrameworkElementType={{{FrameworkElementType|}}} }} }}{{#ifeq:
properties from form  
{{{AggregatedComponent|}}}|||{{#set:BelongsToAggregatedComponent={{{AggregatedComponent|}}} }} }}{{#ifeq:
-->{{#ifeq:{{{FrameworkElementType|}}}|||{{#set:FrameworkElementType={{{FrameworkElementType|}}} }} }}<!--
{{{InputVar|}}}|||{{#arraymap:{{{InputVar|}}}|;|xx|{{#set:HasInputVar=xx }} }} }}{{#ifeq:
-->{{#ifeq:{{{AggregatedComponent|}}}|||{{#set:BelongsToAggregatedComponent={{{AggregatedComponent|}}} }} }}<!--
{{{OutputVar|}}}|||{{#arraymap:{{{OutputVar|}}}|;|xx|{{#set:HasOutputVar=xx}} }} }}{{#ifeq:
-->{{#ifeq:{{{InputVar|}}}|||{{#arraymap:{{{InputVar|}}}|;|xx|{{#set:HasInputVar=xx }} }} }}<!--
{{{Parameter|}}}|||{{#arraymap:{{{Parameter|}}}|;|xx|{{#set:HasParameter=xx}} }} }}  
-->{{#ifeq:{{{OutputVar|}}}|||{{#arraymap:{{{OutputVar|}}}|;|xx|{{#set:HasOutputVar=xx}} }} }}<!--
<!--properties for component structure -->{{#set:
-->{{#ifeq:{{{Parameter|}}}|||{{#arraymap:{{{Parameter|}}}|;|xx|{{#set:HasParameter=xx}} }} }} <!--
HasPageLabel=Introduction page}}{{#set:
-->{{#ifeq:{{{Overview|}}}|||{{#arraymap:{{{Overview|}}}|;|xx|{{#set:HasOverview=xx}} }} }} <!--
HasDetailedDescription={{FULLPAGENAME}}/Description}}{{#set:
-->{{#ifeq:{{{IMAGEComponent|}}}|||{{#arraymap:{{{IMAGEComponent|}}}|;|xx|{{#set:HasIMAGEComponent=xx}} }} }}<!--
HasPolicyIntervention={{FULLPAGENAME}}/Policy issues}}{{#set:
-->{{#ifeq:{{{Application|}}}|||{{#arraymap:{{{Application|}}}|;|xx|{{#set:HasApplication=xx}} }} }}<!--
HasDataLimitations={{FULLPAGENAME}}/Data_uncertainties_limitations}}{{#set:
-->{{#ifeq:{{{Model-Database|}}}|||{{#arraymap:{{{Model-Database|}}}|;|xx|{{#set:HasModelDatabase=xx}} }} }}<!--
HasAllReferences={{FULLPAGENAME}}/References}}
-->{{#ifeq:{{{KeyReference|}}}|||{{#arraymap:{{{KeyReference|}}}|;|xx|{{#set:HasKeyReference=xx}} }} }}<!--
<!-- other properties -->{{#set:
-->{{#ifeq:{{{Reference|}}}|||{{#arraymap:{{{KeyReference|}}}|;|xx|{{#set:HasReference=xx}} }} }}<!--
HasTalk={{TALKPAGENAME}} }}{{#set:
properties for component structure  
HasTitle={{PAGENAME}} }} <!-- used where? -->{{#set:
-->{{#set:HasPageLabel=Introduction page}} <!--
HasComponentCode={{{ComponentCode|}}} }}</includeonly>
-->{{#set:HasDetailedDescription={{FULLPAGENAME}}/Description}}<!--
-->{{#set:HasPolicyIntervention={{FULLPAGENAME}}/Policy issues}}<!--
-->{{#set:HasDataLimitations={{FULLPAGENAME}}/Data_uncertainties_limitations}}<!--
-->{{#set:HasAllReferences={{FULLPAGENAME}}/References}}<!--  
other properties  
-->{{#set:HasTitle={{PAGENAME}} }} <!--  
HasTitle is used where?
-->{{#set:HasComponentCode={{{ComponentCode|}}} }}</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