Template:ContentPartsTemplate: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Oostenrijr (talk | contribs) No edit summary |
||
(31 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
Template to display | Template to display main page and subpages of an 'object' | ||
<pre> | <pre> | ||
{{ContentPartsTemplate | {{ContentPartsTemplate | ||
|PagePartHeader= | |PagePartHeader= | ||
}} | }} | ||
</pre> | </pre> | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
{{#ifexpr:{{ | {{#ifexpr:{{PropertyTestTemplate | ||
|prop=BelongsToPage | |||
|page= {{#titleparts:{{FULLPAGENAME}}|1}} | |||
|reverse=1}}>0 | |||
| | | | ||
<div class="toc"> | |||
< | <strong>{{{PagePartHeader|}}}</strong> | ||
<ol> | <ol> | ||
{{#ask:[[ {{#titleparts:{{FULLPAGENAME}}|1}}]] | |||
|mainlabel= | |||
|? HasPageLabel= | |||
|link=none | |||
|format=template | |||
|template=PagePartTemplate | |||
}} | |||
{{#ask:[[BelongsToPage::{{#titleparts: {{FULLPAGENAME}}|1}}]] | |||
|mainlabel= | |||
|? HasPageLabel= | |||
|? HasSequence= | |||
|sort=HasSequence | |||
|link=none | |||
|format=template | |||
|template=PagePartTemplate | |||
}}{{addInfoPartsTemplate}}</ol></div> | |||
|}} | |}} | ||
Revision as of 19:15, 29 April 2016
Template to display main page and subpages of an 'object'
{{ContentPartsTemplate |PagePartHeader= }}