模板:FULLROOTPAGENAME
Template:FULLROOTPAGENAME
package.lua第80行Lua错误:module 'Module:Transclusion_count/data/F' not found
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 | 页面名称 | 可选 |
上述文档嵌入自Template:FULLROOTPAGENAME/doc。 (编辑 | 历史) 编者可以在本模板的沙盒 (创建 | 镜像)和测试样例 (创建)页面进行实验。 请在/doc子页面中添加分类。 本模板的子页面。 |