Template:ROOTPAGENAME

维基百科,自由的百科全书
跳到导航 跳到搜索

ROOTPAGENAME

文档图示 模板文档[查看] [编辑] [历史] [清除缓存]

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[编辑]

  • {{ROOTPAGENAME}} → ROOTPAGENAME
  • {{ROOTPAGENAME|}} → ROOTPAGENAME
  • {{ROOTPAGENAME|Wikipedia:Administrators' noticeboard/Arbitration enforcement/Archive1}} → Administrators' noticeboard
  • {{ROOTPAGENAME|List of 28 Days/Weeks Later characters}} → List of 28 Days/Weeks Later characters

See also[编辑]