Template:Subpages: Difference between revisions

No edit summary
No edit summary
 
(3 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"
}
}
},
},
Line 18: Line 26:
}
}
</templatedata>
</templatedata>
</noinclude><includeonly>{{Special:PrefixIndex/{{{page|{{{1|{{FULLPAGENAME}}}}}}}}|stripprefix=1|hideredirects=yes}}</includeonly>
</noinclude><includeonly>{{Special:PrefixIndex/{{{page|{{{1|{{FULLPAGENAME}}/}}}}}}|hideredirects=yes|stripprefix={{#if:{{{stripprefix|}}}|yes|}}}}</includeonly>