Template:PageDistrictPath: Difference between revisions

From Shadow Chronicles - Mortal
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{#ifeq:{{lc:{{#sub:{{FULLPAGENAME}}|0|8}}}}|category|
<includeonly>{{#ifeq:{{lc:{{#sub:{{FULLPAGENAME}}|0|8}}}}|category|{{#iferror:{{#expr:{{#sub:{{FULLPAGENAME}}|-4}}}}|{{#iferror:{{#expr:{{#sub:{{FULLPAGENAME}}|-3}}}}|{{#iferror:{{#expr:{{#sub:{{FULLPAGENAME}}|-2}}}}|{{#iferror:{{#expr:{{#sub:{{FULLPAGENAME}}|-1}}}}|{{#iferror:{{#expr:{{#sub:{{FULLPAGENAME}}|-0}}}}|[[Category:Districts]]}}|[[{{#sub:{{FULLPAGENAME}}|0|-2}}]]}}|[[{{#sub:{{FULLPAGENAME}}|0|-2}}]]}}|[[{{#sub:{{FULLPAGENAME}}|0|-3}}]]}}|}}}}</includeonly><noinclude>
{{#iferror:{{#expr:{{#sub:{{FULLPAGENAME}}|-4}}}}|
{{#iferror:{{#expr:{{#sub:{{FULLPAGENAME}}|-3}}}}|
{{#iferror:{{#expr:{{#sub:{{FULLPAGENAME}}|-2}}}}|
{{#iferror:{{#expr:{{#sub:{{FULLPAGENAME}}|-1}}}}|
{{#iferror:{{#expr:{{#sub:{{FULLPAGENAME}}|-0}}}}|
[[Category:Districts]]}}|
[[{{#sub:{{FULLPAGENAME}}|0|-2}}]]}}|
[[{{#sub:{{FULLPAGENAME}}|0|-2}}]]}}|
[[{{#sub:{{FULLPAGENAME}}|0|-3}}]]}}|}}}}</includeonly><noinclude>
 
==Example use==
==Example use==
  <nowiki>{{pageDistrictPath}}</nowiki>
  <nowiki>{{pageDistrictPath}}</nowiki>
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Revision as of 19:29, 5 January 2019

Example use

{{pageDistrictPath}}