Template:ComponentTemplate2: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
 
(205 intermediate revisions by 6 users not shown)
Line 6: Line 6:
|Application=
|Application=
|IMAGEComponent=
|IMAGEComponent=
|ExternalModel=
|Model-Database=
|KeyReference=
|KeyReference=
|Reference=
|Reference=
|Description=
}}
}}
</pre>
</pre>
Edit the page to see the template text.
Steps in this template:
</noinclude><includeonly>
# Icon en De subpages van deze pagina ophalen en weergeven in toc  style plus de toc
{{#ifeq:{{{LeadText|}}}|||[[HasLeadText::{{{LeadText|}}}| ]]
# De InfoboxTemplate aanroep
__TOC__}}
# De flowchart
__NOEDITSECTION__
# We beginnen de Component-beschrijving met de KeyPolicyQuestions
{{StatusWarning|Status={{{Status|}}} }}{{#ifexpr:{{InfoboxTestTemplate|basepage={{#titleparts: {{PAGENAME}}|1}}|subpage={{#titleparts: {{PAGENAME}}|1|2}} }}|
# description
<div style="float:right; clear:right; ">
# De input and outputs
{{InfoBoxStyleTemplate}}
</noinclude><includeonly>{{ComponentFrameTemplate}}
{{#ifeq:{{{IMAGEComponent|}}}|||<tr>{{InfoBoxCellStyleTemplate}}<b>IMAGE components</b></td></tr>
<div class="page_standard">
<tr><td>
{{DisplayKeyPolicyQuestionsTemplate|{{PAGENAME}} }}
<ul>
<h2>Introduction</h2></div>
{{#arraymap:{{{IMAGEComponent|}}}|;|x|[[HasIMAGEComponent::x]]}}
</ul>
</td></tr>
}}
{{#ifeq:{{{Application|}}}|||<tr>{{InfoBoxCellStyleTemplate}}<b>Applications</b></td></tr>
<tr><td>
<ul>
{{#arraymaptemplate:{{{Application|}}}|ComponentHasApplicationTemplate|;|x|[[HasApplication::x]]}}
</ul>
</td></tr>
}}
{{#ifeq:{{{ExternalModel|}}}|||<tr>{{InfoBoxCellStyleTemplate}}<b>External models</b></td></tr>
<tr><td>
<ul>
{{#arraymaptemplate:{{{ExternalModel|}}}|ComponentHasExternalModelTemplate|;|y|[[HasExternalModel::y]]}}
</ul>
</td></tr>
}}
{{#ifeq:{{{KeyReference|}}}|||
<tr>{{InfoBoxCellStyleTemplate}}<b>Key references</b></td></tr>
<tr><td>
<ul>
{{#arraymaptemplate:{{{KeyReference|}}}|ComponentHasKeyReferenceTemplate|;|x|[[HasKeyReference::x]]}}
</ul>
</td></tr>
}}
{{#ifeq:{{{Reference|}}}|||<tr>{{InfoBoxCellStyleTemplate}}<b>References</b></td></tr>
<tr><td>
<ul>
{{#arraymaptemplate:{{{Reference|}}}|ComponentHasReferenceTemplate|;|x|[[HasReference::x]]}}
</ul>
</td></tr>
}}
</table>
</div>
|}}
 
'''The key policy questions are:'''
{{#ask:[[Category:PolicyQuestion]][[PQBelongsToComponent::{{PAGENAME}}]]
|mainlabel-
|?HasDescription=Description
|format=ul
}}
 
{{#ifeq:{{{Description|}}}|||
<h2>Introduction</h2>
{{#ask:[[Category:Icon]][[BelongsToComponent::{{#titleparts: {{PAGENAME}}|1}}]]
|mainlabel=pagina
|?HasCaption=caption
|?HasAltTitle=alt
|format=template
|link=none
|template=ViewIconTemplate
}}
{{#ask:[[Category:Flowcharts]][[BelongsToComponent::{{#titleparts: {{PAGENAME}}|1}}]]
|mainlabel=pagina
|?HasCaption=caption
|?HasAltTitle=alt
|format=template
|link=none
|template=ViewPolicyInterventionFigureTemplate2
}}{{{Description|}}}
}}
== Links to other parts of IMAGE framework ==
{{InputOutputParameterTemplate}}
 
== Main pages of {{PAGENAME}}==
Detailed information can be found on the following pages:
* [[{{PAGENAME}}/Description|Detailed description]] for a detailed description of this component
* [[{{PAGENAME}}/Policy Interventions|Policy interventions]] for policy interventions and illustrated effects
* [[{{PAGENAME}}/Data_uncertainties_limitations|Data uncertainties and limitations]] for details about data, uncertainty and limitations
 
The overview of all [[{{PAGENAME}}/References|references]].
 
 
 
[[Category:Component]]
[[Category:Component]]
[[HasTitle::{{PAGENAME}}| ]]
{{#set:
[[HasAltTitle::{{{AltText|}}}| ]]
  |FrameworkElementType={{{FrameworkElementType|}}}
[[HasCaption::{{{CaptionText|}}}| ]]
  |BelongsToAggregatedComponent={{{AggregatedComponent|}}}
{{#ifeq:{{{Flowchart|}}}|||[[HasFlowchart::File:{{{Flowchart|}}}| ]]}}
  |HasInputVar={{{InputVar|}}}|+sep=;
{{#ifeq:{{{FrameworkElementType|}}}|||{{#arraymap:{{{FrameworkElementType|}}}|,|x|[[FrameworkElementType::x| ]]| }} }}
  |HasOutputVar={{{OutputVar|}}}|+sep=;
[[HasStatus::{{{Status|}}}|]]
  |HasParameter={{{Parameter|}}}|+sep=;
{{#ifeq:{{{MainComponent|}}}|||[[BelongsToMainComponent::{{{MainComponent}}}|]]}}
  |HasOverview={{{Overview|}}}|+sep=;
</includeonly>
  |HasIMAGEComponent={{{IMAGEComponent|}}}|+sep=;
  |HasApplication={{{Application|}}}|+sep=;
  |HasModelDatabase={{{Model-Database|}}}|+sep=; 
  |HasKeyReference={{{KeyReference|}}}|+sep=;
  |HasReference={{{Reference|}}}|+sep=;
  |HasPageLabel=Introduction page
  |HasDetailedDescription={{FULLPAGENAME}}/Description
  |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