Template:FULLROOTPAGENAME
来自Valve Developer Community
跳转到导航
跳转到搜索
Template:FULLROOTPAGENAME

文档页面 Template:FULLROOTPAGENAME/doc/zh 不存在。
模板将改为显示英文文档。如果此消息后没有任何内容,则很可能该文档甚至不存在英文版本。
模板将改为显示英文文档。如果此消息后没有任何内容,则很可能该文档甚至不存在英文版本。
This template was ported from a template from Wikipedia. It was originally at Template:FULLROOTPAGENAME. The original authors of this template are shown on the template's edit history page.
This template's documentation was also ported from Wikipedia, originally from Template:FULLROOTPAGENAME/doc. The original authors of the documentation are shown on the documentation's edit history page.
Wikipedia's text is available under the Creative Commons Attribution-ShareAlike 3.0 Unported License.
This template's documentation was also ported from Wikipedia, originally from Template:FULLROOTPAGENAME/doc. The original authors of the documentation are shown on the documentation's edit history page.
Wikipedia's text is available under the Creative Commons Attribution-ShareAlike 3.0 Unported License.
Get the namespace and the root of the page name. It is similar to the template {{FULLBASEPAGENAME}}
, but returns the root of the page hierarchy instead of the parent.
Usage
- {{FULLROOTPAGENAME}} → Template:FULLROOTPAGENAME
- {{FULLROOTPAGENAME|Template:1x/sandbox}} → Template:1x
In namespaces with subpages disabled, it will return the full page name:
- {{FULLROOTPAGENAME|List of 28 Days/Weeks Later characters}} → List of 28 Days/Weeks Later characters
Note that this template can be substituted.