Template:ComponentTemplate2: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
Line 14: Line 14:
Edit the page to see the template text.
Edit the page to see the template text.
</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"/>__NOEDITSECTION__  
{{ContentPartsTemplate|PagePartHeader=Parts of {{PAGENAME}}|subpage=0 }}__TOC__
{{#ask:[[Category:Figure page]][[HasFigureType::Icon]][[BelongsToComponent::{{#titleparts: {{PAGENAME}}|1}}]]
  |mainlabel=page
  |?HasPageName=figure
  |?HasCaption=caption
  |?HasAltTitle=alt
  |format=template
  |link=none
  |template=ViewIconTemplate
}} <br clear="all"/>__NOEDITSECTION__  
<!--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|}}} }}
<!--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|}}} }}
<!--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. --> {{#ask:[[Category:KeyPolicyQuestion]][[PQBelongsToComponent::{{PAGENAME}}]]
Line 23: Line 32:
}}<!--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.-->
}}<!--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.-->
{{#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::Flowchart]][[BelongsToComponent::{{#titleparts: {{PAGENAME}}|1}}]]
  |mainlabel=page
  |?HasPageName=figure
  |?HasCaption=caption
  |?HasAltTitle=alt
  |format=template
  |link=none
  |template=ViewIconTemplate
}} {{#ask:[[Category:Figure page]][[HasFigureType::Flowchart]][[BelongsToComponent::{{#titleparts: {{PAGENAME}}|1}}]]
   |mainlabel=page
   |mainlabel=page
   |?HasPageName=figure
   |?HasPageName=figure

Revision as of 17:03, 26 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.