Template:PageDistrictPath: Difference between revisions

From Shadow Chronicles - Mortal
Jump to navigation Jump to search
No edit summary
No edit summary
 
(20 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#ifeq:{{lc:{{#sub:{{FULLPAGENAME}}|0|8}}}}|category|{{#ifeq:{{FULLPAGENAME}}|{{#sub:{{FULLPAGENAME}}|0|-4}}|A1|
<includeonly>{{#ifeq:{{lc:{{#sub:{{FULLPAGENAME}}|0|8}}}}|category|
{{#ifeq:{{FULLPAGENAME}}|{{#sub:{{FULLPAGENAME}}|0|-4}}|{{#sub:{{FULLPAGENAME}}|0|4}}|
{{#iferror:{{#expr:{{#sub:{{FULLPAGENAME}}|-4}}}}|
{{#ifeq:{{FULLPAGENAME}}|{{#sub:{{FULLPAGENAME}}|0|-3}}|{{#sub:{{FULLPAGENAME}}|0|3}}|
{{#iferror:{{#expr:{{#sub:{{FULLPAGENAME}}|-3}}}}|
{{#ifeq:{{FULLPAGENAME}}|{{#sub:{{FULLPAGENAME}}|0|-2}}|{{#sub:{{FULLPAGENAME}}|0|2}}|
{{#iferror:{{#expr:{{#sub:{{FULLPAGENAME}}|-2}}}}|
{{#ifeq:{{FULLPAGENAME}}|{{#sub:{{FULLPAGENAME}}|0|-1}}|{{#sub:{{FULLPAGENAME}}|0|1}}|
{{#iferror:{{#expr:{{#sub:{{FULLPAGENAME}}|-1}}}}|
{{#ifeq:{{FULLPAGENAME}}|{{#sub:{{FULLPAGENAME}}|0|-0}}|{{#sub:{{FULLPAGENAME}}|0|0}}|
{{#iferror:{{#expr:{{#sub:{{FULLPAGENAME}}|-0}}}}|
}}}}}}}}}}
<!--if nothing-->}}|
 
{{#ifeq:{{#sub:{{FULLPAGENAME}}|-2|-1}}| : |[[{{#sub:{{FULLPAGENAME}}|0|-2}}]]}}}}|
{{#sub:{{FULLPAGENAME}}|0|-4}}
{{#ifeq:{{#sub:{{FULLPAGENAME}}|-2|-1}}|   |[[{{#sub:{{FULLPAGENAME}}|0|-2}}]]}}}}|
{{#sub:{{FULLPAGENAME}}|0|-3}}
{{#ifeq:{{#sub:{{FULLPAGENAME}}|-3|-2}}|  |[[{{#sub:{{FULLPAGENAME}}|0|-3}}]]}}}}|
{{#sub:{{FULLPAGENAME}}|0|-2}}
<!--If all false-->
{{#sub:{{FULLPAGENAME}}|0|-1}}
}}
 
}}</includeonly><noinclude>
 
</includeonly><noinclude>
 
==Example use==
==Example use==
  <nowiki>{{pageDistrictPath}}</nowiki>
  <nowiki>{{pageDistrictPath}}</nowiki>
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Latest revision as of 04:14, 6 January 2019

Example use

{{pageDistrictPath}}