Template:AggregatedComponentTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
(33 intermediate revisions by 2 users not shown)
Line 5: Line 5:
<pre>
<pre>
{{AggregatedComponentTemplate
{{AggregatedComponentTemplate
|IMAGEComponent=
|IMAGEComponent=
|ComponentCode=
|ComponentCode=
|Application=
|Application=
|ExternalModel=
|Model-Database=
|KeyReference=
|KeyReference=
|Reference=
|Reference=
Line 16: Line 15:
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>__NOEDITSECTION__
</noinclude><includeonly><div class="top_container">{{IconTemplate| {{PAGENAME}}}}
 
{{AggregatedComponentPartsTemplate|PagePartHeader=Composition of {{FULLPAGENAME}} }}__TOC____NOEDITSECTION__</div><div class="container">
{{AggregatedComponentPartsTemplate|PagePartHeader=Parts of {{PAGENAME}}|subpage=3 }}
{{InfoBoxTemplate}}{{DisplayKeyPolicyQuestionsTemplate|{{PAGENAME}} }}{{DisplayFlowchartTemplate|{{PAGENAME}} }}<div class="page_standard">
{{IconTemplate| {{PAGENAME}}}}__TOC__<br clear="all"/>
{{InfoBoxTemplate|IMAGEComponent={{{IMAGEComponent|}}}|Application={{{Application|}}}|ExternalModel={{{ExternalModel|}}}|KeyReference={{{KeyReference|}}}|Reference={{{Reference|}}} }}{{DisplayKeyPolicyQuestionsTemplate|{{PAGENAME}} }}
{{#ifeq:{{{Description|}}}|||
{{#ifeq:{{{Description|}}}|||
<h2>Description of {{PAGENAME}}</h2>
<h2>Description of {{FULLPAGENAME}}</h2>
{{{Description|}}}}}
{{{Description|}}} }}
 
</div></div>
{{#ask:[[Category:Component]][[BelongsToAggregatedComponent::{{PAGENAME}}]]
{{InputOutputParameterTemplate}}
|mainlabel=
{{AggregatedComponentPartsTemplate|PagePartHeader=Composition of {{FULLPAGENAME}} }}
|format=ul
<!-- setting of properties values
|intro=<h2>Components</h2>{{PAGENAME}} consists of:
-->[[Category:AggregatedComponent]]<!--
}}
properties from form
 
-->{{#ifeq:{{{FrameworkElementType|}}}|||{{#set:FrameworkElementType={{{FrameworkElementType|}}} }} }}<!--
 
-->{{#ifeq:{{{InputVar|}}}|||{{#arraymap:{{{InputVar|}}}|;|xx|{{#set:HasInputVar=xx }} }} }}<!--
[[Category:AggregatedComponent]]
-->{{#ifeq:{{{OutputVar|}}}|||{{#arraymap:{{{OutputVar|}}}|;|xx|{{#set:HasOutputVar=xx}} }} }}<!--
-->{{#ifeq:{{{Parameter|}}}|||{{#arraymap:{{{Parameter|}}}|;|xx|{{#set:HasParameter=xx}} }} }} <!--
-->{{#ifeq:{{{Overview|}}}|||{{#arraymap:{{{Overview|}}}|;|xx|{{#set:HasOverview=xx}} }} }} <!--
-->{{#ifeq:{{{IMAGEComponent|}}}|||{{#arraymap:{{{IMAGEComponent|}}}|;|xx|{{#set:HasIMAGEComponent=xx}} }} }}<!--
-->{{#ifeq:{{{Application|}}}|||{{#arraymap:{{{Application|}}}|;|xx|{{#set:HasApplication=xx}} }} }}<!--
-->{{#ifeq:{{{Model-Database|}}}|||{{#arraymap:{{{Model-Database|}}}|;|xx|{{#set:HasModelDatabase=xx}} }} }}<!--
-->{{#ifeq:{{{KeyReference|}}}|||{{#arraymap:{{{KeyReference|}}}|;|xx|{{#set:HasKeyReference=xx}} }} }}<!--
-->{{#ifeq:{{{Reference|}}}|||{{#arraymap:{{{KeyReference|}}}|;|xx|{{#set:HasReference=xx}} }} }}<!--
other properties
-->{{#set:HasTitle={{PAGENAME}} }} <!--
-->{{#set:HasComponentCode={{{ComponentCode|}}} }}


[[HasComponentCode::{{{ComponentCode|}}}|]]
{{#ifeq:{{{FrameworkElementType|}}}|||[[FrameworkElementType::{{{FrameworkElementType|}}}| ]] }}
<!--[[FrameworkElementType::{{{FrameworkElementType|}}}}| ]] -->
</includeonly>
</includeonly>

Revision as of 10:42, 1 August 2017

This is the "AggregatedComponentTemplate" template. It is a similar to ComponentTemplate2, but consists of a single page, does not have multiple component parts.

It should be called in the following format:

{{AggregatedComponentTemplate
|IMAGEComponent=
|ComponentCode=
|Application=
|Model-Database=
|KeyReference=
|Reference=
|Description=
}}

Edit the page to see the template text.