Template:FULLBASEPAGENAME/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:FULLBASEPAGENAME.
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 fully qualified base page name of the current or the given page. It is similar to the magic word {{BASEPAGENAME}}, but prepends the namespace of the page.
Usage
- {{{{#if:|subst:}}FULLBASEPAGENAME{{#if:|
|{{{2}}} }}{{#if:| |{{{3}}} }}{{#if:| |{{{4}}} }}{{#if:| |{{{5}}} }}{{#if:| |{{{6}}} }}{{#if:| |{{{7}}} }}{{#if:| |{{{8}}} }}{{#if:| |{{{9}}} }}{{#if:| |{{{10}}} }}{{#if:| |{{{11}}} }}{{#if:| |... }}}} → {{#if: Template:Is subpage namespace
| {{#if: {{#titleparts:{{#if:|{{{1}}}|Template:FULLBASEPAGENAME/doc}}|-1}} | {{#titleparts:{{#if:|{{{1}}}|Template:FULLBASEPAGENAME/doc}}|-1}} | {{#if:|{{{1}}}|Template:FULLBASEPAGENAME/doc}} }} | {{#if:|{{{1}}}|Template:FULLBASEPAGENAME/doc}}
}}
- {{{{#if:|subst:}}FULLBASEPAGENAME{{#if:|
| }}{{#if:| |{{{3}}} }}{{#if:| |{{{4}}} }}{{#if:| |{{{5}}} }}{{#if:| |{{{6}}} }}{{#if:| |{{{7}}} }}{{#if:| |{{{8}}} }}{{#if:| |{{{9}}} }}{{#if:| |{{{10}}} }}{{#if:| |{{{11}}} }}{{#if:| |... }}}} → {{#if: Template:Is subpage namespace
| {{#if: {{#titleparts:{{#if:||Template:FULLBASEPAGENAME/doc}}|-1}} | {{#titleparts:{{#if:||Template:FULLBASEPAGENAME/doc}}|-1}} | {{#if:||Template:FULLBASEPAGENAME/doc}} }} | {{#if:||Template:FULLBASEPAGENAME/doc}}
}}
- {{{{#if:|subst:}}FULLBASEPAGENAME{{#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:| |... }}}} → {{#if: Template:Is subpage namespace
| {{#if: {{#titleparts:{{#if:Wikipedia:Administrators' noticeboard/Arbitration enforcement/Archive1|Wikipedia:Administrators' noticeboard/Arbitration enforcement/Archive1|Template:FULLBASEPAGENAME/doc}}|-1}} | {{#titleparts:{{#if:Wikipedia:Administrators' noticeboard/Arbitration enforcement/Archive1|Wikipedia:Administrators' noticeboard/Arbitration enforcement/Archive1|Template:FULLBASEPAGENAME/doc}}|-1}} | {{#if:Wikipedia:Administrators' noticeboard/Arbitration enforcement/Archive1|Wikipedia:Administrators' noticeboard/Arbitration enforcement/Archive1|Template:FULLBASEPAGENAME/doc}} }} | {{#if:Wikipedia:Administrators' noticeboard/Arbitration enforcement/Archive1|Wikipedia:Administrators' noticeboard/Arbitration enforcement/Archive1|Template:FULLBASEPAGENAME/doc}}
}}
In namespaces with subpages disabled it will return the full page name:
- {{{{#if:|subst:}}FULLBASEPAGENAME{{#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:| |... }}}} → {{#if: Template:Is subpage namespace
| {{#if: {{#titleparts:{{#if:List of 28 Days/Weeks Later characters|List of 28 Days/Weeks Later characters|Template:FULLBASEPAGENAME/doc}}|-1}} | {{#titleparts:{{#if:List of 28 Days/Weeks Later characters|List of 28 Days/Weeks Later characters|Template:FULLBASEPAGENAME/doc}}|-1}} | {{#if:List of 28 Days/Weeks Later characters|List of 28 Days/Weeks Later characters|Template:FULLBASEPAGENAME/doc}} }} | {{#if:List of 28 Days/Weeks Later characters|List of 28 Days/Weeks Later characters|Template:FULLBASEPAGENAME/doc}}
}}
See also