Template:Cat: Difference between revisions
Jump to navigation
Jump to search
Change to conditionally check if subpage or not |
Experimental |
||
| Line 1: | Line 1: | ||
<includeonly>{{# | <includeonly>{{#switch:{{ROOTPAGENAME}} | ||
|{{PAGENAME}} = [[Category:{{ROOTPAGENAME}}]] | |||
|#default = [[Category:{{ROOTPAGENAME}}|{{#titleparts: {{PAGENAME}} | 1 | 2}}]]}}</includeonly> | |||