(Undo) |
(update for better article display in other namespaces) |
||
Line 1: | Line 1: | ||
<div style="border:1px solid #CCC;"> | <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}}}}} | '{{SUBJECTSPACE}}' | 'Main'}} and '{{#if:{{{2|{{SUBJECTSPACE}}}}} | {{{2}}} talk | Talk}}' namespaces}} | In this Mainspace}}: }}} | ||
{{{caption|{{#ifeq:{{{2|{{NAMESPACE}}}}}:{{{1|{{PAGENAME}}}}}|{{FULLPAGENAME}}|In this {{NAMESPACE}}space|Pages with the prefix '{{{1|{{PAGENAME}}}}}' in the {{#if:{{SUBJECTSPACE}}|'{{SUBJECTSPACE}}'|Main}} and '{{#if:{{{2|}}}|{{{2}}} talk| | |||
<div style="padding:2px; font-size:0.9em;">{{#if:{{{2|}}}|{{{2}}} talk| | <div style="margin-bottom:-1px; padding:0.1em; border-bottom:1px solid #CCC; font-size:0.9em;"> | ||
</div></div><noinclude>{{documentation}}</noinclude> | {{#if:{{{2|{{SUBJECTSPACE}}}}} | {{SUBJECTSPACE}} | Main}}: | ||
{{#ifexist:{{{2|{{SUBJECTSPACE}}}}}:{{{1|{{PAGENAME}}}}} | <br />[[{{{2|{{SUBJECTSPACE}}}}}:{{{1|{{PAGENAME}}}}} | {{{1|{{PAGENAME}}}}}]]<br />}}{{Special:Prefixindex/{{{2|{{SUBJECTSPACE}}}}}:{{{1|{{PAGENAME}}}}}/}}</div> | |||
<div style="padding:2px; font-size:0.9em;">{{#if:{{{2|{{SUBJECTSPACE}}}}}| {{{2|{{SUBJECTSPACE}}}}} talk| Talk}}: {{#ifexist: {{#if:{{{2|{{SUBJECTSPACE}}}}} | {{{2|{{SUBJECTSPACE}}}}} talk | Talk}} :{{{1|{{PAGENAME}}}}} | <br />[[{{{2|{{SUBJECTSPACE}}}}} talk:{{{1|{{PAGENAME}}}}}|{{{1|{{PAGENAME}}}}}]]<br />}} {{Special:Prefixindex/ {{#if:{{{2|{{SUBJECTSPACE}}}}} | {{{2|{{SUBJECTSPACE}}}}} talk | Talk}} :{{{1|{{PAGENAME}}}}}/}}</div></div><noinclude> | |||
{{documentation}}</noinclude> |
Revision as of 19:38, 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 |