Template:ContentPartsTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
 
(10 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">
{{{PagePartHeader|}}}</div>
<strong>{{{PagePartHeader|}}}</strong>
   <ol>
   <ol>
   {{#ask:[[ {{#titleparts:{{PAGENAME}}|1}}]]
   {{#ask:[[ {{#titleparts:{{FULLPAGENAME}}|1}}]][[!AggregatedComponent]]
   |mainlabel=
   |mainlabel=
   |? HasPageLabel=
   |? HasPageLabel=
   |link=none
   |link=none
   |format=template
   |format=Plainlist
   |template=PagePartTemplate
   |template=PagePartTemplate
   }}
   }}
   {{#ask:[[BelongsToPage::{{#titleparts: {{PAGENAME}}|1}}]]
   {{#ask:[[BelongsToPage::{{#titleparts: {{FULLPAGENAME}}|1}}]][[!AggregatedComponent]]
   |mainlabel=
   |mainlabel=
   |? HasPageLabel=
   |? HasPageLabel=
Line 28: Line 28:
   |sort=HasSequence
   |sort=HasSequence
   |link=none
   |link=none
   |format=template
   |format=Plainlist
   |template=PagePartTemplate
   |template=PagePartTemplate
   }}{{addInfoPartsTemplate}}</ol>
   }}{{addInfoPartsTemplate}}</ol></div>
  </td></tr>
  </table>
|}}
|}}

Latest revision as of 16:50, 10 March 2020

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

{{ContentPartsTemplate
|PagePartHeader=
}}