模板:ROOTPAGENAME/doc
外觀
此頁面是Template: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
[編輯]