Template:Subpages: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 11: | Line 11: | ||
"type": "wiki-page-name", | "type": "wiki-page-name", | ||
"default": "Current page name.", | "default": "Current page name.", | ||
"autovalue": "{{FULLPAGENAME}}" | "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": " | "format": "inline" | ||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude><includeonly>{{Special:PrefixIndex/{{{page|{{{1|{{FULLPAGENAME}}}}}}}}|stripprefix= | </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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Page | 1 page | Page to show subpages for; defaults to current page.
| Page name | optional |
Strip prefix | stripprefix | Whether or not to show the category prefix.
| Boolean | optional |