Template:ComponentTemplate2: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
(31 intermediate revisions by the same user not shown)
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><div class="top_container">{{IconTemplate| {{FULLPAGENAME}}}}
</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|{{FULLPAGENAME}} }}<!--step 5-->  
{{DisplayKeyPolicyQuestionsTemplate|{{PAGENAME}} }}<!--step 5-->  
{{#ifeq:{{{Description|}}}|||<h2>Introduction</h2>
{{#ifeq:{{{Description|}}}|||<h2>Introduction</h2>
{{{Description|}}}
{{{Description|}}}
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 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]][[HasTalk::Talk:{{PAGENAME}}|]]
-->{{#ifeq:{{{FrameworkElementType|}}}|||{{#set:FrameworkElementType={{{FrameworkElementType|}}} }} }}<!--
[[HasTitle::{{FULLPAGENAME}}| ]]
-->{{#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::{{FULLPAGENAME}}/Description| ]]
-->{{#ifeq:{{{Reference|}}}|||{{#arraymap:{{{KeyReference|}}}|;|xx|{{#set:HasReference=xx}} }} }}<!--
[[HasPolicyIntervention::{{FULLPAGENAME}}/Policy issues| ]]
properties for component structure
[[HasDataLimitations::{{FULLPAGENAME}}/Data_uncertainties_limitations| ]]
-->{{#set:HasPageLabel=Introduction page}} <!--
[[HasAllReferences::{{FULLPAGENAME}}/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>

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