Template:FULLROOTPAGENAME: Difference between revisions

From Campaigns
Jump to navigation Jump to search
m top: migration to {{#translation:}}, replaced: {{translation}} → {{#translation:}}
m 1 revision imported
(No difference)

Revision as of 20:44, 3 November 2021

Template:FULLROOTPAGENAME

Template documentation


Get the namespace and the root of the page name.

Usage

  • → Template:FULLROOTPAGENAME
  • → Template:1x
  • → wikipedia:Administrators' noticeboard

In namespaces with subpages disabled, it will return the full page name:

  • → List of 28 Days

Note that this template can be substituted.

TemplateData

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

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Page name1

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

Page nameoptional

See also

[[Category:Templates{{#translation:}}]]