Template:ComponentTemplate2: Difference between revisions

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