Template:Pageid to title/doc

Template page

Returns the title (including namespace) of a page specified by its Page ID. Unlike the title, the Page ID does not change when a page is moved, which makes it a stable reference.

Usage

{{Pageid to title|Page ID}}

Examples

Markup Renders as
{{Pageid to title|21304840}}

Error: mw.title.new(21304840) failed

[[{{Pageid to title|21304840}}]]

[[Error: mw.title.new(21304840) failed]]

See also