Difference between revisions of "Template:Cat"
From Game Detectives Wiki
[checked revision] | [checked revision] |
(Experimental) |
(test expand compat) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{{#switch:{{ROOTPAGENAME}} | + | <includeonly>{{#switch:{{PAGENAME}} |
− | |{{PAGENAME}} = [[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> |