Template:AggregatedComponentPartsTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
Line 9: Line 9:
</pre>
</pre>
</noinclude><includeonly>
</noinclude><includeonly>
<table align="left" class="toc"><tr><td><div><b>{{{PagePartHeader|}}}</b></div>   
<table class="toc"><tr><td><div><b>{{{PagePartHeader|}}}</b></div>   
   <ol>
   <ol>
{{#ask:[[Category:Component]][[BelongsToAggregatedComponent::{{PAGENAME}} ]]
{{#ask:[[BelongsToAggregatedComponent::{{PAGENAME}} ]]
|mainlabel=
|mainlabel=
|? HasTitle=
|? HasTitle=
Line 18: Line 18:
|template=PagePartTemplate
|template=PagePartTemplate
}}
}}
{{#ifexpr:{{PropertyTestTemplate
    |prop=AIBelongsToPage
    |page={{#titleparts:{{PAGENAME}}|1}}
    |reverse=1}} >0
|
    <div>Additional info </div>
    {{#ask:[[AIBelongsToPage::{{#titleparts:{{PAGENAME}}|1}}]]
    |mainlabel=
    |? HasPageLabel=
    |link=none
    |format=template
    |template=PagePartTemplate
    }}
|}} 
</ol></td></tr>
</table>
</table>

Revision as of 10:01, 15 May 2014

This is the "AggregatedComponentPartsTemplate" template. This template is used to get a list of the parts of the aggregated component in the 'content' style.

It should be called in the following format:

{{AggregatedComponentPartsTemplate
|PagePartHeader=
}}