(update for better article display in other namespaces)
(bracket fix)
(3 intermediate revisions by the same user not shown)
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}}}}} | '{{SUBJECTSPACE}}' | 'Main'}} and '{{#if:{{{2|{{SUBJECTSPACE}}}}} | {{{2}}} talk | Talk}}' namespaces}} | In this Mainspace}}: }}}
<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;">{{#if:{{{2|{{SUBJECTSPACE}}}}} | {{#ifeq:{{{2|{{NAMESPACE}}}}}|{{SUBJECTSPACE}} | {{SUBJECTSPACE}} | {{{2|}}} }}| Main }}: {{#ifexist:{{{2|{{SUBJECTSPACE}}}}}:{{{1|{{PAGENAME}}}}} | <br />[[{{{2|{{SUBJECTSPACE}}}}}:{{{1|{{PAGENAME}}}}} | {{{1|{{PAGENAME}}}}}]]<br />}}{{Special:Prefixindex/{{{2|{{SUBJECTSPACE}}}}}:{{{1|{{PAGENAME}}}}}/}}</div>
{{#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>
<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>
 
{{documentation}}</noinclude>

Revision as of 16:27, 16 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.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Page1

Title of the page for which to show the subpages

Default
Current page
Example
User:Sophivorus
Page nameoptional
Hide redirectshide-redirects

Hide redirects from the list of subpages?

Default
yes
Example
no
Booleanoptional
Strip prefixstrip-prefix

Strip the common prefix from the list of subpages?

Default
yes
Example
no
Booleanoptional
Cookies help us deliver our services. By using our services, you agree to our use of cookies.