Template:ComponentTemplate2: Difference between revisions

From IMAGE
Jump to navigation Jump to search
m (Text replace - "Figure page" to "Figure")
No edit summary
 
(74 intermediate revisions by 5 users not shown)
Line 6: Line 6:
|Application=
|Application=
|IMAGEComponent=
|IMAGEComponent=
|ExternalModel=
|Model-Database=
|KeyReference=
|KeyReference=
|Reference=
|Reference=
|Description=
}}
}}
</pre>
</pre>
Steps in this template:
Steps in this template:
# We zoeken de status van de pagina op. Als de status ongelijk is aan Publishable, dan wordt een waarschuwing getoond. Dit zit in de StatusWarning-template
# 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 --> {{StatusWarning|Status={{{Status|}}} }}
<div class="page_standard">
<!--step 2 -->{{IconTemplate| {{PAGENAME}}}}
{{DisplayKeyPolicyQuestionsTemplate|{{PAGENAME}} }}
{{ContentPartsTemplate|PagePartHeader=Parts of {{PAGENAME}}|subpage=0 }}
<h2>Introduction</h2></div>
__TOC__
<br clear="all"/>__NOEDITSECTION__
<!--step 3-->{{InfoBoxTemplate|PagePartHeader=Component parts|IMAGEComponent={{{IMAGEComponent|}}}|Application={{{Application|}}}|ExternalModel={{{ExternalModel|}}}|KeyReference={{{KeyReference|}}}|Reference={{{Reference|}}} }}
<!--step 4-> {{#ask:[[Category:KeyPolicyQuestion]][[PQBelongsToComponent::{{PAGENAME}}]]
  |mainlabel=-
  |?HasDescription=
  |format=ul
  |intro=<h2>Key policy questions</h2>
}}<!--step 5-->
{{#ifeq:{{{Description|}}}|||<h2>Introduction</h2>
{{#ask:[[Category:Figure]][[HasFigureType::Flowchart]][[BelongsToComponent::{{#titleparts: {{PAGENAME}}|1}}]]
  |mainlabel=page
  |?HasPageName=figure
  |?HasCaption=caption
  |?HasAltTitle=alt
  |format=template
  |link=none
  |template=ViewFlowchartTemplate
}}{{{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|}}}
[[HasStatus::{{{Status|}}}|]]
  |BelongsToAggregatedComponent={{{AggregatedComponent|}}}
{{#ifeq:{{{MainComponent|}}}|||[[BelongsToMainComponent::{{{MainComponent}}}|]]}}
  |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=;
{{#ifeq:{{PAGENAME}}|Drivers||
  |HasModelDatabase={{{Model-Database|}}}|+sep=;
[[HasDetailedDescription::{{PAGENAME}}/Description| ]]
  |HasKeyReference={{{KeyReference|}}}|+sep=;
[[HasPolicyIntervention::{{PAGENAME}}/Policy issues| ]]
  |HasReference={{{Reference|}}}|+sep=;
[[HasDataLimitations::{{PAGENAME}}/Data_uncertainties_limitations| ]]
  |HasPageLabel=Introduction page
}}
  |HasDetailedDescription={{FULLPAGENAME}}/Description
[[HasAllReferences::{{PAGENAME}}/References| ]]
  |HasPolicyIntervention={{FULLPAGENAME}}/Policy issues
 
  |HasDataLimitations={{FULLPAGENAME}}/Data_uncertainties_limitations
</includeonly>
  |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