Changes
Jump to navigation
Jump to search
m
Protected "Template:FULLROOTPAGENAME/doc": Persistent vandalism ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require autoconfirmed or confirmed access] (indefinite))
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
{{high-risk| 770,000+ }}
Get the full root page name of the current or the given page. It is similar to the template {{tl|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 <nowiki>{{</nowiki>[[WP:VAR|FULLPAGENAME]]<nowiki>}}</nowiki>.
This template can be substituted.
=== Usage ===
* {{tlx|FULLROOTPAGENAME}} → {{FULLROOTPAGENAME}}
* {{tlx|FULLROOTPAGENAME|<nowiki></nowiki>}} → {{FULLROOTPAGENAME|}}
* {{tlx|FULLROOTPAGENAME|Wikipedia talk:Administrators' noticeboard/Arbitration enforcement/Archive1}} → {{FULLROOTPAGENAME|Wikipedia talk:Administrators' noticeboard/Arbitration enforcement/Archive1}}
* {{tlx|FULLROOTPAGENAME|List of 28 Days/Weeks Later characters}} → {{FULLROOTPAGENAME|List of 28 Days/Weeks Later characters}}
== See also ==
* [[mw:Help:Magic words#Page names]]
* {{tl|FULLBASEPAGENAME}}
* {{tl|ROOTPAGENAME}}
==Template data==
{{TemplateDataHeader}}
<templatedata>{
"description": "A meta template that takes a page name and returns its root page name (including namespace).",
"params": {
"1": {
"label": "Page name",
"description": "The input page name. If omitted or empty, the current page name will be used",
"type": "string/wiki-page-name",
"required": false
}
}
}</templatedata>
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Wikipedia metatemplates|{{PAGENAME}}]]
</includeonly>
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
{{high-risk| 770,000+ }}
Get the full root page name of the current or the given page. It is similar to the template {{tl|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 <nowiki>{{</nowiki>[[WP:VAR|FULLPAGENAME]]<nowiki>}}</nowiki>.
This template can be substituted.
=== Usage ===
* {{tlx|FULLROOTPAGENAME}} → {{FULLROOTPAGENAME}}
* {{tlx|FULLROOTPAGENAME|<nowiki></nowiki>}} → {{FULLROOTPAGENAME|}}
* {{tlx|FULLROOTPAGENAME|Wikipedia talk:Administrators' noticeboard/Arbitration enforcement/Archive1}} → {{FULLROOTPAGENAME|Wikipedia talk:Administrators' noticeboard/Arbitration enforcement/Archive1}}
* {{tlx|FULLROOTPAGENAME|List of 28 Days/Weeks Later characters}} → {{FULLROOTPAGENAME|List of 28 Days/Weeks Later characters}}
== See also ==
* [[mw:Help:Magic words#Page names]]
* {{tl|FULLBASEPAGENAME}}
* {{tl|ROOTPAGENAME}}
==Template data==
{{TemplateDataHeader}}
<templatedata>{
"description": "A meta template that takes a page name and returns its root page name (including namespace).",
"params": {
"1": {
"label": "Page name",
"description": "The input page name. If omitted or empty, the current page name will be used",
"type": "string/wiki-page-name",
"required": false
}
}
}</templatedata>
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Wikipedia metatemplates|{{PAGENAME}}]]
</includeonly>