Difference between revisions of "Template:ContentPartsTemplate"

From IMAGE
Jump to: navigation, search
(2 intermediate revisions by 2 users not shown)
Line 9: Line 9:
 
{{#ifexpr:{{PropertyTestTemplate
 
{{#ifexpr:{{PropertyTestTemplate
 
   |prop=BelongsToPage
 
   |prop=BelongsToPage
   |page= {{#titleparts:{{PAGENAME}}|1}}
+
   |page= {{#titleparts:{{FULLPAGENAME}}|1}}
 
   |reverse=1}}>0
 
   |reverse=1}}>0
 
|
 
|
   <table class="toc"><tr><td>
+
   <div class="toc">
 
<strong>{{{PagePartHeader|}}}</strong>
 
<strong>{{{PagePartHeader|}}}</strong>
 
   <ol>
 
   <ol>
   {{#ask:[[ {{#titleparts:{{PAGENAME}}|1}}]]
+
   {{#ask:[[ {{#titleparts:{{FULLPAGENAME}}|1}}]]
 
   |mainlabel=
 
   |mainlabel=
 
   |? HasPageLabel=
 
   |? HasPageLabel=
Line 22: Line 22:
 
   |template=PagePartTemplate
 
   |template=PagePartTemplate
 
   }}
 
   }}
   {{#ask:[[BelongsToPage::{{#titleparts: {{PAGENAME}}|1}}]]
+
   {{#ask:[[BelongsToPage::{{#titleparts: {{FULLPAGENAME}}|1}}]]
 
   |mainlabel=
 
   |mainlabel=
 
   |? HasPageLabel=
 
   |? HasPageLabel=
Line 30: Line 30:
 
   |format=template
 
   |format=template
 
   |template=PagePartTemplate
 
   |template=PagePartTemplate
   }}{{addInfoPartsTemplate}}</ol>
+
   }}{{addInfoPartsTemplate}}</ol></div>
  </td></tr>
 
  </table>
 
 
|}}
 
|}}

Revision as of 18:15, 29 April 2016

Template to display main page and subpages of an 'object'

{{ContentPartsTemplate
|PagePartHeader=
}}