Difference between revisions of "Template:AggregatedComponentTemplate"

From IMAGE
Jump to: navigation, search
m (Text replace - "{{{ExternalModel" to "{{{Model-Database")
(19 intermediate revisions by the same user not shown)
Line 15: Line 15:
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
</noinclude><includeonly>{{IconTemplate| {{PAGENAME}}}}
+
</noinclude><includeonly><div class="top_container">{{IconTemplate| {{PAGENAME}}}}
{{AggregatedComponentPartsTemplate|PagePartHeader=Composition of {{PAGENAME}} }}
+
{{AggregatedComponentPartsTemplate|PagePartHeader=Composition of {{FULLPAGENAME}} }}__TOC____NOEDITSECTION__</div><div class="container">
__NOEDITSECTION__<div class="container">
+
{{InfoBoxTemplate}}{{DisplayKeyPolicyQuestionsTemplate|{{PAGENAME}} }}{{DisplayFlowchartTemplate|{{PAGENAME}} }}<div class="page_standard">
{{InfoBoxTemplate|IMAGEComponent={{{IMAGEComponent|}}}|Application={{{Application|}}}|Model-Database={{{Model-Database|}}}|KeyReference={{{KeyReference|}}}|Reference={{{Reference|}}} }}{{DisplayKeyPolicyQuestionsTemplate|{{PAGENAME}} }}{{DisplayFlowchartTemplate|{{PAGENAME}} }}<div class="page_standard">
 
 
{{#ifeq:{{{Description|}}}|||
 
{{#ifeq:{{{Description|}}}|||
<h2>Description of {{PAGENAME}}</h2>
+
<h2>Description of {{FULLPAGENAME}}</h2>
 
{{{Description|}}} }}
 
{{{Description|}}} }}
 
</div></div>
 
</div></div>
 
{{InputOutputParameterTemplate}}
 
{{InputOutputParameterTemplate}}
{{AggregatedComponentPartsTemplate|PagePartHeader=Composition of {{PAGENAME}} }}
+
{{AggregatedComponentPartsTemplate|PagePartHeader=Composition of {{FULLPAGENAME}} }}
[[Category:AggregatedComponent]]
+
<!-- setting of properties values
[[HasComponentCode::{{{ComponentCode|}}}|]]
+
-->[[Category:AggregatedComponent]]<!--
{{#ifeq:{{{FrameworkElementType|}}}|||[[FrameworkElementType::{{{FrameworkElementType|}}}| ]] }}
+
properties from form
{{#ifeq:{{{InputVar|}}}|||{{#arraymap:{{{InputVar|}}}|;|x|[[HasInputVar::x| ]]| }} }}
+
-->{{#ifeq:{{{FrameworkElementType|}}}|||{{#set:FrameworkElementType={{{FrameworkElementType|}}} }} }}<!--
{{#ifeq:{{{OutputVar|}}}|||{{#arraymap:{{{OutputVar|}}}|;|x|[[HasOutputVar::x| ]]| }} }}
+
-->{{#ifeq:{{{InputVar|}}}|||{{#arraymap:{{{InputVar|}}}|;|xx|{{#set:HasInputVar=xx }} }} }}<!--
{{#ifeq:{{{Parameter|}}}|||{{#arraymap:{{{Parameter|}}}|;|x|[[HasParameter::x| ]]| }} }}
+
-->{{#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|}}} }}
 +
 
 
</includeonly>
 
</includeonly>

Revision as of 09: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.