(fixed region) |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{#ifeq: {{#titleparts:{{{1|{{PAGENAME}}}}}|1}}| | {{#ifeq: {{#titleparts:{{{1|{{PAGENAME}}}}}|1}}| Pakistan<!-- If Pakistan template page --> | ||
| {{#ifeq: {{#titleparts:{{{1|{{PAGENAME}}}}}|1|2}}| CommonState<!-- If template --> | | {{#ifeq: {{#titleparts:{{{1|{{PAGENAME}}}}}|1|2}}| CommonState<!-- If template --> | ||
| {{#titleparts:{{{1|{{PAGENAME}}}}}|2}}<!-- Return " | | {{#titleparts:{{{1|{{PAGENAME}}}}}|2}}<!-- Return "Pakistan/CommonState"--> | ||
| {{#ifeq: {{padright:|4|{{#titleparts:{{{1|{{PAGENAME}}}}}|1|3}}}}|Test<!-- If 2nd level = "Test..." --> | | {{#ifeq: {{padright:|4|{{#titleparts:{{{1|{{PAGENAME}}}}}|1|3}}}}|Test<!-- If 2nd level = "Test..." --> | ||
| {{#titleparts:{{{1|{{PAGENAME}}}}}|3}}<!-- Return | | {{#titleparts:{{{1|{{PAGENAME}}}}}|3}}<!-- Return Pakistan + 2 --> | ||
| {{#titleparts:{{{1|{{PAGENAME}}}}}|2}}<!-- Else | | {{#titleparts:{{{1|{{PAGENAME}}}}}|2}}<!-- Else Pakistan + 1 --> | ||
}}<!-- End ifeq Test--> | }}<!-- End ifeq Test--> | ||
}}<!-- End ifeq CommonState--> | }}<!-- End ifeq CommonState--> |