Template:Pageid to title
Appearance
Template:Pageid to title
File:Test Template Info-Icon - Version (2).svg Template documentation[view] [edit] [history] [purge]
| File:Lua-Logo.svg | This template uses Lua: |
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]] |