Template:ComponentTemplate2: Difference between revisions

From IMAGE
Jump to navigation Jump to search
m (Text replace - "{{StatusWarning|Status={{{Status|}}} }}" to "")
No edit summary
Line 13: Line 13:
</pre>
</pre>
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
# Icon en 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 InfoboxTemplate aanroep
# De InfoboxTemplate aanroep
Line 21: Line 20:
# De parts of the component again
# De parts of the component again
</noinclude><includeonly><!--step 1 -->  
</noinclude><includeonly><!--step 1 -->  
<!--step 2 -->{{IconTemplate| {{PAGENAME}}}}
{{IconTemplate| {{PAGENAME}}}}
{{ContentPartsTemplate|PagePartHeader=Parts of {{PAGENAME}}|subpage=0 }}
{{ContentPartsTemplate|PagePartHeader=Parts of {{PAGENAME}}|subpage=0 }}
__TOC__
__TOC__
<br clear="all"/>__NOEDITSECTION__  
<br clear="all"/>__NOEDITSECTION__  
<!--step 3-->{{InfoBoxTemplate|IMAGEComponent={{{IMAGEComponent|}}}|Application={{{Application|}}}|ExternalModel={{{ExternalModel|}}}|KeyReference={{{KeyReference|}}}|Reference={{{Reference|}}} }}
<!--step 2-->{{InfoBoxTemplate|IMAGEComponent={{{IMAGEComponent|}}}|Application={{{Application|}}}|ExternalModel={{{ExternalModel|}}}|KeyReference={{{KeyReference|}}}|Reference={{{Reference|}}} }}
<!--step 4--> {{#ask:[[Category:KeyPolicyQuestion]][[PQBelongsToComponent::{{PAGENAME}}]]
<!--step 3--> {{#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-->  
}}<!--step 4-->  
{{#ifeq:{{{Description|}}}|||<h2>Introduction</h2>
{{#ifeq:{{{Description|}}}|||<h2>Introduction</h2>
{{#ask:[[Category:Figure]][[HasFigureType::Flowchart]][[BelongsToComponent::{{#titleparts: {{PAGENAME}}|1}}]]
{{#ask:[[Category:Figure]][[HasFigureType::Flowchart]][[BelongsToComponent::{{#titleparts: {{PAGENAME}}|1}}]]

Revision as of 11:40, 7 January 2014

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

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

Steps in this template:

  1. Icon en De subpages van deze pagina ophalen en weergeven in toc style plus de toc
  2. De InfoboxTemplate aanroep
  3. We beginnen de Component-beschrijving met de KeyPolicyQuestions
  4. De flowchart with the description
  5. De input and outputs
  6. De parts of the component again