Template:List subpages: Difference between revisions

From Black Cat Studios
Jump to navigationJump to search
en>Aseleste
(edit: template: from Special:Permalink/1024588911)
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<div style="border:1px solid #CCC;">
<noinclude>
<languages />
</noinclude><div style="border:1px solid #CCC;">
{{{caption
{{{caption
   |{{#ifeq:{{{2|{{NAMESPACE}}}}}:{{{1|{{PAGENAME}}}}}|{{FULLPAGENAME}}
   |{{#ifeq:{{{2|{{NAMESPACE}}}}}:{{{1|{{PAGENAME}}}}}|{{FULLPAGENAME}}
     |In this {{lcfirst:{{NAMESPACE}}}}space
     |<translate><!--T:1--> In this {{NAMESPACE}}space:</translate>
     |Pages with the prefix '{{{1|{{PAGENAME}}}}}' in the '{{if empty|{{{2|}}}|{{SUBJECTSPACE}}}}' and '{{#if:{{{2|}}}|{{{2}}} talk|{{TALKSPACE}}}}' namespaces
     |<translate><!--T:2--> Pages with the prefix '<tvar name=1>{{{1|{{PAGENAME}}}}}</tvar>' in the '<tvar name=2>{{{2|{{SUBJECTSPACE}}}}}</tvar>' and '<tvar name=3>{{#if:{{{2|}}}|{{{2}}} talk|{{TALKSPACE}}}}</tvar>' namespaces:</translate>
   }}:
   }}
}}}<!--
}}}<!--
-->{{#ifeq:{{YesNo-No|{{{no subject namespace|}}}}}|no|<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;">
{{{2|{{SUBJECTSPACE}}}}}:{{#ifexist:{{{2|{{SUBJECTSPACE}}}}}:{{{1|{{PAGENAME}}}}}
{{{2|{{SUBJECTSPACE}}}}}:{{#ifexist:{{{2|{{SUBJECTSPACE}}}}}:{{{1|{{PAGENAME}}}}}
   |<table><tr><td>[[{{{2|{{SUBJECTSPACE}}}}}:{{{1|{{PAGENAME}}}}}|{{{1|{{PAGENAME}}}}}]]</td></tr></table>
   |<table><tr><td>[[{{{2|{{SUBJECTSPACE}}}}}:{{{1|{{PAGENAME}}}}}|{{{1|{{PAGENAME}}}}}]]</td></tr></table>
}}{{Special:Prefixindex/{{{2|{{SUBJECTSPACE}}}}}:{{{1|{{PAGENAME}}}}}/}}
}}
</div>|}}
{{Special:Prefixindex/{{{2|{{SUBJECTSPACE}}}}}:{{{1|{{PAGENAME}}}}}/}}
{{#ifeq:{{YesNo-No|{{{no talk namespace|}}}}}|no|<div style="padding:2px; font-size:0.9em;">{{#if:{{{2|}}}|{{{2}}} talk|{{TALKSPACE}}}}:{{#ifexist:{{#if:{{{2|}}}|{{{2}}} talk|{{TALKSPACE}}}}:{{{1|{{PAGENAME}}}}}
</div>
<div style="padding:2px; font-size:0.9em;">{{#if:{{{2|}}}|{{{2}}} talk|{{TALKSPACE}}}}:{{#ifexist:{{#if:{{{2|}}}|{{{2}}} talk|{{TALKSPACE}}}}:{{{1|{{PAGENAME}}}}}
   |<table><tr><td>[[{{#if:{{{2|}}}|{{{2}}} talk|{{TALKSPACE}}}}:{{{1|{{PAGENAME}}}}}|{{{1|{{PAGENAME}}}}}]]</td></tr></table>
   |<table><tr><td>[[{{#if:{{{2|}}}|{{{2}}} talk|{{TALKSPACE}}}}:{{{1|{{PAGENAME}}}}}|{{{1|{{PAGENAME}}}}}]]</td></tr></table>
}}{{Special:Prefixindex/{{#if:{{{2|}}}|{{{2}}} talk|{{TALKSPACE}}}}:{{{1|{{PAGENAME}}}}}/}}
}}
</div>|}}</div><noinclude>
{{Special:Prefixindex/{{#if:{{{2|}}}|{{{2}}} talk|{{TALKSPACE}}}}:{{{1|{{PAGENAME}}}}}/}}
{{Documentation}}
</div></div><noinclude>
{{Documentation|content=
{{Intricate template}}
<translate>
== Usage == <!--T:3-->
</translate>
<translate><!--T:4--> This template lists all pages in a given namespace and prefix (see [[<tvar name=1>#Example</tvar>|Example]]).</translate>
<translate><!--T:5--> All parameters are optional, and default to the current page name, namespace, and corresponding talk space.</translate>
 
<pre>{{List subpages|prefix|content namespace|caption=Foo}}</pre>
 
{{anchor|Example}}
<translate>
== Example == <!--T:6-->
</translate>
<pre>{{list subpages|Ollieinc|User}}</pre>
{{list subpages|Ollieinc|User}}
 
<translate>
==See also== <!--T:7-->
</translate>
* {{tl|subpages}} - <translate><!--T:8--> link to subpage index</translate>
 
[[Category:Search templates{{#translation:}}]]
[[Category:Formatting templates{{#translation:}}]]
}}
</noinclude>
</noinclude>

Latest revision as of 02:29, 20 June 2023

<languages />

<translate> In this Templatespace:</translate>

Template talk: