Template:FULLROOTPAGENAME: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Amalthea Create template to get the full root page name of the given or the current page. Works correctly in namespaces with subpages disabled |
m 1 revision imported |
||
(8 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
{{#if: {{ | {{ safesubst:<noinclude/>#if: {{ safesubst:<noinclude/>Ns has subpages | {{ safesubst:<noinclude/>#if:{{{1|}}}|{{ safesubst:<noinclude/>NAMESPACE:{{{1}}}}}|{{ safesubst:<noinclude/>NAMESPACE}}}} }} | ||
| {{#titleparts:{{#if:{{{1|}}}|{{{1}}}|{{FULLPAGENAME}}}}|1}} | | {{ safesubst:<noinclude/>#titleparts:{{ safesubst:<noinclude/>#if:{{{1|}}}|{{{1}}}|{{ safesubst:<noinclude/>FULLPAGENAME}}}}|1}} | ||
| {{#if:{{{1|}}}|{{{1}}}|{{FULLPAGENAME}}}} | | {{ safesubst:<noinclude/>#if:{{{1|}}}|{{{1}}}|{{ safesubst:<noinclude/>FULLPAGENAME}}}} | ||
}}<noinclude> | }}<noinclude> | ||