Template:ContentPartsTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
Line 8: Line 8:
</pre>
</pre>
</noinclude><includeonly>
</noinclude><includeonly>
{{#ifexpr:{{PropertyTestTemplate|prop=belongsToPage|page={{PAGENAME}}|reverse=1}}>0|
{{#ifexpr:{{PropertyTestTemplate|prop=belongsToPage|page={{BASENAME}}|reverse=1}}>0|
   <table align="left" class="toc">
   <table align="left" class="toc">
   <tr><td><div><b>{{{PagePartHeader|}}}</b></div>
   <tr><td><div><b>{{{PagePartHeader|}}}</b></div>
Line 24: Line 24:
     |? HasSequence=
     |? HasSequence=
     |sort=HasSequence
     |sort=HasSequence
     |link=none|format=template
     |link=none
    |format=template
     |template=PagePartTemplate
     |template=PagePartTemplate
     }}
     }}

Revision as of 16:07, 10 January 2014

Template to display the subpages of a page. subpage = 0 means main page and subpage = 1 subpage. It should be called in the following format:

{{ContentPartsTemplate
|PagePartHeader=
}}