(update for better article display in other namespaces) |
(header display fix) |
||
Line 1: | Line 1: | ||
<div style="border:1px solid #CCC;">{{{caption|{{#if: {{NAMESPACE}} | {{#ifeq:{{{2|{{NAMESPACE}}}}}:{{{1|{{PAGENAME}}}}}|{{FULLPAGENAME}}| In this {{NAMESPACE}}space | Pages with the prefix '{{{1|{{PAGENAME}}}}}' in the {{#if:{{{2|{{SUBJECTSPACE}}}}} | '{{ | <div style="border:1px solid #CCC;">{{{caption|{{#if: {{NAMESPACE}} | {{#ifeq:{{{2|{{NAMESPACE}}}}}:{{{1|{{PAGENAME}}}}}|{{FULLPAGENAME}}| In this {{NAMESPACE}}space | Pages with the prefix '{{{1|{{PAGENAME}}}}}' in the {{#if:{{{2|{{SUBJECTSPACE}}}}} | '{{{2}}}' | 'Main'}} and '{{#if:{{{2|{{SUBJECTSPACE}}}}} | {{{2}}} talk | Talk}}' namespaces}} | In this Mainspace}}: }}} | ||
<div style="margin-bottom:-1px; padding:0.1em; border-bottom:1px solid #CCC; font-size:0.9em;"> | <div style="margin-bottom:-1px; padding:0.1em; border-bottom:1px solid #CCC; font-size:0.9em;"> |
Revision as of 20:30, 15 March 2013
In this Templatespace:
Template talk:
Template documentationedit documentation
Use this template to list all the subpages of a page.
Usage
{{List subpages}}
shows the subpages of the current page{{List subpages|User:Example}}
shows the subpages of User:Example
Template data
Use this template to list all the subpages of a page.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Page | 1 | Title of the page for which to show the subpages
| Page name | optional |
Hide redirects | hide-redirects | Hide redirects from the list of subpages?
| Boolean | optional |
Strip prefix | strip-prefix | Strip the common prefix from the list of subpages?
| Boolean | optional |