Template:ROOTPAGENAME/doc: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> Get the root page name of the current or the given page. It is similar to t...") |
mNo edit summary |
||
Line 22: | Line 22: | ||
</includeonly> | </includeonly> | ||
[[Category:Templates]] |
Latest revision as of 21:32, 14 December 2012
This is a documentation subpage for Template:ROOTPAGENAME (see that page for the template itself). It contains usage information, categories and other content that is not part of the original template page. |
Get the root page name of the current or the given page. It is similar to the magic word {{BASEPAGENAME}}, but returns the root of the page hierarchy instead of the parent.
This template can be substituted.
Usage[edit source]
{{ROOTPAGENAME}}
→ ROOTPAGENAME{{ROOTPAGENAME|}}
→{{ROOTPAGENAME|Wikipedia:Administrators' noticeboard/Arbitration enforcement/Archive1}}
→{{ROOTPAGENAME|List of 28 Days/Weeks Later characters}}
→