Template:Subpages/doc: Difference between revisions

add Template Data
expand included content
Line 3: Line 3:
By transcluding this template with <nowiki>{{Subpages}}</nowiki>, you get
By transcluding this template with <nowiki>{{Subpages}}</nowiki>, you get
<pre>
<pre>
== Subpages ==
{{#subpages:
{{#subpages:}}
page={{PAGENAME}}
|format=ul
|default="There are no subpages of the current page"}}
</pre>
</pre>
wherever you want to show a list of links to subpages.
wherever you want to show a list of links to subpages.