Template:FULLROOTPAGENAME/doc
跳到导航
跳到搜索
Edit-copy green.svg | 本文档是Template:FULLROOTPAGENAME的文档子页面 (见模板页自身)。 本页包含用法信息、分类和其他非原模板页面的内容。 |
Get the full root page name of the current or the given page. It is similar to the template {{FULLBASEPAGENAME}}, but returns the root of the page hierarchy instead of the parent. In namespaces with no subpages, it will return either the given pagename or {{FULLPAGENAME}}.
This template can be substituted.
用途[编辑]
- {{FULLROOTPAGENAME}} → Template:FULLROOTPAGENAME
- {{FULLROOTPAGENAME|}} → Template:FULLROOTPAGENAME
- {{FULLROOTPAGENAME|Wikipedia:Administrators' noticeboard/Arbitration enforcement/Archive1}} → wikipedia:Administrators' noticeboard
- {{FULLROOTPAGENAME|List of 28 Days/Weeks Later characters}} → List of 28 Days
參見[编辑]
模板資料[编辑]
A meta template that takes a page name and returns its root page name (including namespace).
参数 | 说明 | 类型 | 状态 | |
---|---|---|---|---|
Page name | 1 | The input page name. If omitted or empty, the current page name will be used | 页面名 | 可选 |