Plantilla:FULLROOTPAGENAME
Apariencia
Plantilla:FULLROOTPAGENAME
This template is used on 1 650 000+ pages, or roughly 19638% of all pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. Tranclusion count updated automatically (see documentation). |
This plantilla is used in system messages. Changes to it can cause immediate changes to the Wikipedia user interface. To avoid large-scale disruption, any changes should first be tested in this plantilla's /sandbox or /testcases subpage, or in your own user space. The tested changes can then be added in one single edit to this plantilla. Please discuss any changes on the talk page before implementing them. |
Get the namespace and the root of the page name. It is similar to the template {{FULLBASEPAGENAME}}, but returns the root of the page hierarchy instead of the parent.
Usage
[revisa codigo]- {{FULLROOTPAGENAME}} → Plantilla:FULLROOTPAGENAME
- {{FULLROOTPAGENAME|Template:1x/sandbox}} → Plantilla:1x
- {{FULLROOTPAGENAME|Wikipedia:Administrators' noticeboard/Arbitration enforcement/Archive1}} → Wikipedia:Administrators' noticeboard
In namespaces with subpages disabled, it will return the full page name:
- {{FULLROOTPAGENAME|List of 28 Days/Weeks Later characters}} → List of 28 Days
Note that this template can be substituted.
TemplateData
[revisa codigo]This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.
TemplateData for FULLROOTPAGENAME
A meta template that takes a page name and returns its root page name (including namespace).
Parámetro | Descripción | Tipo | Estado | |
---|---|---|---|---|
Page name | 1 | The input page name. If omitted or empty, the current page name will be used | Nombre de página | opcional |
See also
[revisa codigo]The above documentation is transcluded from Plantilla:FULLROOTPAGENAME/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |