Template:ContentPartsTemplate: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
{{#ifexpr:{{PropertyTestTemplate|prop=belongsToPage|page={{PAGENAME}}|reverse=1}}>0| | {{#ifexpr:{{PropertyTestTemplate|prop=belongsToPage|page={{PAGENAME}}|reverse=1}}>0| | ||
<table class="toc"><tr><td><div><h2>{{{PagePartHeader|}}}</h2></div> | <div style="float:left; clear:left;"><table class="toc"><tr><td><div><h2>{{{PagePartHeader|}}}</h2></div> | ||
<ol> | <ol> | ||
{{#ask:[[{{PAGENAME}}]]|mainlabel=|? HasPageLabel=|link=none|format=template|template=PagePartTemplate}} | {{#ask:[[{{PAGENAME}}]]|mainlabel=|? HasPageLabel=|link=none|format=template|template=PagePartTemplate}} | ||
{{#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}} | ||
</ol> | </ol> | ||
</table> | </table></div> | ||
|}} | |}} |
Revision as of 12:32, 19 November 2013
Template to display the subpages of a page. It should be called in the following format:
{{ContentPartsTemplate |PagePartHeader= }}