Jump to content

Template:Subpages: Difference between revisions

From dissonant.dev wiki
Created page with "<noinclude> <templatedata> { "params": {}, "description": "List subpages of the page.", "format": "block" } </templatedata> </noinclude><includeonly>{{Special:PrefixIndex/{{FULLPAGENAME}}|hideredirects=yes}}</includeonly>"
 
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 2: Line 2:
<templatedata>
<templatedata>
{
{
"params": {},
"params": {
"1": {
"aliases": [
"page"
],
"label": "Page",
"description": "Page to show subpages for; defaults to current page.",
"type": "wiki-page-name",
"default": "Current page name.",
"autovalue": "{{FULLPAGENAME}}/"
},
"stripprefix": {
"label": "Strip prefix",
"description": "Whether or not to show the category prefix.",
"example": "yes",
"type": "boolean",
"default": "No",
"autovalue": "no"
}
},
"description": "List subpages of the page.",
"description": "List subpages of the page.",
"format": "block"
"format": "inline"
}
}
</templatedata>
</templatedata>
</noinclude><includeonly>{{Special:PrefixIndex/{{FULLPAGENAME}}|hideredirects=yes}}</includeonly>
</noinclude><includeonly>{{Special:PrefixIndex/{{{page|{{{1|{{FULLPAGENAME}}/}}}}}}|hideredirects=yes|stripprefix={{#if:{{{stripprefix|}}}|yes|}}}}</includeonly>

Latest revision as of 17:05, 20 January 2025

List subpages of the page.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Page1 page

Page to show subpages for; defaults to current page.

Default
Current page name.
Auto value
{{FULLPAGENAME}}/
Page nameoptional
Strip prefixstripprefix

Whether or not to show the category prefix.

Default
No
Example
yes
Auto value
no
Booleanoptional