No edit summary |
add Template Data |
||
Line 9: | Line 9: | ||
The parser hook used comes from the [[mw:Extension:SubPageList]] extension, and the documentation gives further examples of customizing the output https://github.com/ProfessionalWiki/SubPageList/blob/master/doc/USAGE.md | The parser hook used comes from the [[mw:Extension:SubPageList]] extension, and the documentation gives further examples of customizing the output https://github.com/ProfessionalWiki/SubPageList/blob/master/doc/USAGE.md | ||
<templatedata> | |||
{ | |||
"params": {}, | |||
"description": "Simple template to create a heading and invoke the #subpages parser function.", | |||
"format": "inline" | |||
} | |||
</templatedata> |
Revision as of 09:08, 4 September 2025
This template just adds a heading above the SubPageList parser function call.
By transcluding this template with {{Subpages}}, you get
== Subpages == {{#subpages:}}
wherever you want to show a list of links to subpages.
The parser hook used comes from the mw:Extension:SubPageList extension, and the documentation gives further examples of customizing the output https://github.com/ProfessionalWiki/SubPageList/blob/master/doc/USAGE.md
Simple template to create a heading and invoke the #subpages parser function.
Parameter | Description | Type | Status | |||
---|---|---|---|---|---|---|
No parameters specified |