Template:FULLROOTPAGENAME

Jump to navigation Jump to search

Template:FULLROOTPAGENAME

Template documentation[view] [edit] [history] [purge]

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[edit source]

  • {{FULLROOTPAGENAME}} → Template:FULLROOTPAGENAME
  • {{FULLROOTPAGENAME|}} → Template:FULLROOTPAGENAME
  • {{FULLROOTPAGENAME|Starfleet talk:Administrators' noticeboard/Arbitration enforcement/Archive1}} → Starfleet talk:Administrators' noticeboard
  • {{FULLROOTPAGENAME|List of 28 Days/Weeks Later characters}} → List of 28 Days

See also[edit source]

External links[edit source]

 

Template data[edit source]

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly error report for this template.

TemplateData for FULLROOTPAGENAME

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

Template parameters

ParameterDescriptionTypeStatus
Page name1

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

Pageoptional