Template:ComponentTemplate2: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 14: | Line 14: | ||
Steps in this template: | Steps in this template: | ||
# 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 | # 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 | ||
# De subpages van deze pagina ophalen en weergeven in toc style plus de toc | # Icon en De subpages van deze pagina ophalen en weergeven in toc style plus de toc | ||
#De | # De InfoboxTemplate aanroep | ||
# We beginnen de Component-beschrijving met de KeyPolicyQuestions | |||
# De flowchart with the description | |||
# De input and outputs | |||
# De parts of the component again | |||
</noinclude><includeonly><!--step 1 --> {{StatusWarning|Status={{{Status|}}} }} | </noinclude><includeonly><!--step 1 --> {{StatusWarning|Status={{{Status|}}} }} | ||
<!--step 2 -->{{#ask:[[Category:Figure page]][[HasFigureType::Icon]][[BelongsToComponent::{{#titleparts: {{PAGENAME}}|1}}]] | <!--step 2 -->{{#ask:[[Category:Figure page]][[HasFigureType::Icon]][[BelongsToComponent::{{#titleparts: {{PAGENAME}}|1}}]] | ||
Line 30: | Line 34: | ||
<br clear="all"/>__NOEDITSECTION__ | <br clear="all"/>__NOEDITSECTION__ | ||
<!--step 3-->{{InfoBoxTemplate|PagePartHeader=Component parts|IMAGEComponent={{{IMAGEComponent|}}}|Application={{{Application|}}}|ExternalModel={{{ExternalModel|}}}|KeyReference={{{KeyReference|}}}|Reference={{{Reference|}}} }} | <!--step 3-->{{InfoBoxTemplate|PagePartHeader=Component parts|IMAGEComponent={{{IMAGEComponent|}}}|Application={{{Application|}}}|ExternalModel={{{ExternalModel|}}}|KeyReference={{{KeyReference|}}}|Reference={{{Reference|}}} }} | ||
<!-- | <!--step 4-> {{#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> | ||
}}<!-- | }}<!--step 5--> | ||
{{#ifeq:{{{Description|}}}|||<h2>Introduction</h2> | {{#ifeq:{{{Description|}}}|||<h2>Introduction</h2> | ||
{{#ask:[[Category:Figure page]][[HasFigureType::Flowchart]][[BelongsToComponent::{{#titleparts: {{PAGENAME}}|1}}]] | {{#ask:[[Category:Figure page]][[HasFigureType::Flowchart]][[BelongsToComponent::{{#titleparts: {{PAGENAME}}|1}}]] | ||
Line 46: | Line 50: | ||
|template=ViewFlowchartTemplate | |template=ViewFlowchartTemplate | ||
}}{{{Description|}}} <br clear="all"/> | }}{{{Description|}}} <br clear="all"/> | ||
}} | }}<!--Step 6--> | ||
{{InputOutputParameterTemplate}}<br clear="all"> | {{InputOutputParameterTemplate}}<br clear="all"> | ||
<!--Step 7--> | |||
{{ContentPartsTemplate|PagePartHeader=Parts of {{PAGENAME}}|subpage=0 }} | {{ContentPartsTemplate|PagePartHeader=Parts of {{PAGENAME}}|subpage=0 }} | ||
Line 53: | Line 58: | ||
[[Category:Component]] | [[Category:Component]] | ||
[[HasTitle::{{PAGENAME}}| ]] | [[HasTitle::{{PAGENAME}}| ]] | ||
{{#ifeq:{{{FrameworkElementType|}}}|||[[FrameworkElementType::{{{FrameworkElementType|}}}| ]] }} | {{#ifeq:{{{FrameworkElementType|}}}|||[[FrameworkElementType::{{{FrameworkElementType|}}}| ]] }} | ||
[[HasStatus::{{{Status|}}}|]] | [[HasStatus::{{{Status|}}}|]] |
Revision as of 13:22, 29 November 2013
This is the "ComponentTemplate2" template. It should be called in the following format:
{{ComponentTemplate2 |Application= |IMAGEComponent= |ExternalModel= |KeyReference= |Reference= |Description= }}
Steps in this template:
- 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
- Icon en De subpages van deze pagina ophalen en weergeven in toc style plus de toc
- De InfoboxTemplate aanroep
- We beginnen de Component-beschrijving met de KeyPolicyQuestions
- De flowchart with the description
- De input and outputs
- De parts of the component again