Template:FULLROOTPAGENAME

维基教科书,自由的教学读本
跳到导航 跳到搜索

Template:FULLROOTPAGENAME

Documentation icon 模板文档[查看] [编辑] [页面历史] [清除]

Template:High-use

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模板数据

A meta template that takes a page name and returns its root page name (including namespace).

模板参数

参数说明类型状态
Page name1

The input page name. If omitted or empty, the current page name will be used

页面名可选