Difference between revisions of "Template:Cat"
From Game Detectives Wiki
[checked revision] | [checked revision] |
(test expand compat) |
|||
Line 1: | Line 1: | ||
<includeonly>{{#switch:{{PAGENAME}} | <includeonly>{{#switch:{{PAGENAME}} | ||
− | |{{ROOTPAGENAME}} = [[Category:{{ROOTPAGENAME}}]] | + | |{{SUBPAGENAME}} = [[Category:{{SUBPAGENAME}}]] |
− | |# | + | |{{ROOTPAGENAME}}/{{SUBPAGENAME}} = [[Category:{{ROOTPAGENAME}}|{{SUBPAGENAME}}]] |
+ | |{{ROOTPAGENAME}}/{{#titleparts:{{PAGENAME}}|1|2}}/{{SUBPAGENAME}} = [[Category:{{ROOTPAGENAME}}|{{#titleparts: {{PAGENAME}} | 1 | 2}}]] | ||
+ | |{{ROOTPAGENAME}}/{{#titleparts:{{PAGENAME}}|1|2}}/{{#titleparts:{{PAGENAME}}|1|3}}/{{SUBPAGENAME}} = [[Category:{{ROOTPAGENAME}}|{{#titleparts: {{PAGENAME}} | 1 | 3}}]] | ||
+ | |{{ROOTPAGENAME}}/{{#titleparts:{{PAGENAME}}|1|2}}/{{#titleparts:{{PAGENAME}}|1|3}}/{{#titleparts:{{PAGENAME}}|1|4}}/{{SUBPAGENAME}} = [[Category:{{ROOTPAGENAME}}|{{#titleparts: {{PAGENAME}} | 1 | 4}}]] | ||
+ | |{{ROOTPAGENAME}}/{{#titleparts:{{PAGENAME}}|1|2}}/{{#titleparts:{{PAGENAME}}|1|3}}/{{#titleparts:{{PAGENAME}}|1|4}}/{{#titleparts:{{PAGENAME}}|1|5}}/{{SUBPAGENAME}} = [[Category:{{ROOTPAGENAME}}|{{#titleparts: {{PAGENAME}} | 1 | 5}}]] | ||
+ | |{{ROOTPAGENAME}}/{{#titleparts:{{PAGENAME}}|1|2}}/{{#titleparts:{{PAGENAME}}|1|3}}/{{#titleparts:{{PAGENAME}}|1|4}}/{{#titleparts:{{PAGENAME}}|1|5}}/{{#titleparts:{{PAGENAME}}|1|6}}/{{SUBPAGENAME}} = [[Category:{{ROOTPAGENAME}}|{{#titleparts: {{PAGENAME}} | 1 | 6}}]] | ||
+ | }}</includeonly> |