Changes

Jump to navigation Jump to search

Template:FULLROOTPAGENAME

245 bytes added, 09:19, 28 April 2009
Create template to get the full root page name of the given or the current page. Works correctly in namespaces with subpages disabled
{{#if: {{Is subpage namespace | {{#if:{{{1|}}}|{{NAMESPACE:{{{1}}}}}|{{NAMESPACE}}}} }}
| {{#titleparts:{{#if:{{{1|}}}|{{{1}}}|{{FULLPAGENAME}}}}|1}}
| {{#if:{{{1|}}}|{{{1}}}|{{FULLPAGENAME}}}}
}}<noinclude>

{{documentation}}

</noinclude>
Anonymous user

Navigation menu