Template:FULLROOTPAGENAME/doc

From blackwiki
< Template:FULLROOTPAGENAME
Revision as of 05:29, 16 August 2016 by 107.77.211.198 (talk) (5 golden rings)
Jump to navigation Jump to search


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. Usage ===

  • {{[[Template:|]]}} → Template:FULLROOTPAGENAME
  • {{tlx||<nowise></nowik; {{| 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