Template:ContentPartsTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
(Created page with "<noinclude> Template to display the subpages of a page. It should be called in the following format: <pre> {{ContentPartsTemplate |PagePartHeader= }} </pre> </noinclude><inclu...")
 
No edit summary
Line 8: Line 8:
</noinclude><includeonly>
</noinclude><includeonly>
<div style="float:left; clear:left; ">
<div style="float:left; clear:left; ">
{{InfoBoxStyleTemplate}}
{{#ifexpr:{{PropertyTestTemplate|prop=belongsToPage|page={{PAGENAME}}|reverse=1}}>0|
{{#ifexpr:{{PropertyTestTemplate|prop=belongsToPage|page={{PAGENAME}}|reverse=1}}>0|
  <tr>{{InfoBoxCellStyleTemplate}}<b>{{{PagePartHeader|}}}</b></td></tr>
<b>{{{PagePartHeader|}}}</b>
  <tr><td>
   <ul>
   <ul>
  {{#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}}
  </ul>
  </ul>
  </td></tr>
</div>
</table>
|}}
|}}

Revision as of 11:33, 19 November 2013

Template to display the subpages of a page. It should be called in the following format:

{{ContentPartsTemplate
|PagePartHeader=
}}