Difference between revisions of "Template:FULLROOTPAGENAME/doc"
m (Reverted edits by 86.151.147.234 (talk) to last revision by Sfgiants1995 (HG)) |
m (1 revision) |
(No difference)
|
Latest revision as of 14:39, 23 January 2013
This template is used on 1,300,000+ pages. To avoid large-scale disruption and unnecessary server load, any changes to this template should first be tested in the template's /sandbox or /testcases subpages, or in your own user space. The tested changes can then be added in one single edit to the template. Please consider discussing any changes on the talk page before implementing them. |
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
-
{{FULLROOTPAGENAME}}
→ Template:FULLROOTPAGENAME -
{{FULLROOTPAGENAME|}}
→ Template:FULLROOTPAGENAME -
{{FULLROOTPAGENAME|Wikipedia:Administrators' noticeboard/Arbitration enforcement/Archive1}}
→ Wikipedia:Administrators' noticeboard/Arbitration enforcement/Archive1 -
{{FULLROOTPAGENAME|List of 28 Days/Weeks Later characters}}
→ List of 28 Days/Weeks Later characters
See also