No edit summary |
(added text for Main space) |
||
Line 1: | Line 1: | ||
<div style="border:1px solid #CCC;"> | <div style="border:1px solid #CCC;"> | ||
{{{caption|{{#ifeq:{{{2|{{NAMESPACE}}}}}:{{{1|{{PAGENAME}}}}}|{{FULLPAGENAME}}|In this {{NAMESPACE}}space|Pages with the prefix '{{{1|{{PAGENAME}}}}}' in the | {{{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|{{TALKSPACE}}}}' namespaces}}:}}}<div style="margin-bottom:-1px; padding:0.1em; border-bottom:1px solid #CCC; font-size:0.9em;">{{#if:{{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="margin-bottom:-1px; padding:0.1em; border-bottom:1px solid #CCC; font-size:0.9em;">{{{ | |||
<div style="padding:2px; font-size:0.9em;">{{#if:{{{2|}}}|{{{2}}} talk|{{TALKSPACE}}}}: {{#ifexist:{{{2|{{TALKSPACE}}}}}:{{{1|{{PAGENAME}}}}}|<br />[[{{{2|{{TALKSPACE}}}}}:{{{1|{{PAGENAME}}}}}|{{{1|{{PAGENAME}}}}}]]<br />}}{{Special:Prefixindex/{{#if:{{{2|}}}|{{{2}}} talk|{{TALKSPACE}}}}:{{{1|{{PAGENAME}}}}}/}} | <div style="padding:2px; font-size:0.9em;">{{#if:{{{2|}}}|{{{2}}} talk|{{TALKSPACE}}}}: {{#ifexist:{{{2|{{TALKSPACE}}}}}:{{{1|{{PAGENAME}}}}}|<br />[[{{{2|{{TALKSPACE}}}}}:{{{1|{{PAGENAME}}}}}|{{{1|{{PAGENAME}}}}}]]<br />}}{{Special:Prefixindex/{{#if:{{{2|}}}|{{{2}}} talk|{{TALKSPACE}}}}:{{{1|{{PAGENAME}}}}}/}} | ||
</div></div><noinclude>{{documentation}}</noinclude> | </div></div><noinclude>{{documentation}}</noinclude> |
Revision as of 21:20, 26 January 2012
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 |