Difference between revisions of "Template:List subpages"

From The TTSCpedia
Jump to navigationJump to search
Therofl98
Therofl98 (talk | contribs) (Created page with "<noinclude> <languages /> </noinclude><div style="border:1px solid #CCC;"> {{{caption |{{#ifeq:{{{2|{{NAMESPACE}}}}}:{{{1|{{PAGENAME}}}}}|{{FULLPAGENAME}} |<translate><...")
 
Therofl98
Therofl98 (talk | contribs) (Undo revision 11261 by Therofl98 (talk))
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
<languages />
 
 
</noinclude><div style="border:1px solid #CCC;">
 
</noinclude><div style="border:1px solid #CCC;">
 
{{{caption
 
{{{caption
 
   |{{#ifeq:{{{2|{{NAMESPACE}}}}}:{{{1|{{PAGENAME}}}}}|{{FULLPAGENAME}}
 
   |{{#ifeq:{{{2|{{NAMESPACE}}}}}:{{{1|{{PAGENAME}}}}}|{{FULLPAGENAME}}
     |<translate><!--T:1--> In this {{NAMESPACE}}space:</translate>
+
     |<!--T:1--> In this {{NAMESPACE}}space:
     |<translate><!--T:2--> Pages with the prefix '<tvar|1>{{{1|{{PAGENAME}}}}}</>' in the '<tvar|2>{{{2|{{SUBJECTSPACE}}}}}</>' and '<tvar|3>{{#if:{{{2|}}}|{{{2}}} talk|{{TALKSPACE}}}}</>' namespaces:</translate>
+
     |<!--T:2--> Pages with the prefix '<tvar|1>{{{1|{{PAGENAME}}}}}</>' in the '<tvar|2>{{{2|{{SUBJECTSPACE}}}}}</>' and '<tvar|3>{{#if:{{{2|}}}|{{{2}}} talk|{{TALKSPACE}}}}</>' namespaces:
 
   }}
 
   }}
 
}}}<!--
 
}}}<!--

Latest revision as of 22:18, 20 February 2022

In this Templatespace:

Template:
List subpages
Template talk:
Template documentation

Usage

This template lists all pages in a given namespace and prefix (see Example). All parameters are optional, and default to the current page name, namespace, and corresponding talk space.

{{List subpages|prefix|content namespace|caption=Foo}}

Example

{{list subpages|Ollieinc|User}}

Pages with the prefix '<tvar

User:

User talk:

See also