Template:FULLROOTPAGENAME/doc: Difference between revisions
Jump to navigation
Jump to search
m 1 revision imported |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Documentation subpage}} | <noinclude>{{Documentation subpage}}</noinclude> | ||
<!-- Please add categories at the bottom of this page, and interwikis at Wikidata (see Wikipedia:Wikidata) --> | <!-- Please add categories at the bottom of this page, and interwikis at Wikidata (see Wikipedia:Wikidata) --> | ||
Line 15: | Line 15: | ||
== TemplateData == | == TemplateData == | ||
<templatedata>{ | <templatedata>{ | ||
"description": "A meta template that takes a page name and returns its root page name (including namespace).", | "description": "A meta template that takes a page name and returns its root page name (including namespace).", | ||
Line 29: | Line 28: | ||
== See also == | == See also == | ||
* [[Help:Magic words#Page names]] | * [[mw:Help:Magic words#Page names]] | ||
<includeonly>{{sandbox other|| | <includeonly>{{sandbox other|| |
Latest revision as of 04:05, 15 February 2022
This is a documentation subpage for Template:FULLROOTPAGENAME. It contains usage information, categories and other content that is not part of the original Template page. |
Get the namespace and the root of the page name.
Usage
- → Template:FULLROOTPAGENAME
- → Template:1x
- → wikipedia:Administrators' noticeboard
In namespaces with subpages disabled, it will return the full page name:
- → List of 28 Days
Note that this template can be substituted.
TemplateData
A meta template that takes a page name and returns its root page name (including namespace).
Parameter | Description | Type | Status | |
---|---|---|---|---|
Page name | 1 | The input page name. If omitted or empty, the current page name will be used | Page name | optional |
See also