Template:ComponentTemplate2: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 13: | Line 13: | ||
</pre> | </pre> | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
Steps: | |||
# 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 uitvragen | |||
#content parts en TOC | |||
# 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. | |||
</noinclude><includeonly><!--step 1-->{{StatusWarning|Status={{{Status|}}} }} | |||
<!--step 2-->{{#ask:[[Category:Figure page]][[HasFigureType::Icon]][[BelongsToComponent::{{#titleparts: {{PAGENAME}}|1}}]] | |||
|mainlabel=page | |mainlabel=page | ||
|?HasPageName=figure | |?HasPageName=figure | ||
Line 21: | Line 28: | ||
|link=none | |link=none | ||
|template=ViewIconTemplate | |template=ViewIconTemplate | ||
}} | }}<!--step 3--> | ||
{{ContentPartsTemplate|PagePartHeader=Parts of {{PAGENAME}}|subpage=0 }}__TOC__ | {{ContentPartsTemplate|PagePartHeader=Parts of {{PAGENAME}}|subpage=0 }}__TOC__ | ||
<br clear="all"/>__NOEDITSECTION__ | <br clear="all"/>__NOEDITSECTION__ | ||
<!-- | <!--step 4-->{{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}}]] | ||
|mainlabel=- | |mainlabel=- |
Revision as of 17:27, 27 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.
Steps:
- 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 uitvragen
- content parts en TOC
- 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.