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
上述文档嵌入自Template:ROOTPAGENAME/doc。 (编辑 | 历史) 编者可以在本模板的沙盒 (创建 | 镜像)和测试样例 (创建)页面进行实验。 请在/doc子页面中添加分类。本模板的子页面。 |