Difference between revisions of "Template:SimpleComponentTemplate"

From IMAGE
Jump to: navigation, search
 
(13 intermediate revisions by 2 users not shown)
Line 7: Line 7:
 
|ComponentCode=
 
|ComponentCode=
 
|Application=
 
|Application=
|ExternalModel=
+
|Model-Database=
 
|KeyReference=
 
|KeyReference=
 
|Reference=
 
|Reference=
Line 15: Line 15:
 
Edit the page to see the template text.
 
Edit the page to see the template text.
 
</noinclude><includeonly>__NOEDITSECTION__
 
</noinclude><includeonly>__NOEDITSECTION__
{{IconTemplate| {{PAGENAME}}}}__TOC__<br clear="all"/>
+
<div class="top_container">{{IconTemplate| {{PAGENAME}}}}__TOC__</div>
{{InfoBoxTemplate|IMAGEComponent={{{IMAGEComponent|}}}|Application={{{Application|}}}|ExternalModel={{{ExternalModel|}}}|KeyReference={{{KeyReference|}}}|Reference={{{Reference|}}} }}{{#ifeq:
+
<div class="container"><!--
{{#ask:[[Category:Figure]][[HasFigureType::Flowchart]][[BelongsToComponent::{{PAGENAME}}]]|format=count}}>0  
+
-->{{InfoBoxTemplate}}
|{{DisplayFlowchartTemplate|{{PAGENAME}} }} |}}{{DisplayKeyPolicyQuestionsTemplate|{{PAGENAME}} }}
+
<!--
{{#ifeq:{{{Description|}}}|||{{{Description|}}}}}
+
--><div class="page_standard"><!--
 +
-->{{#ifeq:
 +
        {{#ask:[[Category:Figure]][[HasFigureType::Flowchart]][[BelongsToComponent::{{PAGENAME}}]]|format=count}}>0  
 +
        |{{DisplayFlowchartTemplate|{{PAGENAME}} }}  
 +
        |}}<!--
 +
-->{{DisplayKeyPolicyQuestionsTemplate|{{PAGENAME}} }}<!--
 +
-->{{#ifeq:{{{Description|}}}|||{{{Description|}}}}}
 +
</div></div>
 
{{InputOutputParameterTemplate}}
 
{{InputOutputParameterTemplate}}
  
 
[[Category:Component]]
 
[[Category:Component]]
  
[[HasComponentCode::{{{ComponentCode|}}}|]]
+
{{#set:HasComponentCode={{{ComponentCode|}}} }}<!--
{{#ifeq:{{{FrameworkElementType|}}}|||[[FrameworkElementType::{{{FrameworkElementType|}}}| ]] }}
+
-->{{#arraymap:{{{IMAGEComponent|}}}|;|xx|{{#set:HasIMAGEComponent=xx}}|}}<!--
[[HasTitle::{{PAGENAME}}| ]]
+
-->{{#arraymap:{{{Application|}}}|;|xx|{{#set:HasApplication=xx}}|}}<!--
[[HasComponentCode::{{{ComponentCode|}}}|]]
+
-->{{#arraymap:{{{Model-Database|}}}|;|xx|{{#set:HasModelDatabase=xx}} |}}<!--
{{#ifeq:{{{InputVar|}}}|||{{#arraymap:{{{InputVar|}}}|;|x|[[HasInputVar::x| ]]| }} }}
+
-->{{#arraymap:{{{KeyReference|}}}|;|xx|{{#set:HasKeyReference=xx}} |}}<!--
{{#ifeq:{{{OutputVar|}}}|||{{#arraymap:{{{OutputVar|}}}|;|x|[[HasOutputVar::x| ]]| }} }}
+
-->{{#arraymap:{{{Reference|}}}|;|xx|{{#set:HasReference=xx}}|}}<!--
{{#ifeq:{{{Parameter|}}}|||{{#arraymap:{{{Parameter|}}}|;|x|[[HasParameter::x| ]]| }} }}
+
-->{{#ifeq:{{{FrameworkElementType|}}}|||{{#set:FrameworkElementType={{{FrameworkElementType|}}} }} }}<!--
 
+
-->{{#set:HasTitle={{PAGENAME}} }}<!--
 +
-->{{#arraymap:{{{InputVar|}}}|;|xx|{{#set:HasInputVar=xx}}|}}<!--
 +
-->{{#arraymap:{{{OutputVar|}}}|;|xx|{{#set:HasOutputVar=xx}}|}}<!--
 +
-->{{#arraymap:{{{Parameter|}}}|;|xx|{{#set:HasParameter=xx}}|}}
 
</includeonly>
 
</includeonly>

Latest revision as of 07:18, 1 August 2017

This is the "SimpleComponentTemplate" template. It should be called in the following format:

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

Edit the page to see the template text.