Template:ComponentTemplate2: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
(24 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}} }}
{{ContentPartsTemplate|PagePartHeader=Parts of {{FULLPAGENAME}} }}<!--Below, a number of properties is set  
 
-->[[Category:Component]]<!--  
<!--Below, a number of properties is set --><nowiki>
properties from form  
[[Category:Component]]
-->{{#ifeq:{{{FrameworkElementType|}}}|||{{#set:FrameworkElementType={{{FrameworkElementType|}}} }} }}<!--
<!-- from form -->
-->{{#ifeq:{{{AggregatedComponent|}}}|||{{#set:BelongsToAggregatedComponent={{{AggregatedComponent|}}} }} }}<!--
{{#ifeq:{{{FrameworkElementType|}}}|||{{#set:FrameworkElementType={{{FrameworkElementType|}}} }} }}
-->{{#ifeq:{{{InputVar|}}}|||{{#arraymap:{{{InputVar|}}}|;|xx|{{#set:HasInputVar=xx }} }} }}<!--
{{#ifeq:{{{AggregatedComponent|}}}|||{{#set:BelongsToAggregatedComponent={{{AggregatedComponent|}}} }} }}
-->{{#ifeq:{{{OutputVar|}}}|||{{#arraymap:{{{OutputVar|}}}|;|xx|{{#set:HasOutputVar=xx}} }} }}<!--
{{#ifeq:{{{InputVar|}}}|||{{#arraymap:{{{InputVar|}}}|;|xx|{{#set:HasInputVar=xx }} }} }}
-->{{#ifeq:{{{Parameter|}}}|||{{#arraymap:{{{Parameter|}}}|;|xx|{{#set:HasParameter=xx}} }} }} <!--
{{#ifeq:{{{OutputVar|}}}|||{{#arraymap:{{{OutputVar|}}}|;|xx|{{#set:HasOutputVar=xx}} }} }}
-->{{#ifeq:{{{Overview|}}}|||{{#arraymap:{{{Overview|}}}|;|xx|{{#set:HasOverview=xx}} }} }} <!--
{{#ifeq:{{{Parameter|}}}|||{{#arraymap:{{{Parameter|}}}|;|xx|{{#set:HasParameter=xx}} }} }}
-->{{#ifeq:{{{IMAGEComponent|}}}|||{{#arraymap:{{{IMAGEComponent|}}}|;|xx|{{#set:HasIMAGEComponent=xx}} }} }}<!--
<!--properties for component structure -->
-->{{#ifeq:{{{Application|}}}|||{{#arraymap:{{{Application|}}}|;|xx|{{#set:HasApplication=xx}} }} }}<!--
{{#set:HasPageLabel=Introduction page}}
-->{{#ifeq:{{{Model-Database|}}}|||{{#arraymap:{{{Model-Database|}}}|;|xx|{{#set:HasModelDatabase=xx}} }} }}<!--
{{#set:HasDetailedDescription={{FULLPAGENAME}}/Description}}
-->{{#ifeq:{{{KeyReference|}}}|||{{#arraymap:{{{KeyReference|}}}|;|xx|{{#set:HasKeyReference=xx}} }} }}<!--
{{#set:HasPolicyIntervention={{FULLPAGENAME}}/Policy issues}}
-->{{#ifeq:{{{Reference|}}}|||{{#arraymap:{{{KeyReference|}}}|;|xx|{{#set:HasReference=xx}} }} }}<!--
{{#set:HasDataLimitations={{FULLPAGENAME}}/Data_uncertainties_limitations}}
properties for component structure  
{{#set:HasAllReferences={{FULLPAGENAME}}/References}}
-->{{#set:HasPageLabel=Introduction page}} <!--
<!-- other properties -->
-->{{#set:HasDetailedDescription={{FULLPAGENAME}}/Description}}<!--
{{#set:HasTalk={{TALKPAGENAME}} }}
-->{{#set:HasPolicyIntervention={{FULLPAGENAME}}/Policy issues}}<!--
{{#set:HasTitle={{PAGENAME}} }} <!-- used where? -->
-->{{#set:HasDataLimitations={{FULLPAGENAME}}/Data_uncertainties_limitations}}<!--
{{#set:HasComponentCode={{{ComponentCode|}}} }}
-->{{#set:HasAllReferences={{FULLPAGENAME}}/References}}<!--  
</nowiki></includeonly>
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