Template:ContentPartsTemplate: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
</pre> | </pre> | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
{{#ifexpr:{{PropertyTestTemplate|prop=belongsToPage|page={{PAGENAME}}|reverse=1}}>0| | {{#ifexpr:{{PropertyTestTemplate|prop=belongsToPage|page={{PAGENAME}}|reverse=1}}>0| | ||
<b>{{{PagePartHeader|}}}</b> | <b>{{{PagePartHeader|}}}</b> | ||
Line 14: | Line 13: | ||
{{#ask: [[BelongsToPage:: {{PAGENAME}}]]|mainlabel=|? HasPageLabel=|? HasSequence=|sort=HasSequence|link=none|format=template|template=PagePartTemplate}} | {{#ask: [[BelongsToPage:: {{PAGENAME}}]]|mainlabel=|? HasPageLabel=|? HasSequence=|sort=HasSequence|link=none|format=template|template=PagePartTemplate}} | ||
</ul> | </ul> | ||
|}} | |}} |
Revision as of 11:45, 19 November 2013
Template to display the subpages of a page. It should be called in the following format:
{{ContentPartsTemplate |PagePartHeader= }}