Template:ComponentTemplate2: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
 
(186 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|}}}||{{#ask:[[Category:KeyPolicyQuestion]][[PQBelongsToComponent::{{PAGENAME}}]]
# De InfoboxTemplate aanroep
|mainlabel=-
# De flowchart
|?HasDescription=
# We beginnen de Component-beschrijving met de KeyPolicyQuestions
|format=ul
# description
|intro='''Key policy questions are:'''
# De input and outputs
}}<br/>|[[HasLeadText::{{{LeadText|}}}| ]]{{#ask:[[Category:KeyPolicyQuestion]][[PQBelongsToComponent::{{PAGENAME}}]]
</noinclude><includeonly>{{ComponentFrameTemplate}}
|mainlabel=-
<div class="page_standard">
|?HasDescription=
{{DisplayKeyPolicyQuestionsTemplate|{{PAGENAME}} }}
|format=ul
<h2>Introduction</h2></div>
|intro='''Key policy questions for {{PAGENAME}} are:'''
[[Category:Component]]
}}__TOC__
{{#set:
}}
  |FrameworkElementType={{{FrameworkElementType|}}}
__NOEDITSECTION__
  |BelongsToAggregatedComponent={{{AggregatedComponent|}}}
{{StatusWarning|Status={{{Status|}}} }}{{#ifexpr:{{InfoboxTestTemplate|basepage={{#titleparts: {{PAGENAME}}|1}}|subpage={{#titleparts: {{PAGENAME}}|1|2}} }}|
  |HasInputVar={{{InputVar|}}}|+sep=;
<div style="float:right; clear:right; ">
  |HasOutputVar={{{OutputVar|}}}|+sep=;
{{InfoBoxStyleTemplate}}
  |HasParameter={{{Parameter|}}}|+sep=;
{{#ifeq:{{{IMAGEComponent|}}}|||<tr>{{InfoBoxCellStyleTemplate}}<b>IMAGE components</b></td></tr>
  |HasOverview={{{Overview|}}}|+sep=;
<tr><td>
  |HasIMAGEComponent={{{IMAGEComponent|}}}|+sep=;
<ul>
  |HasApplication={{{Application|}}}|+sep=;
{{#arraymap:{{{IMAGEComponent|}}}|;|x|[[HasIMAGEComponent::x]]}}
  |HasModelDatabase={{{Model-Database|}}}|+sep=; 
</ul>
  |HasKeyReference={{{KeyReference|}}}|+sep=;
</td></tr>
  |HasReference={{{Reference|}}}|+sep=;
}}
  |HasPageLabel=Introduction page
{{#ifeq:{{{Application|}}}|||<tr>{{InfoBoxCellStyleTemplate}}<b>Applications</b></td></tr>
  |HasDetailedDescription={{FULLPAGENAME}}/Description
<tr><td>
  |HasPolicyIntervention={{FULLPAGENAME}}/Policy issues
<ul>
  |HasDataLimitations={{FULLPAGENAME}}/Data_uncertainties_limitations
{{#arraymaptemplate:{{{Application|}}}|ComponentHasApplicationTemplate|;|x|[[HasApplication::x]]}}
  |HasAllReferences={{FULLPAGENAME}}/References
</ul>
  |HasComponentCode={{{ComponentCode|}}}
</td></tr>
}}</includeonly>
}}
{{#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>
|}}

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