Jump to content

Template:FULLPAGENAME-translation

From Meta, a Wikimedia project coordination wiki
Template documentation


This template returns the last non-language-tag full page name ({{FULLPAGENAME}}).

On translatable or translated pages (base pages where the Translate extension is activated) it returns the magic word {{FULLPAGENAME}}. Will also work on pages were extension is not active.

Usage

[edit]
{{FULLPAGENAME-translation}}

Can also be used to retrieve {{PAGENAME}} by using {{PAGENAME-translation}} or:

{{FULLPAGENAME-translation|{{PAGENAME}}}}

Examples

[edit]
  • On "Example/Page" it will return "Example/Page"
  • On "Example/Page/fi" it will return "Example/Page"

Templatedata

[edit]

This template returns the last non-language-tag full page name ({{FULLPAGENAME}}).

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Variablevariable 1

no description

Suggested values
{{FULLPAGENAME}} {{PAGENAME}}
Default
{{FULLPAGENAME}}
Stringoptional

See also

[edit]