Changes

Jump to: navigation, search

Template:ROOTPAGENAME/doc

1,130 bytes added, 14:43, 23 September 2011
no edit summary
{{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 the magic word <nowiki>{{BASEPAGENAME}}</nowiki>, but returns the root of the page hierarchy instead of the parent.

This template can be substituted.

=== Usage ===
* {{tlx|ROOTPAGENAME}} &rarr; {{ROOTPAGENAME}}
* {{tlx|ROOTPAGENAME|<nowiki></nowiki>}} &rarr; {{ROOTPAGENAME|}}
* {{tlx|ROOTPAGENAME|Wikipedia:Administrators' noticeboard/Arbitration enforcement/Archive1}} &rarr; {{ROOTPAGENAME|Wikipedia:Administrators' noticeboard/Arbitration enforcement/Archive1}}
* {{tlx|ROOTPAGENAME|List of 28 Days/Weeks Later characters}} &rarr; {{ROOTPAGENAME|List of 28 Days/Weeks Later characters}}

== See also ==
* [[mw:Help:Magic words#Page names]]
* {{tl|FULLBASEPAGENAME}}
* {{tl|FULLROOTPAGENAME}}

<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Wikipedia metatemplates|{{PAGENAME}}]]

[[as:সাঁচ:ROOTPAGENAME]]
[[hy:Կաղապար:ROOTPAGENAME]]
[[mk:Шаблон:ROOTPAGENAME]]
[[ja:Template:ROOTPAGENAME]]
</includeonly>
Anonymous user

Navigation menu