Templat:FULLROOTPAGENAME/doc
Penampilan
| Ini ialah sublaman pendokumenan bagi Templat:FULLROOTPAGENAME. Ia mengandungi maklumat penggunaan, kategori dan bahan-bahan lain yang tidak termasuk dalam laman templat templat page. |
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
[sunting]- {{FULLROOTPAGENAME}} → Templat:FULLROOTPAGENAME
- {{FULLROOTPAGENAME|}} → Templat:FULLROOTPAGENAME
- {{FULLROOTPAGENAME|Commons:Administrators' noticeboard/Archive1}} → commons:Administrators' noticeboard
- {{FULLROOTPAGENAME|List of 28 Days/Weeks Later characters}} → List of 28 Days
See also
[sunting]- mw:Help:Magic words#Page names
- {{ROOTPAGENAME}}now a magic word