Template:FULLROOTPAGENAME/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
Line 5: Line 5:


=== Usage ===
=== Usage ===
* {{tlx|FULLROOTPAGENAME}} → {{FULLROOTPAGENAME}}
* {{tl2|FULLROOTPAGENAME}} → {{FULLROOTPAGENAME}}
* {{tlx|FULLROOTPAGENAME|Template:1x/sandbox}} → {{FULLROOTPAGENAME|Template:1x/sandbox}}
* {{tl2|FULLROOTPAGENAME|Template:1x/sandbox}} → {{FULLROOTPAGENAME|Template:1x/sandbox}}
* {{tlx|FULLROOTPAGENAME|Wikipedia:Administrators' noticeboard/Arbitration enforcement/Archive1}} → {{FULLROOTPAGENAME|Wikipedia:Administrators' noticeboard/Arbitration enforcement/Archive1}}


In namespaces with subpages disabled, it will return the full page name:
In namespaces with subpages disabled, it will return the full page name:
* {{tlx|FULLROOTPAGENAME|List of 28 Days/Weeks Later characters}} → {{FULLROOTPAGENAME|List of 28 Days/Weeks Later characters}}
* {{tl2|FULLROOTPAGENAME|List of 28 Days/Weeks Later characters}} → {{FULLROOTPAGENAME|List of 28 Days/Weeks Later characters}}


Note that this template can be substituted.
Note that this template can be substituted.

Latest revision as of 20:07, 12 June 2023

Edit-copy.png
This is a documentation subpage for Template:FULLROOTPAGENAME.
Don't forget to purge the contents of the base page upon creating or editing this subpage.

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

In namespaces with subpages disabled, it will return the full page name:

  • {{FULLROOTPAGENAME|List of 28 Days/Weeks Later characters}} → List of 28 Days/Weeks Later characters

Note that this template can be substituted.

See also