Template:ContentPartsTemplate: Difference between revisions
Jump to navigation
Jump to search
m (Text replace - "BelongsToTextPage" to "AIBelongsToPage") |
No edit summary |
||
Line 10: | Line 10: | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
{{#ifexpr:{{PropertyTestTemplate | {{#ifexpr:{{PropertyTestTemplate | ||
|prop= | |prop=BelongsToPage | ||
|page= {{#titleparts:{{PAGENAME}}|1}} | |page= {{#titleparts:{{PAGENAME}}|1}} | ||
|reverse=1}}>0 | |reverse=1}}>0 | ||
Line 33: | Line 33: | ||
}} | }} | ||
{{#ifexpr:{{PropertyTestTemplate | {{#ifexpr:{{PropertyTestTemplate | ||
|prop= | |prop=AIBelongsToPage | ||
|page= {{#titleparts:{{PAGENAME}}|1}} | |page={{#titleparts:{{PAGENAME}}|1}} | ||
|reverse=1}}>0 | |reverse=1}} >0 | ||
| | | | ||
<div style="text-indent:50px">Additional info </div> | |||
{{#ask:[[AIBelongsToPage::{{#titleparts: {{PAGENAME}}|1}}]] | {{#ask:[[AIBelongsToPage::{{#titleparts:{{PAGENAME}}|1}}]]}} | ||
|mainlabel= | |mainlabel= | ||
|mainlabel= | |mainlabel= | ||
Line 45: | Line 45: | ||
|template=PagePartTemplate | |template=PagePartTemplate | ||
}} | }} | ||
|}} | |}} | ||
</ol></td></tr> | </ol></td></tr> | ||
</table> | </table>|}} | ||
|}} |
Revision as of 18:06, 10 January 2014
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 }}