Template:ComponentTemplate2: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
Line 32: Line 32:
{{ContentPartsTemplate|PagePartHeader=Parts of {{FULLPAGENAME}} }}
{{ContentPartsTemplate|PagePartHeader=Parts of {{FULLPAGENAME}} }}


<!--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.-->
<!--Below, a number of properties is set -->
[[Category:Component]][[HasTalk::Talk:{{PAGENAME}}|]]
[[Category:Component]]
[[HasTitle::{{FULLPAGENAME}}| ]]
<!-- from form -->
{{#ifeq:{{{FrameworkElementType|}}}|||[[FrameworkElementType::{{{FrameworkElementType|}}}| ]] }}
{{#ifeq:{{{FrameworkElementType|}}}|||{{#set:FrameworkElementType={{{FrameworkElementType|}}} }} }}
 
{{#ifeq:{{{AggregatedComponent|}}}|||{{#set:BelongsToAggregatedComponent={{{AggregatedComponent|}}} }} }}
{{#ifeq:{{{AggregatedComponent|}}}|||[[BelongsToAggregatedComponent::{{{AggregatedComponent}}}|]]}}
{{#ifeq:{{{InputVar|}}}|||{{#arraymap:{{{InputVar|}}}|;|xx|{{#set:HasInputVar=xx }} }} }}
[[HasComponentCode::{{{ComponentCode|}}}|]]
{{#ifeq:{{{OutputVar|}}}|||{{#arraymap:{{{OutputVar|}}}|;|xx|{{#set:HasOutputVar=xx}} }} }}
{{#ifeq:{{{InputVar|}}}|||{{#arraymap:{{{InputVar|}}}|;|x|[[HasInputVar::x| ]]| }} }}
{{#ifeq:{{{Parameter|}}}|||{{#arraymap:{{{Parameter|}}}|;|xx|{{#set:HasParameter=xx}} }} }}
{{#ifeq:{{{OutputVar|}}}|||{{#arraymap:{{{OutputVar|}}}|;|x|[[HasOutputVar::x| ]]| }} }}
<!--properties for component structure -->
{{#ifeq:{{{Parameter|}}}|||{{#arraymap:{{{Parameter|}}}|;|x|[[HasParameter::x| ]]| }} }}
{{set:HasPageLabel::Introduction page}}
[[HasPageLabel::Introduction page| ]]
{{set:HasDetailedDescription::{{FULLPAGENAME}}/Description}}
[[HasDetailedDescription::{{FULLPAGENAME}}/Description| ]]
{{set:HasPolicyIntervention::{{FULLPAGENAME}}/Policy issues}}
[[HasPolicyIntervention::{{FULLPAGENAME}}/Policy issues| ]]
{{set:HasDataLimitations::{{FULLPAGENAME}}/Data_uncertainties_limitations}}
[[HasDataLimitations::{{FULLPAGENAME}}/Data_uncertainties_limitations| ]]
{{set:HasAllReferences::{{FULLPAGENAME}}/References}}
[[HasAllReferences::{{FULLPAGENAME}}/References| ]]
<! other properties -->
 
{{#set:HasTalk={{TALKPAGENAME}} }}
{{#set:HasTitle={{PAGENAME}} }} <!-- used where? -->
{{#set:HasComponentCode={{{ComponentCode|}}} }}
</includeonly>
</includeonly>

Revision as of 11:03, 11 May 2016

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