Difference between revisions of "Template:Subpages"

From
Jump to: navigation, search
m
m
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
__NOTOC__
 +
=Function=
 +
 
Prints the subpages of the current page.
 
Prints the subpages of the current page.
  
The syntax...
+
=Syntax=
 +
 
 +
Writing...
  
 
  <nowiki>{{Subpages|heading}}</nowiki>
 
  <nowiki>{{Subpages|heading}}</nowiki>
Line 21: Line 26:
 
</div>
 
</div>
  
Template code starts here.
+
=Wikitext=
----
+
 
 +
''Transclusion starts from here.''
  
 
<onlyinclude>
 
<onlyinclude>

Latest revision as of 08:07, 27 August 2020

Function[edit]

Prints the subpages of the current page.

Syntax[edit]

Writing...

{{Subpages|heading}}

outputs the following:

Subpages[edit]


...while...

{{Subpages|mbox}}

outputs the following:

Wikitext[edit]

Transclusion starts from here.