Template:FULLROOTPAGENAME/doc
{{#ifeq: doc | doc
|
{{
#ifeq: show | show | {{ {{#switch: {{#if: | | {{#if: | {{#ifeq:| | talk | }} | {{#ifeq:template|template talk | talk | template }} }} }}
| main | = ambox | talk = tmbox | user = ombox | wikipedia = ombox | file | image = imbox | mediawiki = ombox | template = ombox | help = ombox | category = cmbox | portal = ombox | book = ombox | other | #default = ombox
}}
| type = notice
| image = File:Edit-copy green.svg
| imageright =
| style =
| textstyle =
| text = This is a documentation subpage for Template:FULLROOTPAGENAME.
It contains usage information, categories, interlanguage links and other content that is not part of the original {{ #if: | {{{text2}}} | {{ #if: | {{{text1}}} | {{ #ifeq: Template | User | template template page | {{ #if: Template |template page|article}}}}}}}}.
| small =
| smallimage =
| smallimageright =
| smalltext =
}}
}}{{ #if: | | [[Category:{{ #if: Template | Template | Article }} documentation {{#ifeq:Template|Template|pages}}]] }}
| }}
Get the full root page name of the current or the given page. It is similar to the magic word {{FULLBASEPAGENAME}}, but returns the root of the page hierarchy instead of the parent. In namespaces with no subpages, it will return either the given pagename or {{FULLPAGENAME}}.
This template can be substituted.
Usage
- {{{{#if:|subst:}}FULLROOTPAGENAME{{#if:|
|{{{2}}} }}{{#if:| |{{{3}}} }}{{#if:| |{{{4}}} }}{{#if:| |{{{5}}} }}{{#if:| |{{{6}}} }}{{#if:| |{{{7}}} }}{{#if:| |{{{8}}} }}{{#if:| |{{{9}}} }}{{#if:| |{{{10}}} }}{{#if:| |{{{11}}} }}{{#if:| |... }}}} → {{ safesubst:#if: Template:Ns has subpages
| {{ safesubst:#titleparts:{{ safesubst:#if:|{{{1}}}|Template:FULLROOTPAGENAME/doc}}|1}} | {{ safesubst:#if:|{{{1}}}|Template:FULLROOTPAGENAME/doc}}
}}
- {{{{#if:|subst:}}FULLROOTPAGENAME{{#if:|
| }}{{#if:| |{{{3}}} }}{{#if:| |{{{4}}} }}{{#if:| |{{{5}}} }}{{#if:| |{{{6}}} }}{{#if:| |{{{7}}} }}{{#if:| |{{{8}}} }}{{#if:| |{{{9}}} }}{{#if:| |{{{10}}} }}{{#if:| |{{{11}}} }}{{#if:| |... }}}} → {{ safesubst:#if: Template:Ns has subpages
| {{ safesubst:#titleparts:{{ safesubst:#if:||Template:FULLROOTPAGENAME/doc}}|1}} | {{ safesubst:#if:||Template:FULLROOTPAGENAME/doc}}
}}
- {{{{#if:|subst:}}FULLROOTPAGENAME{{#if:Wikipedia:Administrators' noticeboard/Arbitration enforcement/Archive1|
|Wikipedia:Administrators' noticeboard/Arbitration enforcement/Archive1 }}{{#if:| |{{{3}}} }}{{#if:| |{{{4}}} }}{{#if:| |{{{5}}} }}{{#if:| |{{{6}}} }}{{#if:| |{{{7}}} }}{{#if:| |{{{8}}} }}{{#if:| |{{{9}}} }}{{#if:| |{{{10}}} }}{{#if:| |{{{11}}} }}{{#if:| |... }}}} → {{ safesubst:#if: Template:Ns has subpages
| {{ safesubst:#titleparts:{{ safesubst:#if:Wikipedia:Administrators' noticeboard/Arbitration enforcement/Archive1|Wikipedia:Administrators' noticeboard/Arbitration enforcement/Archive1|Template:FULLROOTPAGENAME/doc}}|1}} | {{ safesubst:#if:Wikipedia:Administrators' noticeboard/Arbitration enforcement/Archive1|Wikipedia:Administrators' noticeboard/Arbitration enforcement/Archive1|Template:FULLROOTPAGENAME/doc}}
}}
- {{{{#if:|subst:}}FULLROOTPAGENAME{{#if:List of 28 Days/Weeks Later characters|
|List of 28 Days/Weeks Later characters }}{{#if:| |{{{3}}} }}{{#if:| |{{{4}}} }}{{#if:| |{{{5}}} }}{{#if:| |{{{6}}} }}{{#if:| |{{{7}}} }}{{#if:| |{{{8}}} }}{{#if:| |{{{9}}} }}{{#if:| |{{{10}}} }}{{#if:| |{{{11}}} }}{{#if:| |... }}}} → {{ safesubst:#if: Template:Ns has subpages
| {{ safesubst:#titleparts:{{ safesubst:#if:List of 28 Days/Weeks Later characters|List of 28 Days/Weeks Later characters|Template:FULLROOTPAGENAME/doc}}|1}} | {{ safesubst:#if:List of 28 Days/Weeks Later characters|List of 28 Days/Weeks Later characters|Template:FULLROOTPAGENAME/doc}}
}}
See also