Template:ContentPartsTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
Line 10: Line 10:
</noinclude><includeonly>
</noinclude><includeonly>
{{#ifexpr:{{{subpage|}}}|
{{#ifexpr:{{{subpage|}}}|
  <table align="left" class="toc"><tr><td><div><h2>{{{PagePartHeader|}}}</h2></div>   
  <table align="left" class="toc"><tr><td><div><b>{{{PagePartHeader|}}}</b></div>   
   <ol>
   <ol>
  {{#ask:[[{{#titleparts: {{PAGENAME}}|1}}]]|mainlabel=|? HasPageLabel=|link=none|format=template|template=PagePartTemplate}}
  {{#ask:[[{{#titleparts: {{PAGENAME}}|1}}]]|mainlabel=|? HasPageLabel=|link=none|format=template|template=PagePartTemplate}}

Revision as of 15:06, 19 November 2013

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=
|subpage
}}