Template:ComponentTemplate2: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
 
(66 intermediate revisions by 4 users not shown)
Line 6: Line 6:
|Application=
|Application=
|IMAGEComponent=
|IMAGEComponent=
|ExternalModel=
|Model-Database=
|KeyReference=
|KeyReference=
|Reference=
|Reference=
|Description=
}}
}}
</pre>
</pre>
Line 15: Line 14:
# Icon en De subpages van deze pagina ophalen en weergeven in toc  style plus de toc  
# Icon en De subpages van deze pagina ophalen en weergeven in toc  style plus de toc  
# De InfoboxTemplate aanroep
# De InfoboxTemplate aanroep
# De flowchart
# We beginnen de Component-beschrijving met de KeyPolicyQuestions
# We beginnen de Component-beschrijving met de KeyPolicyQuestions
# De flowchart with the description
# description
# De input and outputs
# De input and outputs
# De parts of the component again
</noinclude><includeonly>{{ComponentFrameTemplate}}
</noinclude><includeonly><!--step 1 -->
<div class="page_standard">
{{IconTemplate| {{PAGENAME}}}}
{{DisplayKeyPolicyQuestionsTemplate|{{PAGENAME}} }}
{{ContentPartsTemplate|PagePartHeader=Parts of {{PAGENAME}}|subpage=0 }}
<h2>Introduction</h2></div>
__TOC__<br clear="all"/>__NOEDITSECTION__
<!--step 2-->{{InfoBoxTemplate|IMAGEComponent={{{IMAGEComponent|}}}|Application={{{Application|}}}|ExternalModel={{{ExternalModel|}}}|KeyReference={{{KeyReference|}}}|Reference={{{Reference|}}} }}
{{DisplayFlowchartTemplate|{{PAGENAME}} }}
<!--step 3--> {{#ask:[[Category:KeyPolicyQuestion]][[PQBelongsToComponent::{{PAGENAME}}]]
  |mainlabel=-
  |?HasDescription=
  |format=ul
  |intro=<h2>Key policy questions</h2>
}}<!--step 4-->
{{#ifeq:{{{Description|}}}|||<h2>Introduction</h2>
{{{Description|}}} <br clear="all"/>
}}<!--Step 6-->
{{InputOutputParameterTemplate}}<br clear="all"><!--Step 7-->
{{ContentPartsTemplate|PagePartHeader=Parts of {{PAGENAME}}|subpage=0 }}
 
<!--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.-->
[[Category:Component]]
[[Category:Component]]
[[HasTitle::{{PAGENAME}}| ]]
{{#set:
{{#ifeq:{{{FrameworkElementType|}}}|||[[FrameworkElementType::{{{FrameworkElementType|}}}| ]] }}
  |FrameworkElementType={{{FrameworkElementType|}}}
 
  |BelongsToAggregatedComponent={{{AggregatedComponent|}}}
{{#ifeq:{{{AggregatedComponent|}}}|||[[BelongsToAggregatedComponent::{{{AggregatedComponent}}}|]]}}
  |HasInputVar={{{InputVar|}}}|+sep=;
[[HasComponentCode::{{{ComponentCode|}}}|]]
  |HasOutputVar={{{OutputVar|}}}|+sep=;
{{#ifeq:{{{InputVar|}}}|||{{#arraymap:{{{InputVar|}}}|;|x|[[HasInputVar::x| ]]| }} }}
  |HasParameter={{{Parameter|}}}|+sep=;
{{#ifeq:{{{OutputVar|}}}|||{{#arraymap:{{{OutputVar|}}}|;|x|[[HasOutputVar::x| ]]| }} }}
  |HasOverview={{{Overview|}}}|+sep=;
{{#ifeq:{{{Parameter|}}}|||{{#arraymap:{{{Parameter|}}}|;|x|[[HasParameter::x| ]]| }} }}
  |HasIMAGEComponent={{{IMAGEComponent|}}}|+sep=;
[[HasPageLabel::Introduction page| ]]
  |HasApplication={{{Application|}}}|+sep=;
[[HasDetailedDescription::{{PAGENAME}}/Description| ]]
  |HasModelDatabase={{{Model-Database|}}}|+sep=;
[[HasPolicyIntervention::{{PAGENAME}}/Policy issues| ]]
  |HasKeyReference={{{KeyReference|}}}|+sep=;
[[HasDataLimitations::{{PAGENAME}}/Data_uncertainties_limitations| ]]
  |HasReference={{{Reference|}}}|+sep=;
[[HasAllReferences::{{PAGENAME}}/References| ]]
  |HasPageLabel=Introduction page
 
  |HasDetailedDescription={{FULLPAGENAME}}/Description
</includeonly>
  |HasPolicyIntervention={{FULLPAGENAME}}/Policy issues
  |HasDataLimitations={{FULLPAGENAME}}/Data_uncertainties_limitations
  |HasAllReferences={{FULLPAGENAME}}/References
  |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