Template:ComponentTemplate2: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
 
(27 intermediate revisions by 2 users not shown)
Line 9: Line 9:
|KeyReference=
|KeyReference=
|Reference=
|Reference=
|Description=
}}
}}
</pre>
</pre>
Line 17: Line 16:
# De flowchart
# De flowchart
# We beginnen de Component-beschrijving met de KeyPolicyQuestions
# We beginnen de Component-beschrijving met de KeyPolicyQuestions
# description
# description
# De input and outputs
# De input and outputs
# De parts of the component again
</noinclude><includeonly>{{ComponentFrameTemplate}}
</noinclude><includeonly><div class="top_container">{{IconTemplate| {{PAGENAME}}}}
<div class="page_standard">
{{VersionViewTemplate|comp={{PAGENAME}} }}{{ContentPartsTemplate|PagePartHeader=Parts of {{FULLPAGENAME}} }}
{{DisplayKeyPolicyQuestionsTemplate|{{PAGENAME}} }}
__TOC____NOEDITSECTION__
<h2>Introduction</h2></div>
<!--step 2--></div><div class="container">{{InfoBoxTemplate}}<!--step 3-->{{DisplayFlowchartTemplate|{{PAGENAME}} }}<!--step 4--><div class="page_standard">
[[Category:Component]]
{{DisplayKeyPolicyQuestionsTemplate|{{PAGENAME}} }}<!--step 5-->
{{#set:
{{#ifeq:{{{Description|}}}|||<h2>Introduction</h2>
  |FrameworkElementType={{{FrameworkElementType|}}}
{{{Description|}}}
  |BelongsToAggregatedComponent={{{AggregatedComponent|}}}
</div></div>
  |HasInputVar={{{InputVar|}}}|+sep=;
}}<!--Step 6-->
  |HasOutputVar={{{OutputVar|}}}|+sep=;
{{InputOutputParameterTemplate}}<!--Step 7-->
  |HasParameter={{{Parameter|}}}|+sep=;
{{ContentPartsTemplate|PagePartHeader=Parts of {{FULLPAGENAME}} }}<!--Below, a number of properties is set -->
  |HasOverview={{{Overview|}}}|+sep=;
[[Category:Component]] <!--
  |HasIMAGEComponent={{{IMAGEComponent|}}}|+sep=;
properties from form
  |HasApplication={{{Application|}}}|+sep=;
-->{{#ifeq:{{{FrameworkElementType|}}}|||{{#set:FrameworkElementType={{{FrameworkElementType|}}} }} }}<!--
  |HasModelDatabase={{{Model-Database|}}}|+sep=;
-->{{#ifeq:{{{AggregatedComponent|}}}|||{{#set:BelongsToAggregatedComponent={{{AggregatedComponent|}}} }} }}<!--
  |HasKeyReference={{{KeyReference|}}}|+sep=;
-->{{#ifeq:{{{InputVar|}}}|||{{#arraymap:{{{InputVar|}}}|;|xx|{{#set:HasInputVar=xx }} }} }}<!--
  |HasReference={{{Reference|}}}|+sep=;
-->{{#ifeq:{{{OutputVar|}}}|||{{#arraymap:{{{OutputVar|}}}|;|xx|{{#set:HasOutputVar=xx}} }} }}<!--
  |HasPageLabel=Introduction page
-->{{#ifeq:{{{Parameter|}}}|||{{#arraymap:{{{Parameter|}}}|;|xx|{{#set:HasParameter=xx}} }} }} <!--
  |HasDetailedDescription={{FULLPAGENAME}}/Description
-->{{#ifeq:{{{Overview|}}}|||{{#arraymap:{{{Overview|}}}|;|xx|{{#set:HasOverview=xx}} }} }} <!--
  |HasPolicyIntervention={{FULLPAGENAME}}/Policy issues
-->{{#ifeq:{{{IMAGEComponent|}}}|||{{#arraymap:{{{IMAGEComponent|}}}|;|xx|{{#set:HasIMAGEComponent=xx}} }} }}<!--
  |HasDataLimitations={{FULLPAGENAME}}/Data_uncertainties_limitations
-->{{#ifeq:{{{Application|}}}|||{{#arraymap:{{{Application|}}}|;|xx|{{#set:HasApplication=xx}} }} }}<!--
  |HasAllReferences={{FULLPAGENAME}}/References
-->{{#ifeq:{{{Model-Database|}}}|||{{#arraymap:{{{Model-Database|}}}|;|xx|{{#set:HasModelDatabase=xx}} }} }}<!--
  |HasComponentCode={{{ComponentCode|}}}
-->{{#ifeq:{{{KeyReference|}}}|||{{#arraymap:{{{KeyReference|}}}|;|xx|{{#set:HasKeyReference=xx}} }} }}<!--
}}</includeonly>
-->{{#ifeq:{{{Reference|}}}|||{{#arraymap:{{{KeyReference|}}}|;|xx|{{#set:HasReference=xx}} }} }}<!--
properties for component structure
-->{{#set:HasPageLabel=Introduction page}} <!--
-->{{#set:HasDetailedDescription={{FULLPAGENAME}}/Description}}<!--
-->{{#set:HasPolicyIntervention={{FULLPAGENAME}}/Policy issues}}<!--
-->{{#set:HasDataLimitations={{FULLPAGENAME}}/Data_uncertainties_limitations}}<!--
-->{{#set:HasAllReferences={{FULLPAGENAME}}/References}}<!--
derived properties
-->{{#ifexpr: {{#ask:[[-HasVersionOverview::<q>-IsImplementationOf::{{PAGENAME}}</q>|format =count}}=0||<!--
-->{{#set:HasOverview=IMAGE framework version overview}}<!--
-->{{#arraymap:
        {{#ask:[[-HasVersionOverview::<q>-IsImplementationOf::{{PAGENAME}}</q>|link=none}}|;|xx|
        {{#set:HasOverview=xx}}|}}<!--
other properties
-->{{#set:HasTalk={{TALKPAGENAME}} }}<!--
-->{{#set:HasTitle={{PAGENAME}} }} <!--
HasTitle is used where?
-->{{#set:HasComponentCode={{{ComponentCode|}}} }}</includeonly>

Latest revision as of 14:40, 1 April 2020

This is the "ComponentTemplate2" template. It should be called in the following format:

{{ComponentTemplate2
|Application=
|IMAGEComponent=
|Model-Database=
|KeyReference=
|Reference=
}}

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