Template:Subpages/doc: Difference between revisions

expand included content
No edit summary
Line 1: Line 1:
This template just adds a heading above the SubPageList parser function call.
This template just adds a heading above the [https://github.com/ProfessionalWiki/SubPageList/blob/master/doc/USAGE.md SubPageList] parser function call.


By transcluding this template with <nowiki>{{Subpages}}</nowiki>, you get
{{Messagebox
You '''must''' pass an empty argument (the pipe character) in order to get the correct output due to a quirk with how template calls are given default arguments that would otherwise change the output of the parser function.
}}
 
By transcluding this template with <nowiki>{{Subpages|}}</nowiki>, you get
<pre>
<pre>
{{#subpages:
{{#subpages: