සැකිල්ල:ROOTPAGENAME/ලේඛය

විකිපීඩියා වෙතින්


Get the root page name of a page. It is similar to the magic word {{BASEPAGENAME}}, but returns the root of the page hierarchy instead of the parent.

Usage[සංස්කරණය]

  • {{ROOTPAGENAME}} → ROOTPAGENAME
  • {{ROOTPAGENAME|Template:1x/sandbox}} → 1x
  • {{ROOTPAGENAME|Wikipedia:Administrators' noticeboard/Arbitration enforcement/Archive1}} → Administrators' noticeboard

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

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

Note that this template can be substituted.

See also[සංස්කරණය]


"https://si.wikipedia.org/w/index.php?title=සැකිල්ල:ROOTPAGENAME/ලේඛය&oldid=476810" වෙතින් සම්ප්‍රවේශනය කෙරිණි