Template:ComponentTemplate2: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
Line 15: Line 15:
</noinclude><includeonly><!-- We zoeken de status van de pagina op. Als de status ongelijk is aan Publishable, dan wordt een waarschuwing getoond. Dit zit in de StatusWarning-template--> {{StatusWarning|Status={{{Status|}}} }}
</noinclude><includeonly><!-- We zoeken de status van de pagina op. Als de status ongelijk is aan Publishable, dan wordt een waarschuwing getoond. Dit zit in de StatusWarning-template--> {{StatusWarning|Status={{{Status|}}} }}
{{ContentPartsTemplate|PagePartHeader=Parts of {{PAGENAME}}|subpage=0 }}__TOC__<br clear="all"/>
{{ContentPartsTemplate|PagePartHeader=Parts of {{PAGENAME}}|subpage=0 }}__TOC__<br clear="all"/>
<!--De InfoboxTestTemplate controleert of de properties die normaal gesproken in de infobox worden weergegeven waardes hebben. Zo ja, dan wordt de infobox getoond; zo nee, dan wordt de infobox weggelaten. Voor subpagina's wordt ook gecontroleerd of de hoofdpagina references heeft, zodat die getoond kunnen worden.-->
{{InfoBoxTemplate|PagePartHeader=Component parts|IMAGEComponent={{{IMAGEComponent|}}}|Application={{{Application|}}}|ExternalModel={{{ExternalModel|}}}|KeyReference={{{KeyReference|}}}|Reference={{{Reference|}}} }}
{{InfoBoxTemplate|PagePartHeader=Component parts|IMAGEComponent={{{IMAGEComponent|}}}|Application={{{Application|}}}|ExternalModel={{{ExternalModel|}}}|KeyReference={{{KeyReference|}}}|Reference={{{Reference|}}} }}
<!--We beginnen de Component-beschrijving met de KeyPolicyQuestions, gevolgd door de table of contents. -->{{#ask:[[Category:KeyPolicyQuestion]][[PQBelongsToComponent::{{PAGENAME}}]]
<!--We beginnen de Component-beschrijving met de KeyPolicyQuestions, gevolgd door de table of contents. --> __NOEDITSECTION__
{{#ask:[[Category:KeyPolicyQuestion]][[PQBelongsToComponent::{{PAGENAME}}]]
   |mainlabel=-
   |mainlabel=-
   |?HasDescription=
   |?HasDescription=
   |format=ul
   |format=ul
   |intro=<h2>Key policy questions</h2>
   |intro=<h2>Key policy questions</h2>
}}<!--We willen geen [edit] per sectie laten zien.--> __NOEDITSECTION__
}}<!--We willen geen [edit] per sectie laten zien.--> <!--If a description exists, the icon (the place where this component is with respect to the IMAGE-framework) and the flowchart of the component are displayed together with the description.-->
<!--De InfoboxTestTemplate controleert of de properties die normaal gesproken in de infobox worden weergegeven waardes hebben. Zo ja, dan wordt de infobox getoond; zo nee, dan wordt de infobox weggelaten. Voor subpagina's wordt ook gecontroleerd of de hoofdpagina references heeft, zodat die getoond kunnen worden.-->
<!--If a description exists, the icon (the place where this component is with respect to the IMAGE-framework) and the flowchart of the component are displayed together with the description.-->
{{#ifeq:{{{Description|}}}|||<h2>Introduction</h2>
{{#ifeq:{{{Description|}}}|||<h2>Introduction</h2>
{{#ask:[[Category:Figure page]][[HasFigureType::Icon]][[BelongsToComponent::{{#titleparts: {{PAGENAME}}|1}}]]
{{#ask:[[Category:Figure page]][[HasFigureType::Icon]][[BelongsToComponent::{{#titleparts: {{PAGENAME}}|1}}]]
Line 42: Line 42:
   |link=none
   |link=none
   |template=ViewFlowchartTemplate
   |template=ViewFlowchartTemplate
}}{{{Description|}}}<br clear="all"/>
}}{{{Description|}}}<!--<br clear="all"/>-->
}}
}}
<!--There is one component that has a different structure from the others: the component Drivers. If the Drivers-page is opened, we need no Input-output-vars and we need a different set of Main pages. For all component-pages an overview of references is required.-->
<!--There is one component that has a different structure from the others: the component Drivers. If the Drivers-page is opened, we need no Input-output-vars and we need a different set of Main pages. For all component-pages an overview of references is required.-->

Revision as of 15:36, 19 November 2013

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

{{ComponentTemplate2
|Application=
|IMAGEComponent=
|ExternalModel=
|KeyReference=
|Reference=
|Description=
}}

Edit the page to see the template text.